C# 클래스 TriAxis.RunSharp.CodeGen

파일 보기 프로젝트 열기: AqlaSolutions/runsharp 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Complete void
EmitGetHelper void
EmitGetHelper_Conversion void
EmitGetHelper_Ref void
EnsureReturnVariable void
ICodeGenContext System.Reflection.Emit.ILGenerator
IDelayedCompletion void
IDelayedDefinition void
ISignatureGen IParameterBasicInfo
ISignatureGen System.Reflection.Emit.ParameterBuilder
LocalInitedFromStack ContextualOperand
LocalInitedFromStack ContextualOperand

공개 메소드들

메소드 설명
Arg ( int parameterIndex ) : ContextualOperand

ThisOffset is applied inside

Arg ( string name ) : ContextualOperand
Base ( ) : ContextualOperand
CodeGen ( ICodeGenContext context, bool isOwner = true ) : System
DefineLabel ( ) : Label
ForceResetUnreachableState ( ) : void
Goto ( Label label ) : void
Goto ( string labelName ) : void
Label ( string labelName ) : Label
Local ( ) : ContextualOperand
Local ( Operand init ) : ContextualOperand
Local ( System type ) : ContextualOperand
Local ( System type, Operand init ) : ContextualOperand
Local ( Type type ) : ContextualOperand
Local ( Type type, Operand init ) : ContextualOperand
MarkLabel ( Label label ) : void
PropertyValue ( ) : ContextualOperand
This ( ) : ContextualOperand
this ( string localName ) : Operand

보호된 메소드들

메소드 설명
EmitCallHelper ( MethodBase mth, Operand target ) : void
EmitConvHelper ( TypeCode to ) : void
EmitGetHelper ( Operand op, Type desiredType, bool allowExplicitConversion ) : void
EmitI4Helper ( int value ) : void
EmitI8Helper ( long value, bool signed ) : void
EmitLdargHelper ( ushort index ) : void
EmitLdelemHelper ( Type elementType ) : void
EmitLdindHelper ( Type type ) : void
EmitStargHelper ( ushort index ) : void
EmitStelemHelper ( Type elementType, Operand element, bool allowExplicitConversion ) : void
EmitStindHelper ( Type type, Operand value, bool allowExplicitConversion ) : void
GetStelemOpCode ( Type elementType ) : OpCode
GetStindOpCode ( Type type ) : OpCode
WrapExistingLocal ( LocalBuilder local ) : ContextualOperand

비공개 메소드들

메소드 설명
Complete ( ) : void
EmitGetHelper ( Operand op, Type desiredType, Conversion conv, Type from = null ) : void
EmitGetHelper_Conversion ( Operand op, Type desiredType, Conversion conv, Type from = null ) : void
EmitGetHelper_Ref ( Operand op, Type desiredType ) : void
EnsureReturnVariable ( ) : void
ICodeGenContext ( ) : ILGenerator
IDelayedCompletion ( ) : void
IDelayedDefinition ( ) : void
ISignatureGen ( string parameterName ) : IParameterBasicInfo
ISignatureGen ( int position, ParameterAttributes attributes, string parameterName ) : ParameterBuilder
LocalInitedFromStack ( System type ) : ContextualOperand
LocalInitedFromStack ( Type type ) : ContextualOperand

메소드 상세

Arg() 공개 메소드

ThisOffset is applied inside
public Arg ( int parameterIndex ) : ContextualOperand
parameterIndex int
리턴 ContextualOperand

Arg() 공개 메소드

public Arg ( string name ) : ContextualOperand
name string
리턴 ContextualOperand

Base() 공개 메소드

public Base ( ) : ContextualOperand
리턴 ContextualOperand

CodeGen() 공개 메소드

public CodeGen ( ICodeGenContext context, bool isOwner = true ) : System
context ICodeGenContext
isOwner bool
리턴 System

DefineLabel() 공개 메소드

public DefineLabel ( ) : Label
리턴 System.Reflection.Emit.Label

EmitCallHelper() 보호된 메소드

