Method | Description | |
---|---|---|
AddLocals ( Mono.Cecil.MethodDefinition hostMethod ) : void |
Adds local variables to the hostMethod.
|
|
ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void |
Adds additional references to the target module.
|
Method | Description | |
---|---|---|
RewriteMethodBody ( Mono.Cecil.MethodDefinition targetMethod, Mono.Cecil.Cil.CilWorker IL, IEnumerable |
Rewrites the instructions in the target method body to support dynamic exception handling.
|
Method | Description | |
---|---|---|
SaveExceptionInfo ( Mono.Cecil.MethodDefinition targetMethod, IEmitInvocationInfo emitter ) : void |
Saves the current IExceptionHandlerInfo instance.
|
public AddLocals ( Mono.Cecil.MethodDefinition hostMethod ) : void | ||
hostMethod | Mono.Cecil.MethodDefinition | The target method. |
return | void |
public ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void | ||
module | Mono.Cecil.ModuleDefinition | The host module. |
return | void |
protected RewriteMethodBody ( Mono.Cecil.MethodDefinition targetMethod, Mono.Cecil.Cil.CilWorker IL, IEnumerable |
||
targetMethod | Mono.Cecil.MethodDefinition | The target method. |
IL | Mono.Cecil.Cil.CilWorker | The |
oldInstructions | IEnumerable |
The IL instructions of the original method body. |
return | void |