C# Class LinFu.AOP.Cecil.InvocationInfoEmitter

Inheritance: IEmitInvocationInfo
显示文件 Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
Emit ( Mono.Cecil.MethodDefinition targetMethod, MethodReference interceptedMethod, Mono.Cecil.Cil.VariableDefinition invocationInfo ) : void

Emits the IL to save information about the method currently being executed.

InvocationInfoEmitter ( bool pushStackTrace ) : System

Initializes a new instance of the InvocationInfoEmitter class.

Private Methods

Method Description
InvocationInfoEmitter ( ) : System

Method Details

Emit() public method

Emits the IL to save information about the method currently being executed.
public Emit ( Mono.Cecil.MethodDefinition targetMethod, MethodReference interceptedMethod, Mono.Cecil.Cil.VariableDefinition invocationInfo ) : void
targetMethod Mono.Cecil.MethodDefinition The target method currently being executed.
interceptedMethod Mono.Cecil.MethodReference The method that will be passed to the as the currently executing method.
invocationInfo Mono.Cecil.Cil.VariableDefinition The local variable that will store the resulting instance.
return void

InvocationInfoEmitter() public method

Initializes a new instance of the InvocationInfoEmitter class.
public InvocationInfoEmitter ( bool pushStackTrace ) : System
pushStackTrace bool Determines whether or not stack trace information will be available at runtime.
return System