Method | Description | |
---|---|---|
InterceptMethodBody ( bool>.Func |
Initializes a new instance of the InterceptMethodBody class.
|
Method | Description | |
---|---|---|
RewriteMethodBody ( Mono.Cecil.MethodDefinition method, Mono.Cecil.Cil.CilWorker IL, IEnumerable |
Rewrites the instructions in the target method body.
|
|
ShouldRewrite ( Mono.Cecil.MethodDefinition targetMethod ) : bool |
Determines whether or not the given method should be modified.
|
Method | Description | |
---|---|---|
AddOriginalInstructions ( Mono.Cecil.Cil.CilWorker IL, IEnumerable |
||
IsExcluded ( Mono.Cecil.MethodDefinition method ) : bool |
public InterceptMethodBody ( bool>.Func |
||
methodFilter | bool>.Func | The method filter that will determine the methods with the method bodies that will be intercepted. |
return | System |
protected RewriteMethodBody ( Mono.Cecil.MethodDefinition method, Mono.Cecil.Cil.CilWorker IL, IEnumerable |
||
method | Mono.Cecil.MethodDefinition | The target method. |
IL | Mono.Cecil.Cil.CilWorker | The |
oldInstructions | IEnumerable |
The IL instructions of the original method body. |
return | void |
protected ShouldRewrite ( Mono.Cecil.MethodDefinition targetMethod ) : bool | ||
targetMethod | Mono.Cecil.MethodDefinition | The target method. |
return | bool |