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

Represents an extension class that adds helper methods to the MethodDefinition type.
Mostrar archivo Open project: philiplaureano/LinFu

Public Methods

Method Description
AddLocal ( this methodDef, Type localType ) : Mono.Cecil.Cil.VariableDefinition

Adds a local variable to the given method.

Method Details

AddLocal() public static method

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.
return Mono.Cecil.Cil.VariableDefinition