Method | Description | |
---|---|---|
AddAdditionalMembers ( Mono.Cecil.TypeDefinition host ) : void |
Adds additional members to the target type.
|
|
ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void |
Imports additional references into the given module.
|
|
MethodWeaver ( IMethodRewriter rewriter, bool>.Func |
Initializes a new instance of the MethodWeaver class.
|
|
MethodWeaver ( IMethodRewriter rewriter, IInstructionProvider instructionProvider, bool>.Func |
Initializes a new instance of the MethodWeaver class.
|
|
ShouldWeave ( Mono.Cecil.MethodDefinition item ) : bool |
Determines whether or not a method should be modified.
|
|
Weave ( Mono.Cecil.MethodDefinition method ) : void |
Modifies a target method.
|
Method | Description | |
---|---|---|
Rewrite ( Mono.Cecil.MethodDefinition method ) : void |
Rewrites an existing method.
|
public AddAdditionalMembers ( Mono.Cecil.TypeDefinition host ) : void | ||
host | Mono.Cecil.TypeDefinition | The target type to be modified. |
return | void |
public ImportReferences ( Mono.Cecil.ModuleDefinition module ) : void | ||
module | Mono.Cecil.ModuleDefinition | The module that will store the additional references. |
return | void |
public MethodWeaver ( IMethodRewriter rewriter, bool>.Func |
||
rewriter | IMethodRewriter | The |
filter | bool>.Func | The filter that determines which methods should be modified. |
return | System |
public MethodWeaver ( IMethodRewriter rewriter, IInstructionProvider instructionProvider, bool>.Func |
||
rewriter | IMethodRewriter | The |
instructionProvider | IInstructionProvider | The provider that will obtain the original instructions for the target method. |
filter | bool>.Func | The filter that determines which methods should be modified. |
return | System |
public ShouldWeave ( Mono.Cecil.MethodDefinition item ) : bool | ||
item | Mono.Cecil.MethodDefinition | The target method. |
return | bool |
public Weave ( Mono.Cecil.MethodDefinition method ) : void | ||
method | Mono.Cecil.MethodDefinition | The target method. |
return | void |