C# Class AsmResolver.Net.Metadata.ReferenceImporter

显示文件 Open project: JerreS/AsmResolver Class Usage Examples

Public Methods

Method Description
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

Private Methods

Method Description
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

Method Details

ImportAssembly() public method

public ImportAssembly ( AssemblyName assemblyName ) : AssemblyReference
assemblyName System.Reflection.AssemblyName
return AssemblyReference

ImportAssembly() public method

public ImportAssembly ( IAssemblyDescriptor assemblyInfo ) : AssemblyReference
assemblyInfo IAssemblyDescriptor
return AssemblyReference

ImportField() public method

public ImportField ( FieldDefinition definition ) : IMemberReference
definition FieldDefinition
return IMemberReference

ImportField() public method

public ImportField ( FieldInfo field ) : MemberReference
field System.Reflection.FieldInfo
return MemberReference

ImportFieldSignature() public method

public ImportFieldSignature ( FieldSignature signature ) : FieldSignature
signature AsmResolver.Net.Signatures.FieldSignature
return AsmResolver.Net.Signatures.FieldSignature

ImportMember() public method

public ImportMember ( MemberReference reference ) : MemberReference
reference MemberReference
return MemberReference

ImportMemberRefParent() public method

public ImportMemberRefParent ( IMemberRefParent parent ) : IMemberRefParent
parent IMemberRefParent
return IMemberRefParent

ImportMemberSignature() public method

public ImportMemberSignature ( MemberSignature signature ) : MemberSignature
signature AsmResolver.Net.Signatures.MemberSignature
return AsmResolver.Net.Signatures.MemberSignature

ImportMethod() public method

public ImportMethod ( MethodDefinition definition ) : IMemberReference
definition MethodDefinition
return IMemberReference

ImportMethod() public method

public ImportMethod ( MethodBase method ) : MemberReference
method System.Reflection.MethodBase
return MemberReference

ImportMethodSignature() public method

public ImportMethodSignature ( MethodSignature signature ) : MethodSignature
signature AsmResolver.Net.Signatures.MethodSignature
return AsmResolver.Net.Signatures.MethodSignature

ImportModule() public method

public ImportModule ( ModuleReference reference ) : ModuleReference
reference ModuleReference
return ModuleReference

ImportReference() public method

public ImportReference ( IMemberReference reference ) : IMemberReference
reference IMemberReference
return IMemberReference

ImportScope() public method

public ImportScope ( IResolutionScope scope ) : IResolutionScope
scope IResolutionScope
return IResolutionScope

ImportType() public method

public ImportType ( ITypeDefOrRef type ) : ITypeDefOrRef
type ITypeDefOrRef
return ITypeDefOrRef

ImportType() public method

public ImportType ( Type type ) : ITypeDefOrRef
type System.Type
return ITypeDefOrRef

ImportType() public method

public ImportType ( TypeDefinition definition ) : ITypeDefOrRef
definition TypeDefinition
return ITypeDefOrRef

ImportType() public method

public ImportType ( TypeSpecification specification ) : ITypeDefOrRef
specification TypeSpecification
return ITypeDefOrRef

ImportType() public method

public ImportType ( TypeReference reference ) : TypeReference
reference TypeReference
return TypeReference

ImportTypeSignature() public method

public ImportTypeSignature ( Type type ) : TypeSignature
type System.Type
return AsmResolver.Net.Signatures.TypeSignature

ImportTypeSignature() public method

public ImportTypeSignature ( TypeSignature signature ) : TypeSignature
signature AsmResolver.Net.Signatures.TypeSignature
return AsmResolver.Net.Signatures.TypeSignature

ReferenceImporter() public method

public ReferenceImporter ( TableStream tableStreamBuffer ) : System
tableStreamBuffer TableStream
return System

ReferenceImporter() public method

public ReferenceImporter ( TableStream tableStreamBuffer, SignatureComparer signatureComparer ) : System
tableStreamBuffer TableStream
signatureComparer SignatureComparer
return System