C# Class System.ModuleHandle

Mostra file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Properties

Property Type Description
EmptyHandle ModuleHandle

Private Properties

Property Type Description
CopyRuntimeTypeHandles System.RuntimeTypeHandle[]
Equals bool
Equals bool
GetCallerType RuntimeTypeHandle
GetDynamicMethod void*
GetMetadataImport System.Reflection.MetadataImport
GetModule System.Reflection.Module
GetModuleTypeHandle RuntimeTypeHandle
GetPEKind void
GetToken int
IsNullHandle bool
ModuleHandle System
ResolveField RuntimeFieldHandle
ResolveMethod RuntimeMethodHandle
ResolveType RuntimeTypeHandle
ValidateModulePointer void
_GetMDStreamVersion int
_GetMetadataImport void*
_GetModuleTypeHandle void*
_GetPEKind void

Public Methods

Method Description
GetHashCode ( ) : int
GetRuntimeFieldHandleFromMetadataToken ( int fieldToken ) : RuntimeFieldHandle
GetRuntimeMethodHandleFromMetadataToken ( int methodToken ) : RuntimeMethodHandle
GetRuntimeTypeHandleFromMetadataToken ( int typeToken ) : RuntimeTypeHandle
ResolveFieldHandle ( int fieldToken ) : RuntimeFieldHandle
ResolveFieldHandle ( int fieldToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeFieldHandle
ResolveMethodHandle ( int methodToken ) : RuntimeMethodHandle
ResolveMethodHandle ( int methodToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeMethodHandle
ResolveTypeHandle ( int typeToken ) : RuntimeTypeHandle
ResolveTypeHandle ( int typeToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeTypeHandle
operator ( ) : bool

Private Methods

Method Description
CopyRuntimeTypeHandles ( RuntimeTypeHandle inHandles ) : System.RuntimeTypeHandle[]
Equals ( ModuleHandle handle ) : bool
Equals ( object obj ) : bool
GetCallerType ( System.Threading.StackCrawlMark &stackMark ) : RuntimeTypeHandle
GetDynamicMethod ( void module, string name, byte sig, Resolver resolver ) : void*
GetMetadataImport ( ) : MetadataImport
GetModule ( ) : Module
GetModuleTypeHandle ( ) : RuntimeTypeHandle
GetPEKind ( PortableExecutableKinds &peKind, ImageFileMachine &machine ) : void
GetToken ( ) : int
IsNullHandle ( ) : bool
ModuleHandle ( void pModule ) : System
ResolveField ( int fieldToken, RuntimeTypeHandle typeInstArgs, int typeInstCount, RuntimeTypeHandle methodInstArgs, int methodInstCount ) : RuntimeFieldHandle
ResolveMethod ( int methodToken, RuntimeTypeHandle typeInstArgs, int typeInstCount, RuntimeTypeHandle methodInstArgs, int methodInstCount ) : RuntimeMethodHandle
ResolveType ( int typeToken, RuntimeTypeHandle typeInstArgs, int typeInstCount, RuntimeTypeHandle methodInstArgs, int methodInstCount ) : RuntimeTypeHandle
ValidateModulePointer ( ) : void
_GetMDStreamVersion ( ) : int
_GetMetadataImport ( ) : void*
_GetModuleTypeHandle ( ) : void*
_GetPEKind ( int &peKind, int &machine ) : void

Method Details

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetRuntimeFieldHandleFromMetadataToken() public method

public GetRuntimeFieldHandleFromMetadataToken ( int fieldToken ) : RuntimeFieldHandle
fieldToken int
return RuntimeFieldHandle

GetRuntimeMethodHandleFromMetadataToken() public method

public GetRuntimeMethodHandleFromMetadataToken ( int methodToken ) : RuntimeMethodHandle
methodToken int
return RuntimeMethodHandle

GetRuntimeTypeHandleFromMetadataToken() public method

public GetRuntimeTypeHandleFromMetadataToken ( int typeToken ) : RuntimeTypeHandle
typeToken int
return RuntimeTypeHandle

ResolveFieldHandle() public method

public ResolveFieldHandle ( int fieldToken ) : RuntimeFieldHandle
fieldToken int
return RuntimeFieldHandle

ResolveFieldHandle() public method

public ResolveFieldHandle ( int fieldToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeFieldHandle
fieldToken int
typeInstantiationContext RuntimeTypeHandle
methodInstantiationContext RuntimeTypeHandle
return RuntimeFieldHandle

ResolveMethodHandle() public method

public ResolveMethodHandle ( int methodToken ) : RuntimeMethodHandle
methodToken int
return RuntimeMethodHandle

ResolveMethodHandle() public method

public ResolveMethodHandle ( int methodToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeMethodHandle
methodToken int
typeInstantiationContext RuntimeTypeHandle
methodInstantiationContext RuntimeTypeHandle
return RuntimeMethodHandle

ResolveTypeHandle() public method

public ResolveTypeHandle ( int typeToken ) : RuntimeTypeHandle
typeToken int
return RuntimeTypeHandle

ResolveTypeHandle() public method

public ResolveTypeHandle ( int typeToken, RuntimeTypeHandle typeInstantiationContext, RuntimeTypeHandle methodInstantiationContext ) : RuntimeTypeHandle
typeToken int
typeInstantiationContext RuntimeTypeHandle
methodInstantiationContext RuntimeTypeHandle
return RuntimeTypeHandle

operator() public static method

public static operator ( ) : bool
return bool

Property Details

EmptyHandle public_oe static_oe property

public static ModuleHandle,System EmptyHandle
return ModuleHandle