Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCustomAttributes() [5/5]

static IList< CustomAttributeData > System.Reflection.RuntimeCustomAttributeData.GetCustomAttributes ( RuntimeModule module,
int tkTarget )
inlinestaticprivate

Definition at line 274 of file RuntimeCustomAttributeData.cs.

275 {
277 if (customAttributeRecords.Length == 0)
278 {
279 return Array.Empty<CustomAttributeData>();
280 }
282 for (int i = 0; i < customAttributeRecords.Length; i++)
283 {
285 }
286 return Array.AsReadOnly(array);
287 }
static CustomAttributeRecord[] GetCustomAttributeRecords(RuntimeModule module, int targetToken)
RuntimeCustomAttributeData(RuntimeModule scope, MetadataToken caCtorToken, in ConstArray blob)

References System.Reflection.RuntimeCustomAttributeData.RuntimeCustomAttributeData(), System.array, and System.Reflection.RuntimeCustomAttributeData.GetCustomAttributeRecords().

Referenced by System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal(), and System.Reflection.RuntimeCustomAttributeData.GetCustomAttributesInternal().