C# Class IKVM.Reflection.Module

Inheritance: ICustomAttributeProvider
Afficher le fichier Open project: mono/ikvm-fork Class Usage Examples

Méthodes publiques

Méthode Description
FindTypes ( TypeFilter filter, object filterCriteria ) : Type[]
GetCustomAttributesData ( ) : IList
GetField ( string name ) : IKVM.Reflection.FieldInfo
GetField ( string name, BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo
GetFields ( ) : IKVM.Reflection.FieldInfo[]
GetFields ( BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo[]
GetMethod ( string name ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConv, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
GetMethods ( ) : IKVM.Reflection.MethodInfo[]
GetMethods ( BindingFlags bindingFlags ) : IKVM.Reflection.MethodInfo[]
GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
GetSignerCertificate ( ) : System.Security.Cryptography.X509Certificates.X509Certificate
GetType ( string className ) : Type
GetType ( string className, bool ignoreCase ) : Type
GetType ( string className, bool throwOnError, bool ignoreCase ) : Type
GetTypes ( ) : Type[]
IsDefined ( Type attributeType, bool inherit ) : bool
IsResource ( ) : bool
ResolveField ( int metadataToken ) : IKVM.Reflection.FieldInfo
ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.FieldInfo
ResolveMember ( int metadataToken ) : IKVM.Reflection.MemberInfo
ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MemberInfo
ResolveMethod ( int metadataToken ) : IKVM.Reflection.MethodBase
ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MethodBase
ResolveSignature ( int metadataToken ) : byte[]
ResolveString ( int metadataToken ) : string
ResolveType ( int metadataToken ) : Type
ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
__EnumerateCustomAttributeTable ( ) : IEnumerable
__GetCustomAttributes ( Type attributeType, bool inherit ) : IList
__GetDataDirectoryEntry ( int index, int &rva, int &length ) : void
__GetExportedTypes ( ) : Type[]
__GetPlaceholderAssemblyCustomAttributes ( bool multiple, bool security ) : IList
__GetReferencedAssemblies ( ) : IKVM.Reflection.AssemblyName[]
__GetReferencedModules ( ) : string[]
__GetReferencedTypes ( ) : Type[]
__GetSectionInfo ( int rva, string &name, int &characteristics ) : bool
__GetSectionInfo ( int rva, string &name, int &characteristics, int &virtualAddress, int &virtualSize, int &pointerToRawData, int &sizeOfRawData ) : bool
__ReadDataFromRVA ( int rva, byte data, int offset, int length ) : int
__RelativeVirtualAddressToFileOffset ( int rva ) : long
__ResolveOptionalParameterTypes ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments, CustomModifiers &customModifiers ) : Type[]
__ResolveReferencedAssemblies ( Assembly assemblies ) : void
__ResolveStandAloneMethodSig ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.__StandAloneMethodSig
__ResolveTypeSpecCustomModifiers ( int typeSpecToken, Type genericTypeArguments, Type genericMethodArguments ) : CustomModifiers
__TryGetImplMap ( int token, ImplMapFlags &mappingFlags, string &importName, string &importScope ) : bool

Méthodes protégées

Méthode Description
GetDllCharacteristicsImpl ( ) : DllCharacteristics
GetFileAlignmentImpl ( ) : int
GetImageBaseImpl ( ) : long
GetStackReserveImpl ( ) : long
Module ( IKVM.Reflection.Universe universe ) : System

Private Methods

Méthode Description
Dispose ( ) : void
ExportTypes ( int fileToken, IKVM manifestModule ) : void
FindType ( TypeName name ) : Type
FindTypeIgnoreCase ( TypeName lowerCaseName ) : Type
GetBlob ( int blobIndex ) : IKVM.Reflection.Reader.ByteReader
GetDeclarativeSecurity ( int metadataToken ) : IList
GetGuid ( int guidIndex ) : System.Guid
GetModuleType ( ) : Type
GetString ( int index ) : string
GetTables ( ) : Table[]
GetTypesImpl ( List list ) : void
ResolveType ( int metadataToken, IGenericContext context ) : Type
__GetCustomAttributesFor ( int token ) : List
__ResolveOptionalParameterTypes ( int metadataToken ) : Type[]

Method Details

FindTypes() public méthode

public FindTypes ( TypeFilter filter, object filterCriteria ) : Type[]
filter TypeFilter
filterCriteria object
Résultat Type[]

GetCustomAttributesData() public méthode

public GetCustomAttributesData ( ) : IList
Résultat IList

GetDllCharacteristicsImpl() protected abstract méthode

protected abstract GetDllCharacteristicsImpl ( ) : DllCharacteristics
Résultat DllCharacteristics

GetField() public méthode

public GetField ( string name ) : IKVM.Reflection.FieldInfo
name string
Résultat IKVM.Reflection.FieldInfo

GetField() public méthode

public GetField ( string name, BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo
name string
bindingFlags BindingFlags
Résultat IKVM.Reflection.FieldInfo

GetFields() public méthode

public GetFields ( ) : IKVM.Reflection.FieldInfo[]
Résultat IKVM.Reflection.FieldInfo[]

GetFields() public méthode

public GetFields ( BindingFlags bindingFlags ) : IKVM.Reflection.FieldInfo[]
bindingFlags BindingFlags
Résultat IKVM.Reflection.FieldInfo[]

GetFileAlignmentImpl() protected abstract méthode

protected abstract GetFileAlignmentImpl ( ) : int
Résultat int

GetImageBaseImpl() protected abstract méthode

protected abstract GetImageBaseImpl ( ) : long
Résultat long

GetMethod() public méthode

public GetMethod ( string name ) : IKVM.Reflection.MethodInfo
name string
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

public GetMethod ( string name, BindingFlags bindingAttr, IKVM.Reflection.Binder binder, CallingConventions callConv, Type types, IKVM.Reflection.ParameterModifier modifiers ) : IKVM.Reflection.MethodInfo
name string
bindingAttr BindingFlags
binder IKVM.Reflection.Binder
callConv CallingConventions
types Type
modifiers IKVM.Reflection.ParameterModifier
Résultat IKVM.Reflection.MethodInfo

GetMethod() public méthode

public GetMethod ( string name, Type types ) : IKVM.Reflection.MethodInfo
name string
types Type
Résultat IKVM.Reflection.MethodInfo

GetMethods() public méthode

public GetMethods ( ) : IKVM.Reflection.MethodInfo[]
Résultat IKVM.Reflection.MethodInfo[]

GetMethods() public méthode

public GetMethods ( BindingFlags bindingFlags ) : IKVM.Reflection.MethodInfo[]
bindingFlags BindingFlags
Résultat IKVM.Reflection.MethodInfo[]

GetPEKind() public méthode

public GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
peKind PortableExecutableKinds
machine ImageFileMachine
Résultat void

GetSignerCertificate() public méthode

public GetSignerCertificate ( ) : System.Security.Cryptography.X509Certificates.X509Certificate
Résultat System.Security.Cryptography.X509Certificates.X509Certificate

GetStackReserveImpl() protected abstract méthode

protected abstract GetStackReserveImpl ( ) : long
Résultat long

GetType() public méthode

public GetType ( string className ) : Type
className string
Résultat Type

GetType() public méthode

public GetType ( string className, bool ignoreCase ) : Type
className string
ignoreCase bool
Résultat Type

GetType() public méthode

public GetType ( string className, bool throwOnError, bool ignoreCase ) : Type
className string
throwOnError bool
ignoreCase bool
Résultat Type

GetTypes() public méthode

public GetTypes ( ) : Type[]
Résultat Type[]

IsDefined() public méthode

public IsDefined ( Type attributeType, bool inherit ) : bool
attributeType Type
inherit bool
Résultat bool

IsResource() public méthode

public IsResource ( ) : bool
Résultat bool

Module() protected méthode

protected Module ( IKVM.Reflection.Universe universe ) : System
universe IKVM.Reflection.Universe
Résultat System

ResolveField() public méthode

public ResolveField ( int metadataToken ) : IKVM.Reflection.FieldInfo
metadataToken int
Résultat IKVM.Reflection.FieldInfo

ResolveField() public abstract méthode

public abstract ResolveField ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.FieldInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat IKVM.Reflection.FieldInfo

ResolveMember() public méthode

public ResolveMember ( int metadataToken ) : IKVM.Reflection.MemberInfo
metadataToken int
Résultat IKVM.Reflection.MemberInfo

ResolveMember() public abstract méthode

public abstract ResolveMember ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MemberInfo
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat IKVM.Reflection.MemberInfo

ResolveMethod() public méthode

public ResolveMethod ( int metadataToken ) : IKVM.Reflection.MethodBase
metadataToken int
Résultat IKVM.Reflection.MethodBase

ResolveMethod() public abstract méthode

public abstract ResolveMethod ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.MethodBase
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat IKVM.Reflection.MethodBase

ResolveSignature() public méthode

public ResolveSignature ( int metadataToken ) : byte[]
metadataToken int
Résultat byte[]

ResolveString() public abstract méthode

public abstract ResolveString ( int metadataToken ) : string
metadataToken int
Résultat string

ResolveType() public méthode

public ResolveType ( int metadataToken ) : Type
metadataToken int
Résultat Type

ResolveType() public méthode

public ResolveType ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : Type
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat Type

__EnumerateCustomAttributeTable() public méthode

public __EnumerateCustomAttributeTable ( ) : IEnumerable
Résultat IEnumerable

__GetCustomAttributes() public méthode

public __GetCustomAttributes ( Type attributeType, bool inherit ) : IList
attributeType Type
inherit bool
Résultat IList

__GetDataDirectoryEntry() public méthode

public __GetDataDirectoryEntry ( int index, int &rva, int &length ) : void
index int
rva int
length int
Résultat void

__GetExportedTypes() public abstract méthode

public abstract __GetExportedTypes ( ) : Type[]
Résultat Type[]

__GetPlaceholderAssemblyCustomAttributes() public méthode

public __GetPlaceholderAssemblyCustomAttributes ( bool multiple, bool security ) : IList
multiple bool
security bool
Résultat IList

__GetReferencedAssemblies() public abstract méthode

public abstract __GetReferencedAssemblies ( ) : IKVM.Reflection.AssemblyName[]
Résultat IKVM.Reflection.AssemblyName[]

__GetReferencedModules() public abstract méthode

public abstract __GetReferencedModules ( ) : string[]
Résultat string[]

__GetReferencedTypes() public abstract méthode

public abstract __GetReferencedTypes ( ) : Type[]
Résultat Type[]

__GetSectionInfo() public méthode

public __GetSectionInfo ( int rva, string &name, int &characteristics ) : bool
rva int
name string
characteristics int
Résultat bool

__GetSectionInfo() public méthode

public __GetSectionInfo ( int rva, string &name, int &characteristics, int &virtualAddress, int &virtualSize, int &pointerToRawData, int &sizeOfRawData ) : bool
rva int
name string
characteristics int
virtualAddress int
virtualSize int
pointerToRawData int
sizeOfRawData int
Résultat bool

__ReadDataFromRVA() public méthode

public __ReadDataFromRVA ( int rva, byte data, int offset, int length ) : int
rva int
data byte
offset int
length int
Résultat int

__RelativeVirtualAddressToFileOffset() public méthode

public __RelativeVirtualAddressToFileOffset ( int rva ) : long
rva int
Résultat long

__ResolveOptionalParameterTypes() public abstract méthode

public abstract __ResolveOptionalParameterTypes ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments, CustomModifiers &customModifiers ) : Type[]
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
customModifiers CustomModifiers
Résultat Type[]

__ResolveReferencedAssemblies() public méthode

public __ResolveReferencedAssemblies ( Assembly assemblies ) : void
assemblies Assembly
Résultat void

__ResolveStandAloneMethodSig() public méthode

public __ResolveStandAloneMethodSig ( int metadataToken, Type genericTypeArguments, Type genericMethodArguments ) : IKVM.Reflection.__StandAloneMethodSig
metadataToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat IKVM.Reflection.__StandAloneMethodSig

__ResolveTypeSpecCustomModifiers() public méthode

public __ResolveTypeSpecCustomModifiers ( int typeSpecToken, Type genericTypeArguments, Type genericMethodArguments ) : CustomModifiers
typeSpecToken int
genericTypeArguments Type
genericMethodArguments Type
Résultat CustomModifiers

__TryGetImplMap() public méthode

public __TryGetImplMap ( int token, ImplMapFlags &mappingFlags, string &importName, string &importScope ) : bool
token int
mappingFlags ImplMapFlags
importName string
importScope string
Résultat bool