C# 클래스 Castle.DynamicProxy.Generators.Emitters.OpCodeUtil

파일 보기 프로젝트 열기: Jarvin-Guan/CleanAOP

공개 메소드들

메소드 설명
EmitLoadIndirectOpCodeForType ( ILGenerator gen, Type type ) : void

Emits a load indirect opcode of the appropriate type for a value or object reference. Pops a pointer off the evaluation stack, dereferences it and loads a value of the specified type.

EmitLoadOpCodeForConstantValue ( ILGenerator gen, object value ) : void

Emits a load opcode of the appropriate kind for a constant string or primitive value.

EmitLoadOpCodeForDefaultValueOfType ( ILGenerator gen, Type type ) : void

Emits a load opcode of the appropriate kind for the constant default value of a type, such as 0 for value types and null for reference types.

EmitStoreIndirectOpCodeForType ( ILGenerator gen, Type type ) : void

Emits a store indirectopcode of the appropriate type for a value or object reference. Pops a value of the specified type and a pointer off the evaluation stack, and stores the value.

비공개 메소드들

메소드 설명
GetUnderlyingTypeOfEnum ( Type enumType ) : Type
Is64BitTypeLoadedAsInt32 ( Type type ) : bool

메소드 상세

EmitLoadIndirectOpCodeForType() 공개 정적인 메소드

Emits a load indirect opcode of the appropriate type for a value or object reference. Pops a pointer off the evaluation stack, dereferences it and loads a value of the specified type.
public static EmitLoadIndirectOpCodeForType ( ILGenerator gen, Type type ) : void
gen System.Reflection.Emit.ILGenerator
type System.Type
리턴 void

EmitLoadOpCodeForConstantValue() 공개 정적인 메소드

Emits a load opcode of the appropriate kind for a constant string or primitive value.
public static EmitLoadOpCodeForConstantValue ( ILGenerator gen, object value ) : void
gen System.Reflection.Emit.ILGenerator
value object
리턴 void

EmitLoadOpCodeForDefaultValueOfType() 공개 정적인 메소드

Emits a load opcode of the appropriate kind for the constant default value of a type, such as 0 for value types and null for reference types.
public static EmitLoadOpCodeForDefaultValueOfType ( ILGenerator gen, Type type ) : void
gen System.Reflection.Emit.ILGenerator
type System.Type
리턴 void

EmitStoreIndirectOpCodeForType() 공개 정적인 메소드

Emits a store indirectopcode of the appropriate type for a value or object reference. Pops a value of the specified type and a pointer off the evaluation stack, and stores the value.
public static EmitStoreIndirectOpCodeForType ( ILGenerator gen, Type type ) : void
gen System.Reflection.Emit.ILGenerator
type System.Type
리턴 void