C# 클래스 Mono.CSharp.MetadataImporter

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

공개 프로퍼티들

프로퍼티 타입 설명
CompilerServicesNamespace string

보호된 프로퍼티들

프로퍼티 타입 설명
assembly_2_definition IAssemblyDefinition>.Dictionary
compiled_types TypeSpec>.Dictionary
import_cache TypeSpec>.Dictionary

공개 메소드들

메소드 설명
AddCompiledType ( TypeBuilder builder, System.TypeSpec spec ) : void
CreateEvent ( EventInfo ei, System.TypeSpec declaringType, MethodSpec add, MethodSpec remove ) : EventSpec
CreateField ( FieldInfo fi, System.TypeSpec declaringType ) : FieldSpec
CreateMethod ( MethodBase mb, System.TypeSpec declaringType ) : MethodSpec
CreateNestedType ( Type type, System.TypeSpec declaringType ) : System.TypeSpec
CreateProperty ( PropertyInfo pi, System.TypeSpec declaringType, MethodSpec get, MethodSpec set ) : PropertySpec
CreateType ( Type type ) : System.TypeSpec
GetAssemblyDefinition ( Assembly assembly ) : IAssemblyDefinition
GetCustomAttributeTypeName ( CustomAttributeData cad, string &typeNamespace, string &typeName ) : void
HasAttribute ( IList attributesData, string attrName, string attrNamespace ) : bool
ImportType ( Type type ) : System.TypeSpec
ImportTypeBase ( Type type ) : void

보호된 메소드들

메소드 설명
DetermineKindFromBaseType ( Type baseType ) : MemberKind
HasVolatileModifier ( Type modifiers ) : bool
ImportTypes ( Type types, Namespace targetNamespace, bool hasExtensionTypes ) : void
MetadataImporter ( ModuleContainer module ) : IKVM.Reflection

비공개 메소드들

메소드 설명
CreateGenericArguments ( int first, Type tparams, DynamicTypeReader dtype ) : System.TypeSpec[]
CreateGenericParameters ( Type type, System.TypeSpec declaringType ) : Mono.CSharp.TypeParameterSpec[]
CreateGenericParameters ( int first, Type tparams ) : Mono.CSharp.TypeParameterSpec[]
CreateParameters ( System.TypeSpec parent, ParameterInfo pi, MethodBase method ) : AParametersCollection
CreateType ( Type type, DynamicTypeReader dtype, bool canImportBaseType ) : System.TypeSpec
CreateType ( Type type, System.TypeSpec declaringType, DynamicTypeReader dtype, bool canImportBaseType ) : System.TypeSpec
CreateTypeParameter ( Type type, System.TypeSpec declaringType ) : Mono.CSharp.TypeParameterSpec
ImportParameterConstant ( object value ) : Constant
ImportType ( Type type, DynamicTypeReader dtype ) : System.TypeSpec
ImportTypeBase ( System.TypeSpec spec, Type type ) : void
ImportTypeParameterTypeConstraints ( Mono.CSharp.TypeParameterSpec spec, Type type ) : void
IsMissingType ( Type type ) : bool
ReadDecimalConstant ( IList attrs ) : Constant
ReadMethodModifiers ( MethodBase mb, System.TypeSpec declaringType ) : Mono.CSharp.Modifiers

메소드 상세

AddCompiledType() 공개 추상적인 메소드

public abstract AddCompiledType ( TypeBuilder builder, System.TypeSpec spec ) : void
builder TypeBuilder
spec System.TypeSpec
리턴 void

CreateEvent() 공개 메소드

public CreateEvent ( EventInfo ei, System.TypeSpec declaringType, MethodSpec add, MethodSpec remove ) : EventSpec
ei EventInfo
declaringType System.TypeSpec
add MethodSpec
remove MethodSpec
리턴 EventSpec

CreateField() 공개 메소드

public CreateField ( FieldInfo fi, System.TypeSpec declaringType ) : FieldSpec
fi FieldInfo
declaringType System.TypeSpec
리턴 FieldSpec

CreateMethod() 공개 메소드

public CreateMethod ( MethodBase mb, System.TypeSpec declaringType ) : MethodSpec
mb MethodBase
declaringType System.TypeSpec
리턴 MethodSpec

CreateNestedType() 공개 메소드

public CreateNestedType ( Type type, System.TypeSpec declaringType ) : System.TypeSpec
type IKVM.Reflection.Type
declaringType System.TypeSpec
리턴 System.TypeSpec

CreateProperty() 공개 메소드

public CreateProperty ( PropertyInfo pi, System.TypeSpec declaringType, MethodSpec get, MethodSpec set ) : PropertySpec
pi PropertyInfo
declaringType System.TypeSpec
get MethodSpec
set MethodSpec
리턴 PropertySpec

CreateType() 공개 메소드

public CreateType ( Type type ) : System.TypeSpec
type IKVM.Reflection.Type
리턴 System.TypeSpec

DetermineKindFromBaseType() 보호된 추상적인 메소드

protected abstract DetermineKindFromBaseType ( Type baseType ) : MemberKind
baseType IKVM.Reflection.Type
리턴 MemberKind

GetAssemblyDefinition() 공개 메소드

public GetAssemblyDefinition ( Assembly assembly ) : IAssemblyDefinition
assembly Assembly
리턴 IAssemblyDefinition

GetCustomAttributeTypeName() 공개 추상적인 메소드

public abstract GetCustomAttributeTypeName ( CustomAttributeData cad, string &typeNamespace, string &typeName ) : void
cad CustomAttributeData
typeNamespace string
typeName string
리턴 void

HasAttribute() 공개 메소드

public HasAttribute ( IList attributesData, string attrName, string attrNamespace ) : bool
attributesData IList
attrName string
attrNamespace string
리턴 bool

HasVolatileModifier() 보호된 추상적인 메소드

protected abstract HasVolatileModifier ( Type modifiers ) : bool
modifiers IKVM.Reflection.Type
리턴 bool

ImportType() 공개 메소드

public ImportType ( Type type ) : System.TypeSpec
type IKVM.Reflection.Type
리턴 System.TypeSpec

ImportTypeBase() 공개 메소드

public ImportTypeBase ( Type type ) : void
type IKVM.Reflection.Type
리턴 void

ImportTypes() 보호된 메소드

protected ImportTypes ( Type types, Namespace targetNamespace, bool hasExtensionTypes ) : void
types IKVM.Reflection.Type
targetNamespace Namespace
hasExtensionTypes bool
리턴 void

MetadataImporter() 보호된 메소드

protected MetadataImporter ( ModuleContainer module ) : IKVM.Reflection
module ModuleContainer
리턴 IKVM.Reflection

프로퍼티 상세

CompilerServicesNamespace 공개적으로 정적으로 프로퍼티

public static string CompilerServicesNamespace
리턴 string

assembly_2_definition 보호되어 있는 프로퍼티

protected Dictionary assembly_2_definition
리턴 IAssemblyDefinition>.Dictionary

compiled_types 보호되어 있는 프로퍼티

protected Dictionary compiled_types
리턴 TypeSpec>.Dictionary

import_cache 보호되어 있는 프로퍼티

protected Dictionary import_cache
리턴 TypeSpec>.Dictionary