ArgumentsWriter Methods |
The ArgumentsWriter type exposes the following members.
Name | Description | |
---|---|---|
Clone() |
Clones the current ArgumentsWriter.
| |
Clone(Boolean) |
Clones the current ArgumentsWriter and specifies whether the clone should be reset.
| |
EmitCreateArguments |
Emits instructions that create a new Arguments object based on a given MethodMappingWriter
and stores it in a local variable.
| |
EmitLoadArgument |
Emits instructions that load a given argument on the stack.
| |
EmitLoadArgumentAddress |
Emits instructions that load the address of a given argument on the stack.
| |
EmitLoadArguments |
Emits instructions that load the Arguments object on the stack.
| |
EmitRestoreOutputArguments |
Emits instructions that load the values of all the out and ref arguments from the an Arguments object
and store these values into the corresponding method parameters using methodMappingWriter.
| |
EmitStoreArgument(Int32, MethodMappingWriter, InstructionWriter) |
Emits instructions that load the value of an index-th argument using a MethodMappingWriter and store this
value into the Arguments object.
| |
EmitStoreArgument(Int32, InstructionWriter, Action<InstructionWriter>) |
Emits instructions that store a value, loaded on the stack by the instructions emitted by a given delegate, into the Arguments
object under the given index.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetArgumentsWriter(IMethodSignature) | ||
GetArgumentsWriter(MethodMapping, IMethodSignature) |
Gets an ArgumentsWriter able to build an Arguments object for a given method signature.
| |
GetArgumentsWriter(IMethodSignature, Int32, Int32) | ||
GetArgumentsWriter(MethodMapping, Int32, Int32) | ||
GetArgumentsWriter(ILocalStorageProvider, IMethodSignature, Int32, Int32) |
Gets an ArgumentsWriter able to build an Arguments object for a given method signature, and allows to
ignore the first and last parameters of this signature.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Reset |
Resets any stateful information of the current ArgumentsWriter.
| |
SetLoadArgumentsAction |
Instructs the current ArgumentsWriter how the Arguments object can be loaded.
| |
SetLoadArgumentsFromVariable |
Instructs the current ArgumentsWriter that the Arguments object is stored in
a given local variable.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |