메소드 | 설명 | |
---|---|---|
EmitWriteLine ( this IL, string text ) : void |
Emits a Console.WriteLine call using the current CilWorker.
|
|
EmitWriteLineIfNull ( this IL, string text, Mono.Cecil.Cil.VariableDefinition targetVariable ) : void |
Emits a Console.WriteLine call to using the current CilWorker that will only be called if the contents of the target variable are null at runtime.
|
|
GetDeclaringType ( this method ) : |
Gets the declaring type for the target method.
|
|
GetMethod ( this IL ) : Mono.Cecil.MethodDefinition |
Obtains the method definition that contains the current CilWorker.
|
|
GetModule ( this IL ) : Mono.Cecil.ModuleDefinition |
Obtains the module that contains the current CilWorker.
|
|
PackageReturnValue ( this IL, Mono.Cecil.ModuleDefinition module, |
Converts the return value of a method into the
|
|
PushArguments ( this IL, IMethodSignature method, Mono.Cecil.ModuleDefinition module, Mono.Cecil.Cil.VariableDefinition arguments ) : void |
Pushes the arguments of a method onto the stack.
|
|
PushField ( this IL, |
Pushes the current field onto the stack.
|
|
PushGenericArguments ( this IL, IGenericParameterProvider method, Mono.Cecil.ModuleDefinition module, Mono.Cecil.Cil.VariableDefinition typeArguments ) : void |
Saves the generic type arguments that were used to construct the method.
|
|
PushMethod ( this IL, |
Pushes the current method onto the stack.
|
|
PushStackTrace ( this IL, Mono.Cecil.ModuleDefinition module ) : void |
Pushes the stack trace of the currently executing method onto the stack.
|
|
PushType ( this IL, |
Pushes a Type instance onto the stack.
|
|
SaveParameterTypes ( this IL, |
Saves the current method signature of a method into an array of System.Type objects. This can be used to determine the signature of methods with generic type parameters or methods that have parameters that are generic parameters specified by the type itself.
|
|
Stind ( this IL, |
Emits the proper Stind (store indirect) IL instruction for the currentType.
|
메소드 | 설명 | |
---|---|---|
CilWorkerExtensions ( ) : System | ||
GetDeclaringType ( |
Obtains the declaring type for a given type reference.
|
|
PushParameter ( this IL, int index, Mono.Cecil.Cil.VariableDefinition arguments, Mono.Cecil.ParameterDefinition param ) : void |
Stores the
|
public static EmitWriteLine ( this IL, string text ) : void | ||
IL | this | The target CilWorker. |
text | string | The text that will be written to the console. |
리턴 | void |
public static EmitWriteLineIfNull ( this IL, string text, Mono.Cecil.Cil.VariableDefinition targetVariable ) : void | ||
IL | this | The target CilWorker. |
text | string | The text that will be written to the console. |
targetVariable | Mono.Cecil.Cil.VariableDefinition | The target variable that will be checked for null at runtime. |
리턴 | void |
public static GetDeclaringType ( this method ) : |
||
method | this | The target method. |
리턴 |
public static GetMethod ( this IL ) : Mono.Cecil.MethodDefinition | ||
IL | this | The |
리턴 | Mono.Cecil.MethodDefinition |
public static GetModule ( this IL ) : Mono.Cecil.ModuleDefinition | ||
IL | this | The |
리턴 | Mono.Cecil.ModuleDefinition |
public static PackageReturnValue ( this IL, Mono.Cecil.ModuleDefinition module, |
||
IL | this | The |
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
returnType | The method return type itself. | |
리턴 | void |
public static PushArguments ( this IL, IMethodSignature method, Mono.Cecil.ModuleDefinition module, Mono.Cecil.Cil.VariableDefinition arguments ) : void | ||
IL | this | The |
method | IMethodSignature | The target method. |
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
arguments | Mono.Cecil.Cil.VariableDefinition | The |
리턴 | void |
public static PushField ( this IL, |
||
IL | this | The |
field | The field that represents the |
|
module | Mono.Cecil.ModuleDefinition | The module that contains the target field. |
리턴 | void |
public static PushGenericArguments ( this IL, IGenericParameterProvider method, Mono.Cecil.ModuleDefinition module, Mono.Cecil.Cil.VariableDefinition typeArguments ) : void | ||
IL | this | The |
method | IGenericParameterProvider | The target method whose generic type arguments (if any) will be saved into the |
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
typeArguments | Mono.Cecil.Cil.VariableDefinition | The local variable that will store the resulting array of |
리턴 | void |
public static PushMethod ( this IL, |
||
IL | this | The |
method | The method that represents the |
|
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
리턴 | void |
public static PushStackTrace ( this IL, Mono.Cecil.ModuleDefinition module ) : void | ||
IL | this | The |
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
리턴 | void |
public static PushType ( this IL, |
||
IL | this | The |
type | The type that represents the |
|
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
리턴 | void |
public static SaveParameterTypes ( this IL, |
||
IL | this | The |
method | The target method whose generic type arguments (if any) will be saved into the local variable . | |
module | Mono.Cecil.ModuleDefinition | The module that contains the host method. |
parameterTypes | Mono.Cecil.Cil.VariableDefinition | The local variable that will store the current method signature. |
리턴 | void |
public static Stind ( this IL, |
||
IL | this | The target |
currentType | The type of data being stored. | |
리턴 | void |