C# 클래스 Hiro.ILProcessorExtensions

A class that extends the ILProcessor class with helper methods that make it easier to save information about the method currently being implemented.
파일 보기 프로젝트 열기: philiplaureano/Hiro

공개 메소드들

메소드 설명
EmitWriteLine ( this IL, string text ) : void

Emits a Console.WriteLine call using the current ILProcessor.

EmitWriteLineIfNull ( this IL, string text, Mono.Cecil.Cil.VariableDefinition targetVariable ) : void

Emits a Console.WriteLine call to using the current ILProcessor that will only be called if the contents of the target variable are null at runtime.

메소드 상세

EmitWriteLine() 공개 정적인 메소드

Emits a Console.WriteLine call using the current ILProcessor.
public static EmitWriteLine ( this IL, string text ) : void
IL this The target ILProcessor.
text string The text that will be written to the console.
리턴 void

EmitWriteLineIfNull() 공개 정적인 메소드

Emits a Console.WriteLine call to using the current ILProcessor that will only be called if the contents of the target variable are null at runtime.
public static EmitWriteLineIfNull ( this IL, string text, Mono.Cecil.Cil.VariableDefinition targetVariable ) : void
IL this The target ILProcessor.
text string The text that will be written to the console.
targetVariable Mono.Cecil.Cil.VariableDefinition The target variable that will be checked for null at runtime.
리턴 void