C# 클래스 IKVM.Reflection.Emit.MethodBuilder

상속: MethodInfo
파일 보기 프로젝트 열기: mono/ikvm 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Bake void
CheckBaked void
CheckSig void
FixupToken void
GetCurrentToken int
GetGenericMethodArgument System.Type
GetGenericMethodArgumentCount int
ImportTo int
MethodBuilder System
SetDllImportPseudoCustomAttribute void
SetDllImportPseudoCustomAttribute void
SetMethodImplAttribute void
SetSignature void
WriteMethodDefRecord void
WriteParamRecords void

공개 메소드들

메소드 설명
AddDeclarativeSecurity ( System securityAction, System permissionSet ) : void
CreateMethodBody ( byte il, int count ) : void
DefineGenericParameters ( ) : IKVM.Reflection.Emit.GenericTypeParameterBuilder[]
DefineParameter ( int position, ParameterAttributes attributes, string strParamName ) : IKVM.Reflection.Emit.ParameterBuilder
GetGenericArguments ( ) : System.Type[]
GetGenericMethodDefinition ( ) : MethodInfo
GetILGenerator ( ) : ILGenerator
GetILGenerator ( int streamSize ) : ILGenerator
GetMethodBody ( ) : MethodBody
GetMethodImplementationFlags ( ) : MethodImplAttributes
GetModule ( ) : Module
GetParameters ( ) : ParameterInfo[]
GetToken ( ) : IKVM.Reflection.Emit.MethodToken
MakeGenericMethod ( ) : MethodInfo
SetCustomAttribute ( ConstructorInfo con, byte binaryAttribute ) : void
SetCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
SetImplementationFlags ( MethodImplAttributes attributes ) : void
SetMethodBody ( byte il, int maxStack, byte localSignature, IEnumerable exceptionHandlers, IEnumerable tokenFixups ) : void
SetParameters ( ) : void
SetReturnType ( Type returnType ) : void
SetSignature ( Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : void
__AddDeclarativeSecurity ( CustomAttributeBuilder customBuilder ) : void
__AddUnmanagedExport ( string name, int ordinal ) : void
__ReleaseILGenerator ( ) : void
__SetAttributes ( MethodAttributes attributes ) : void
__SetCallingConvention ( CallingConventions callingConvention ) : void
__SetSignature ( Type returnType, CustomModifiers returnTypeCustomModifiers, Type parameterTypes, CustomModifiers parameterTypeCustomModifiers ) : void

비공개 메소드들

메소드 설명
Bake ( ) : void
CheckBaked ( ) : void
CheckSig ( ) : void
FixupToken ( int token, int &parameterToken ) : void
GetCurrentToken ( ) : int
GetGenericMethodArgument ( int index ) : Type
GetGenericMethodArgumentCount ( ) : int
ImportTo ( ModuleBuilder other ) : int
MethodBuilder ( TypeBuilder typeBuilder, string name, MethodAttributes attributes, CallingConventions callingConvention ) : System
SetDllImportPseudoCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
SetDllImportPseudoCustomAttribute ( string dllName, string entryName, CallingConvention nativeCallConv, CharSet nativeCharSet, bool bestFitMapping, bool throwOnUnmappableChar, bool setLastError, bool preserveSig, bool exactSpelling ) : void
SetMethodImplAttribute ( CustomAttributeBuilder customBuilder ) : void
SetSignature ( Type returnType, Type parameterTypes, PackedCustomModifiers customModifiers ) : void
WriteMethodDefRecord ( int baseRVA, IKVM.Reflection.Writer.MetadataWriter mw, int &paramList ) : void
WriteParamRecords ( IKVM.Reflection.Writer.MetadataWriter mw ) : void

메소드 상세

AddDeclarativeSecurity() 공개 메소드

public AddDeclarativeSecurity ( System securityAction, System permissionSet ) : void
securityAction System
permissionSet System
리턴 void

CreateMethodBody() 공개 메소드

public CreateMethodBody ( byte il, int count ) : void
il byte
count int
리턴 void

DefineGenericParameters() 공개 메소드

public DefineGenericParameters ( ) : IKVM.Reflection.Emit.GenericTypeParameterBuilder[]
리턴 IKVM.Reflection.Emit.GenericTypeParameterBuilder[]

DefineParameter() 공개 메소드

public DefineParameter ( int position, ParameterAttributes attributes, string strParamName ) : IKVM.Reflection.Emit.ParameterBuilder
position int
attributes ParameterAttributes
strParamName string
리턴 IKVM.Reflection.Emit.ParameterBuilder

GetGenericArguments() 공개 메소드

public GetGenericArguments ( ) : System.Type[]
리턴 System.Type[]

GetGenericMethodDefinition() 공개 메소드

public GetGenericMethodDefinition ( ) : MethodInfo
리턴 MethodInfo

GetILGenerator() 공개 메소드

public GetILGenerator ( ) : ILGenerator
리턴 ILGenerator

GetILGenerator() 공개 메소드

public GetILGenerator ( int streamSize ) : ILGenerator
streamSize int
리턴 ILGenerator

GetMethodBody() 공개 메소드

public GetMethodBody ( ) : MethodBody
리턴 MethodBody

GetMethodImplementationFlags() 공개 메소드

public GetMethodImplementationFlags ( ) : MethodImplAttributes
리턴 MethodImplAttributes

GetModule() 공개 메소드

public GetModule ( ) : Module
리턴 Module

GetParameters() 공개 메소드

public GetParameters ( ) : ParameterInfo[]
리턴 ParameterInfo[]

GetToken() 공개 메소드

public GetToken ( ) : IKVM.Reflection.Emit.MethodToken
리턴 IKVM.Reflection.Emit.MethodToken

MakeGenericMethod() 공개 메소드

public MakeGenericMethod ( ) : MethodInfo
리턴 MethodInfo

SetCustomAttribute() 공개 메소드

public SetCustomAttribute ( ConstructorInfo con, byte binaryAttribute ) : void
con ConstructorInfo
binaryAttribute byte
리턴 void

SetCustomAttribute() 공개 메소드

public SetCustomAttribute ( CustomAttributeBuilder customBuilder ) : void
customBuilder CustomAttributeBuilder
리턴 void

SetImplementationFlags() 공개 메소드

public SetImplementationFlags ( MethodImplAttributes attributes ) : void
attributes MethodImplAttributes
리턴 void

SetMethodBody() 공개 메소드

public SetMethodBody ( byte il, int maxStack, byte localSignature, IEnumerable exceptionHandlers, IEnumerable tokenFixups ) : void
il byte
maxStack int
localSignature byte
exceptionHandlers IEnumerable
tokenFixups IEnumerable
리턴 void

SetParameters() 공개 메소드

public SetParameters ( ) : void
리턴 void

SetReturnType() 공개 메소드

public SetReturnType ( Type returnType ) : void
returnType System.Type
리턴 void

SetSignature() 공개 메소드

public SetSignature ( Type returnType, Type returnTypeRequiredCustomModifiers, Type returnTypeOptionalCustomModifiers, Type parameterTypes, Type parameterTypeRequiredCustomModifiers, Type parameterTypeOptionalCustomModifiers ) : void
returnType System.Type
returnTypeRequiredCustomModifiers System.Type
returnTypeOptionalCustomModifiers System.Type
parameterTypes System.Type
parameterTypeRequiredCustomModifiers System.Type
parameterTypeOptionalCustomModifiers System.Type
리턴 void

__AddDeclarativeSecurity() 공개 메소드

public __AddDeclarativeSecurity ( CustomAttributeBuilder customBuilder ) : void
customBuilder CustomAttributeBuilder
리턴 void

__AddUnmanagedExport() 공개 메소드

public __AddUnmanagedExport ( string name, int ordinal ) : void
name string
ordinal int
리턴 void

__ReleaseILGenerator() 공개 메소드

public __ReleaseILGenerator ( ) : void
리턴 void

__SetAttributes() 공개 메소드

public __SetAttributes ( MethodAttributes attributes ) : void
attributes MethodAttributes
리턴 void

__SetCallingConvention() 공개 메소드

public __SetCallingConvention ( CallingConventions callingConvention ) : void
callingConvention CallingConventions
리턴 void

__SetSignature() 공개 메소드

public __SetSignature ( Type returnType, CustomModifiers returnTypeCustomModifiers, Type parameterTypes, CustomModifiers parameterTypeCustomModifiers ) : void
returnType Type
returnTypeCustomModifiers CustomModifiers
parameterTypes Type
parameterTypeCustomModifiers CustomModifiers
리턴 void