C# 클래스 LinFu.AOP.Cecil.Extensions.MethodDefinitionExtensions

Represents an extension class that adds helper methods to the MethodDefinition type.
파일 보기 프로젝트 열기: philiplaureano/LinFu

공개 메소드들

메소드 설명
AddLocal ( this methodDef, Type localType ) : Mono.Cecil.Cil.VariableDefinition

Adds a local variable to the given method.

메소드 상세

AddLocal() 공개 정적인 메소드

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