Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Reflection.CustomAttribute Class Reference

Static Package Functions

static bool IsDefined (RuntimeType type, RuntimeType caType, bool inherit)
 
static bool IsDefined (RuntimeMethodInfo method, RuntimeType caType, bool inherit)
 
static bool IsDefined (RuntimeConstructorInfo ctor, RuntimeType caType)
 
static bool IsDefined (RuntimePropertyInfo property, RuntimeType caType)
 
static bool IsDefined (RuntimeEventInfo e, RuntimeType caType)
 
static bool IsDefined (RuntimeFieldInfo field, RuntimeType caType)
 
static bool IsDefined (RuntimeParameterInfo parameter, RuntimeType caType)
 
static bool IsDefined (RuntimeAssembly assembly, RuntimeType caType)
 
static bool IsDefined (RuntimeModule module, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeType type, RuntimeType caType, bool inherit)
 
static object[] GetCustomAttributes (RuntimeMethodInfo method, RuntimeType caType, bool inherit)
 
static object[] GetCustomAttributes (RuntimeConstructorInfo ctor, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimePropertyInfo property, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeEventInfo e, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeFieldInfo field, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeParameterInfo parameter, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeAssembly assembly, RuntimeType caType)
 
static object[] GetCustomAttributes (RuntimeModule module, RuntimeType caType)
 
static AttributeUsageAttribute GetAttributeUsage (RuntimeType decoratedAttribute)
 

Private Member Functions

static void _ParseAttributeUsageAttribute (IntPtr pCa, int cCa, out int targets, out bool inherited, out bool allowMultiple)
 
static unsafe object _CreateCaObject (RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, byte **ppBlob, byte *pEndBlob, int *pcNamedArgs)
 
static unsafe void _GetPropertyOrFieldData (RuntimeModule pModule, byte **ppBlobStart, byte *pBlobEnd, out string name, out bool bIsProperty, out RuntimeType type, out object value)
 

Static Private Member Functions

static bool IsCustomAttributeDefined (RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType)
 
static bool IsCustomAttributeDefined (RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType, int attributeCtorToken, bool mustBeInheritable)
 
static object[] GetCustomAttributes (RuntimeModule decoratedModule, int decoratedMetadataToken, int pcaCount, RuntimeType attributeFilterType)
 
static unsafe void AddCustomAttributes (ref RuntimeType.ListBuilder< object > attributes, RuntimeModule decoratedModule, int decoratedMetadataToken, RuntimeType attributeFilterType, bool mustBeInheritable, RuntimeType.ListBuilder< object > derivedAttributes)
 
static bool FilterCustomAttributeRecord (MetadataToken caCtorToken, in MetadataImport scope, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, bool mustBeInheritable, ref RuntimeType.ListBuilder< object > derivedAttributes, out RuntimeType attributeType, out IRuntimeMethodInfo ctorWithParameters, out bool isVarArg)
 
static bool AttributeUsageCheck (RuntimeType attributeType, bool mustBeInheritable, ref RuntimeType.ListBuilder< object > derivedAttributes)
 
static void ParseAttributeUsageAttribute (ConstArray ca, out AttributeTargets targets, out bool inherited, out bool allowMultiple)
 
static unsafe object CreateCaObject (RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, ref IntPtr blob, IntPtr blobEnd, out int namedArgs)
 
static unsafe void GetPropertyOrFieldData (RuntimeModule module, ref IntPtr blobStart, IntPtr blobEnd, out string name, out bool isProperty, out RuntimeType type, out object value)
 
static object[] CreateAttributeArrayHelper (RuntimeType elementType, int elementCount)
 

Static Private Attributes

static readonly RuntimeType Type_RuntimeType = (RuntimeType)typeof(RuntimeType)
 
static readonly RuntimeType Type_Type = (RuntimeType)typeof(Type)
 

Detailed Description

Definition at line 7 of file CustomAttribute.cs.


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