protected EmitCallHelper ( MethodBase mth, Operand target ) : void
mth System.Reflection.MethodBase
target Operand
리턴 void

EmitConvHelper() 보호된 메소드

protected EmitConvHelper ( TypeCode to ) : void
to TypeCode
리턴 void

EmitGetHelper() 보호된 메소드

protected EmitGetHelper ( Operand op, Type desiredType, bool allowExplicitConversion ) : void
op Operand
desiredType IKVM.Reflection.Type
allowExplicitConversion bool
리턴 void

EmitI4Helper() 보호된 메소드

protected EmitI4Helper ( int value ) : void
value int
리턴 void

EmitI8Helper() 보호된 메소드

protected EmitI8Helper ( long value, bool signed ) : void
value long
signed bool
리턴 void

EmitLdargHelper() 보호된 메소드

protected EmitLdargHelper ( ushort index ) : void
index ushort
리턴 void

EmitLdelemHelper() 보호된 메소드

protected EmitLdelemHelper ( Type elementType ) : void
elementType IKVM.Reflection.Type
리턴 void

EmitLdindHelper() 보호된 메소드

protected EmitLdindHelper ( Type type ) : void
type IKVM.Reflection.Type
리턴 void

EmitStargHelper() 보호된 메소드

protected EmitStargHelper ( ushort index ) : void
index ushort
리턴 void

EmitStelemHelper() 보호된 메소드

protected EmitStelemHelper ( Type elementType, Operand element, bool allowExplicitConversion ) : void
elementType IKVM.Reflection.Type
element Operand
allowExplicitConversion bool
리턴 void

EmitStindHelper() 보호된 메소드

protected EmitStindHelper ( Type type, Operand value, bool allowExplicitConversion ) : void
type IKVM.Reflection.Type
value Operand
allowExplicitConversion bool
리턴 void

ForceResetUnreachableState() 공개 메소드

public ForceResetUnreachableState ( ) : void
리턴 void

GetStelemOpCode() 보호된 정적인 메소드

protected static GetStelemOpCode ( Type elementType ) : OpCode
elementType IKVM.Reflection.Type
리턴 System.Reflection.Emit.OpCode

GetStindOpCode() 보호된 정적인 메소드

protected static GetStindOpCode ( Type type ) : OpCode
type IKVM.Reflection.Type
리턴 System.Reflection.Emit.OpCode

Goto() 공개 메소드

public Goto ( Label label ) : void
label System.Reflection.Emit.Label
리턴 void

Goto() 공개 메소드

public Goto ( string labelName ) : void
labelName string
리턴 void

Label() 공개 메소드

public Label ( string labelName ) : Label
labelName string
리턴 System.Reflection.Emit.Label

Local() 공개 메소드

public Local ( ) : ContextualOperand
리턴 ContextualOperand

Local() 공개 메소드

public Local ( Operand init ) : ContextualOperand
init Operand
리턴 ContextualOperand

Local() 공개 메소드

public Local ( System type ) : ContextualOperand
type System
리턴 ContextualOperand

Local() 공개 메소드

public Local ( System type, Operand init ) : ContextualOperand
type System
init Operand
리턴 ContextualOperand

Local() 공개 메소드

public Local ( Type type ) : ContextualOperand
type IKVM.Reflection.Type
리턴 ContextualOperand

Local() 공개 메소드

public Local ( Type type, Operand init ) : ContextualOperand
type IKVM.Reflection.Type
init Operand
리턴 ContextualOperand

MarkLabel() 공개 메소드

public MarkLabel ( Label label ) : void
label System.Reflection.Emit.Label
리턴 void

PropertyValue() 공개 메소드

public PropertyValue ( ) : ContextualOperand
리턴 ContextualOperand

This() 공개 메소드

public This ( ) : ContextualOperand
리턴 ContextualOperand

WrapExistingLocal() 보호된 메소드

protected WrapExistingLocal ( LocalBuilder local ) : ContextualOperand
local System.Reflection.Emit.LocalBuilder
리턴 ContextualOperand

this() 공개 메소드

public this ( string localName ) : Operand
localName string
리턴 Operand