C# Class LinFu.AOP.Cecil.AddOriginalInstructions

Represents an instruction emitter that adds the original method instructions to a given method body.
Inheritance: IInstructionEmitter
Afficher le fichier Open project: philiplaureano/LinFu Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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.
Résultat System.Collections.Generic

Emit() public méthode

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.
Résultat void