C# Класс AsmResolver.Net.Metadata.ReferenceImporter

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ImportAssembly ( AssemblyName assemblyName ) : AssemblyReference
ImportAssembly ( IAssemblyDescriptor assemblyInfo ) : AssemblyReference
ImportField ( FieldDefinition definition ) : IMemberReference
ImportField ( FieldInfo field ) : MemberReference
ImportFieldSignature ( FieldSignature signature ) : FieldSignature
ImportMember ( MemberReference reference ) : MemberReference
ImportMemberRefParent ( IMemberRefParent parent ) : IMemberRefParent
ImportMemberSignature ( MemberSignature signature ) : MemberSignature
ImportMethod ( MethodDefinition definition ) : IMemberReference
ImportMethod ( MethodBase method ) : MemberReference
ImportMethodSignature ( MethodSignature signature ) : MethodSignature
ImportModule ( ModuleReference reference ) : ModuleReference
ImportReference ( IMemberReference reference ) : IMemberReference
ImportScope ( IResolutionScope scope ) : IResolutionScope
ImportType ( ITypeDefOrRef type ) : ITypeDefOrRef
ImportType ( Type type ) : ITypeDefOrRef
ImportType ( TypeDefinition definition ) : ITypeDefOrRef
ImportType ( TypeSpecification specification ) : ITypeDefOrRef
ImportType ( TypeReference reference ) : TypeReference
ImportTypeSignature ( Type type ) : TypeSignature
ImportTypeSignature ( TypeSignature signature ) : TypeSignature
ReferenceImporter ( TableStream tableStreamBuffer ) : System
ReferenceImporter ( TableStream tableStreamBuffer, SignatureComparer signatureComparer ) : System

Приватные методы

Метод Описание
GetCorLibSignature ( Type type ) : MsCorLibTypeSignature
ImportArrayOrSzArrayTypeSignature ( Type arrayType ) : TypeSignature
ImportArrayTypeSignature ( ArrayTypeSignature signature ) : ArrayTypeSignature
ImportArrayTypeSignature ( Type arrayType ) : ArrayTypeSignature
ImportBoxedTypeSignature ( BoxedTypeSignature signature ) : BoxedTypeSignature
ImportByRefTypeSignature ( ByReferenceTypeSignature signature ) : ByReferenceTypeSignature
ImportByRefTypeSignature ( Type byRefType ) : ByReferenceTypeSignature
ImportCorlibTypeSignature ( MsCorLibTypeSignature corlibType ) : TypeSignature
ImportFunctionPointerTypeSignature ( FunctionPointerTypeSignature functionPtrType ) : FunctionPointerTypeSignature
ImportGenericInstanceTypeSignature ( GenericInstanceTypeSignature signature ) : GenericInstanceTypeSignature
ImportGenericInstanceTypeSignature ( Type type ) : GenericInstanceTypeSignature
ImportOptionalModifierSignature ( OptionalModifierSignature modOptType ) : OptionalModifierSignature
ImportPinnedTypeSignature ( PinnedTypeSignature pinnedType ) : PinnedTypeSignature
ImportPointerTypeSignature ( PointerTypeSignature signature ) : PointerTypeSignature
ImportPointerTypeSignature ( Type pointerType ) : PointerTypeSignature
ImportRequiredModifierSignature ( RequiredModifierSignature modReqType ) : RequiredModifierSignature
ImportSentinelTypeSignature ( SentinelTypeSignature sentinelType ) : SentinelTypeSignature
ImportSzArrayTypeSignature ( SzArrayTypeSignature signature ) : SzArrayTypeSignature
ImportSzArrayTypeSignature ( Type arrayType ) : SzArrayTypeSignature
ImportTypeDefOrRefSignature ( Type type ) : TypeDefOrRefSignature
ImportTypeDefOrRefSignature ( TypeDefOrRefSignature signature ) : TypeDefOrRefSignature

Описание методов

ImportAssembly() публичный Метод

