C# Class LinFu.AOP.Cecil.Extensions.MethodDefinitionExtensions

Represents an extension class that adds helper methods to the MethodDefinition type.
Afficher le fichier Open project: philiplaureano/LinFu

Méthodes publiques

Méthode Description
AddLocal ( this methodDef, Type localType ) : Mono.Cecil.Cil.VariableDefinition

Adds a local variable to the given method.

Method Details

AddLocal() public static méthode

Adds a local variable to the given method.
public static AddLocal ( this methodDef, Type localType ) : Mono.Cecil.Cil.VariableDefinition
methodDef this The target method.
localType System.Type The variable type.
Résultat Mono.Cecil.Cil.VariableDefinition