C# Class LinFu.AOP.Cecil.AddOriginalInstructions

Represents an instruction emitter that adds the original method instructions to a given method body.
Inheritance: IInstructionEmitter
ファイルを表示 Open project: philiplaureano/LinFu Class Usage Examples

Public Methods

Method Description
AddOriginalInstructions ( IEnumerable oldInstructions, Instruction endLabel ) : System.Collections.Generic

Initializes a new instance of the AddOriginalInstructions class.

Emit ( Mono.Cecil.Cil.CilWorker IL ) : void

Adds the original instructions to a given method body.

Method Details

AddOriginalInstructions() public method

Initializes a new instance of the AddOriginalInstructions class.
public AddOriginalInstructions ( IEnumerable oldInstructions, Instruction endLabel ) : System.Collections.Generic
oldInstructions IEnumerable The original method instructions.
endLabel Mono.Cecil.Cil.Instruction The instruction label that marks the end of the method body.
return System.Collections.Generic

Emit() public method

Adds the original instructions to a given method body.
public Emit ( Mono.Cecil.Cil.CilWorker IL ) : void
IL Mono.Cecil.Cil.CilWorker The responsible for the target method body.
return void