public ImportAssembly ( AssemblyName assemblyName ) : AssemblyReference
assemblyName System.Reflection.AssemblyName
Результат AssemblyReference

ImportAssembly() публичный Метод

public ImportAssembly ( IAssemblyDescriptor assemblyInfo ) : AssemblyReference
assemblyInfo IAssemblyDescriptor
Результат AssemblyReference

ImportField() публичный Метод

public ImportField ( FieldDefinition definition ) : IMemberReference
definition FieldDefinition
Результат IMemberReference

ImportField() публичный Метод

public ImportField ( FieldInfo field ) : MemberReference
field System.Reflection.FieldInfo
Результат MemberReference

ImportFieldSignature() публичный Метод

public ImportFieldSignature ( FieldSignature signature ) : FieldSignature
signature AsmResolver.Net.Signatures.FieldSignature
Результат AsmResolver.Net.Signatures.FieldSignature

ImportMember() публичный Метод

public ImportMember ( MemberReference reference ) : MemberReference
reference MemberReference
Результат MemberReference

ImportMemberRefParent() публичный Метод

public ImportMemberRefParent ( IMemberRefParent parent ) : IMemberRefParent
parent IMemberRefParent
Результат IMemberRefParent

ImportMemberSignature() публичный Метод

public ImportMemberSignature ( MemberSignature signature ) : MemberSignature
signature AsmResolver.Net.Signatures.MemberSignature
Результат AsmResolver.Net.Signatures.MemberSignature

ImportMethod() публичный Метод

public ImportMethod ( MethodDefinition definition ) : IMemberReference
definition MethodDefinition
Результат IMemberReference

ImportMethod() публичный Метод

public ImportMethod ( MethodBase method ) : MemberReference
method System.Reflection.MethodBase
Результат MemberReference

ImportMethodSignature() публичный Метод

public ImportMethodSignature ( MethodSignature signature ) : MethodSignature
signature AsmResolver.Net.Signatures.MethodSignature
Результат AsmResolver.Net.Signatures.MethodSignature

ImportModule() публичный Метод

public ImportModule ( ModuleReference reference ) : ModuleReference
reference ModuleReference
Результат ModuleReference

ImportReference() публичный Метод

public ImportReference ( IMemberReference reference ) : IMemberReference
reference IMemberReference
Результат IMemberReference

ImportScope() публичный Метод

public ImportScope ( IResolutionScope scope ) : IResolutionScope
scope IResolutionScope
Результат IResolutionScope

ImportType() публичный Метод

public ImportType ( ITypeDefOrRef type ) : ITypeDefOrRef
type ITypeDefOrRef
Результат ITypeDefOrRef

ImportType() публичный Метод

public ImportType ( Type type ) : ITypeDefOrRef
type System.Type
Результат ITypeDefOrRef

ImportType() публичный Метод

public ImportType ( TypeDefinition definition ) : ITypeDefOrRef
definition TypeDefinition
Результат ITypeDefOrRef

ImportType() публичный Метод

public ImportType ( TypeSpecification specification ) : ITypeDefOrRef
specification TypeSpecification
Результат ITypeDefOrRef

ImportType() публичный Метод

public ImportType ( TypeReference reference ) : TypeReference
reference TypeReference
Результат TypeReference

ImportTypeSignature() публичный Метод

public ImportTypeSignature ( Type type ) : TypeSignature
type System.Type
Результат AsmResolver.Net.Signatures.TypeSignature

ImportTypeSignature() публичный Метод

public ImportTypeSignature ( TypeSignature signature ) : TypeSignature
signature AsmResolver.Net.Signatures.TypeSignature
Результат AsmResolver.Net.Signatures.TypeSignature

ReferenceImporter() публичный Метод

public ReferenceImporter ( TableStream tableStreamBuffer ) : System
tableStreamBuffer TableStream
Результат System

ReferenceImporter() публичный Метод

public ReferenceImporter ( TableStream tableStreamBuffer, SignatureComparer signatureComparer ) : System
tableStreamBuffer TableStream
signatureComparer SignatureComparer
Результат System