Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.ModuleHandle Struct Reference

Public Member Functions

override int GetHashCode ()
 
override bool Equals ([NotNullWhen(true)] object? obj)
 
bool Equals (ModuleHandle handle)
 
RuntimeTypeHandle GetRuntimeTypeHandleFromMetadataToken (int typeToken)
 
RuntimeTypeHandle ResolveTypeHandle (int typeToken)
 
unsafe RuntimeTypeHandle ResolveTypeHandle (int typeToken, RuntimeTypeHandle[]? typeInstantiationContext, RuntimeTypeHandle[]? methodInstantiationContext)
 
RuntimeMethodHandle GetRuntimeMethodHandleFromMetadataToken (int methodToken)
 
RuntimeMethodHandle ResolveMethodHandle (int methodToken)
 
RuntimeMethodHandle ResolveMethodHandle (int methodToken, RuntimeTypeHandle[]? typeInstantiationContext, RuntimeTypeHandle[]? methodInstantiationContext)
 
RuntimeFieldHandle GetRuntimeFieldHandleFromMetadataToken (int fieldToken)
 
RuntimeFieldHandle ResolveFieldHandle (int fieldToken)
 
unsafe RuntimeFieldHandle ResolveFieldHandle (int fieldToken, RuntimeTypeHandle[]? typeInstantiationContext, RuntimeTypeHandle[]? methodInstantiationContext)
 

Static Public Member Functions

static bool operator== (ModuleHandle left, ModuleHandle right)
 
static bool operator!= (ModuleHandle left, ModuleHandle right)
 

Static Public Attributes

static readonly ModuleHandle EmptyHandle
 

Package Functions

 ModuleHandle (RuntimeModule module)
 
RuntimeModule GetRuntimeModule ()
 
static IRuntimeMethodInfo GetDynamicMethod (DynamicMethod method, RuntimeModule module, string name, byte[] sig, Resolver resolver)
 
static int GetToken (RuntimeModule module)
 
static void GetModuleType (QCallModule handle, ObjectHandleOnStack type)
 
static int GetMDStreamVersion (RuntimeModule module)
 

Static Package Functions

static unsafe RuntimeMethodHandleInternal ResolveMethodHandleInternal (RuntimeModule module, int methodToken, IntPtr[] typeInstantiationContext, int typeInstCount, IntPtr[] methodInstantiationContext, int methodInstCount)
 
static bool ContainsPropertyMatchingHash (RuntimeModule module, int propertyToken, uint hash)
 
static RuntimeType GetModuleType (RuntimeModule module)
 
static unsafe void GetPEKind (RuntimeModule module, out PortableExecutableKinds peKind, out ImageFileMachine machine)
 
static MetadataImport GetMetadataImport (RuntimeModule module)
 

Properties

int MDStreamVersion [get]
 

Private Member Functions

static unsafe void ResolveType (QCallModule module, int typeToken, IntPtr *typeInstArgs, int typeInstCount, IntPtr *methodInstArgs, int methodInstCount, ObjectHandleOnStack type)
 
static unsafe RuntimeMethodHandleInternal ResolveMethod (QCallModule module, int methodToken, IntPtr *typeInstArgs, int typeInstCount, IntPtr *methodInstArgs, int methodInstCount)
 
static unsafe void ResolveField (QCallModule module, int fieldToken, IntPtr *typeInstArgs, int typeInstCount, IntPtr *methodInstArgs, int methodInstCount, ObjectHandleOnStack retField)
 
static Interop.BOOL _ContainsPropertyMatchingHash (QCallModule module, int propertyToken, uint hash)
 
static unsafe void GetPEKind (QCallModule handle, int *peKind, int *machine)
 
static IntPtr _GetMetadataImport (RuntimeModule module)
 

Static Private Member Functions

static void ValidateModulePointer (RuntimeModule module)
 

Private Attributes

readonly RuntimeModule m_ptr
 

Detailed Description

Definition at line 10 of file ModuleHandle.cs.


The documentation for this struct was generated from the following file: