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

Public Member Functions

override int GetHashCode ()
 
override bool Equals (object obj)
 
void Enum (MetadataTokenType type, int parent, out MetadataEnumResult result)
 
void EnumNestedTypes (int mdTypeDef, out MetadataEnumResult result)
 
void EnumCustomAttributes (int mdToken, out MetadataEnumResult result)
 
void EnumParams (int mdMethodDef, out MetadataEnumResult result)
 
void EnumFields (int mdTypeDef, out MetadataEnumResult result)
 
void EnumProperties (int mdTypeDef, out MetadataEnumResult result)
 
void EnumEvents (int mdTypeDef, out MetadataEnumResult result)
 
string GetDefaultValue (int mdToken, out long value, out int length, out CorElementType corElementType)
 
unsafe string GetUserString (int mdToken)
 
unsafe MdUtf8String GetName (int mdToken)
 
unsafe MdUtf8String GetNamespace (int mdToken)
 
unsafe void GetEventProps (int mdToken, out void *name, out EventAttributes eventAttributes)
 
void GetFieldDefProps (int mdToken, out FieldAttributes fieldAttributes)
 
unsafe void GetPropertyProps (int mdToken, out void *name, out PropertyAttributes propertyAttributes, out ConstArray signature)
 
int GetParentToken (int tkToken)
 
void GetParamDefProps (int parameterToken, out int sequence, out ParameterAttributes attributes)
 
void GetGenericParamProps (int genericParameter, out GenericParameterAttributes attributes)
 
void GetScopeProps (out Guid mvid)
 
ConstArray GetMethodSignature (MetadataToken token)
 
ConstArray GetSigOfMethodDef (int methodToken)
 
ConstArray GetSignatureFromToken (int token)
 
ConstArray GetMemberRefProps (int memberTokenRef)
 
void GetCustomAttributeProps (int customAttributeToken, out int constructorToken, out ConstArray signature)
 
void GetClassLayout (int typeTokenDef, out int packSize, out int classSize)
 
bool GetFieldOffset (int typeTokenDef, int fieldTokenDef, out int offset)
 
ConstArray GetSigOfFieldDef (int fieldToken)
 
ConstArray GetFieldMarshal (int fieldToken)
 
unsafe void GetPInvokeMap (int token, out PInvokeAttributes attributes, out string importName, out string importDll)
 
bool IsValidToken (int token)
 

Package Functions

 MetadataImport (IntPtr metadataImport2, object keepalive)
 

Static Package Functions

static void GetMarshalAs (ConstArray nativeType, out UnmanagedType unmanagedType, out VarEnum safeArraySubType, out string safeArrayUserDefinedSubType, out UnmanagedType arraySubType, out int sizeParamIndex, out int sizeConst, out string marshalType, out string marshalCookie, out int iidParamIndex)
 
static void ThrowError (int hResult)
 

Static Package Attributes

static readonly MetadataImport EmptyImport = new MetadataImport((IntPtr)0, null)
 

Private Member Functions

bool Equals (MetadataImport import)
 
static void _GetMarshalAs (IntPtr pNativeType, int cNativeType, out int unmanagedType, out int safeArraySubType, out string safeArrayUserDefinedSubType, out int arraySubType, out int sizeParamIndex, out int sizeConst, out string marshalType, out string marshalCookie, out int iidParamIndex)
 
static void _Enum (IntPtr scope, int type, int parent, out MetadataEnumResult result)
 
static string _GetDefaultValue (IntPtr scope, int mdToken, out long value, out int length, out int corElementType)
 
static unsafe void _GetUserString (IntPtr scope, int mdToken, void **name, out int length)
 
static unsafe void _GetName (IntPtr scope, int mdToken, void **name)
 
static unsafe void _GetNamespace (IntPtr scope, int mdToken, void **namesp)
 
static unsafe void _GetEventProps (IntPtr scope, int mdToken, void **name, out int eventAttributes)
 
static void _GetFieldDefProps (IntPtr scope, int mdToken, out int fieldAttributes)
 
static unsafe void _GetPropertyProps (IntPtr scope, int mdToken, void **name, out int propertyAttributes, out ConstArray signature)
 
static void _GetParentToken (IntPtr scope, int mdToken, out int tkParent)
 
static void _GetParamDefProps (IntPtr scope, int parameterToken, out int sequence, out int attributes)
 
static void _GetGenericParamProps (IntPtr scope, int genericParameter, out int flags)
 
static void _GetScopeProps (IntPtr scope, out Guid mvid)
 
static void _GetSigOfMethodDef (IntPtr scope, int methodToken, ref ConstArray signature)
 
static void _GetSignatureFromToken (IntPtr scope, int methodToken, ref ConstArray signature)
 
static void _GetMemberRefProps (IntPtr scope, int memberTokenRef, out ConstArray signature)
 
static void _GetCustomAttributeProps (IntPtr scope, int customAttributeToken, out int constructorToken, out ConstArray signature)
 
static void _GetClassLayout (IntPtr scope, int typeTokenDef, out int packSize, out int classSize)
 
static bool _GetFieldOffset (IntPtr scope, int typeTokenDef, int fieldTokenDef, out int offset)
 
static void _GetSigOfFieldDef (IntPtr scope, int fieldToken, ref ConstArray fieldMarshal)
 
static void _GetFieldMarshal (IntPtr scope, int fieldToken, ref ConstArray fieldMarshal)
 
static unsafe void _GetPInvokeMap (IntPtr scope, int token, out int attributes, void **importName, void **importDll)
 
static bool _IsValidToken (IntPtr scope, int token)
 

Private Attributes

readonly IntPtr m_metadataImport2
 
readonly object m_keepalive
 

Detailed Description

Definition at line 6 of file MetadataImport.cs.


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