Method | Description | |
---|---|---|
Inject ( ) : void |
Modifies the injecting method so it looks like:
|
|
MethodAspectInjector ( Mono.Cecil.MethodDefinition method, |
Method | Description | |
---|---|---|
AddCatchBlock ( |
||
AddFinallyBlock ( |
||
BuildCheckExecFlow ( |
||
BuildOnExceptionCall ( ) : Collection |
||
BuildOnExitCall ( ) : Collection |
||
CallOnEntry ( int offset ) : void | ||
CallOnSuccess ( int offset ) : Collection |
||
FindFirstInstruction ( ) : |
For regular methods the 1st instruction is really the 1st one. But for instance constructors the 1st instruction goes after calling base or overloaded contructurs.
|
|
InitMethodExecInfoVar ( ) : void | ||
MakeOneReturn ( ) : void |
Substitute multiple returns in a method with one return instruction at the end
|
public MethodAspectInjector ( Mono.Cecil.MethodDefinition method, |
||
method | Mono.Cecil.MethodDefinition | |
aspectStaticField | ||
methodStaticField | ||
return | System |