terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetCustomAttributes() [2/2]

static object[] System.MonoCustomAttrs.GetCustomAttributes ( ICustomAttributeProvider obj,
Type attributeType,
bool inherit )
inlinestaticpackage

Definition at line 65 of file MonoCustomAttrs.cs.

66 {
67 if (!false)
68 {
69 }
71 if (!attributeUsageAttribute._inherited)
72 {
73 }
74 int num = 16;
75 int num2 = Math.Max(0, num);
76 long num3 = 0L;
78 bool allowMultiple;
79 if ((num3 == 0L && num3 == 0L) || attributeUsageAttribute2._inherited)
80 {
83 {
84 }
85 }
86 if (!allowMultiple)
87 {
88 }
90 if (customAttributeProvider != null)
91 {
92 object[] array;
93 return array;
94 }
96 if (array2 != null)
97 {
98 if (array2 == null)
99 {
100 throw new InvalidCastException();
101 }
102 }
104 if (array3 != null && array3 == null)
105 {
106 throw new InvalidCastException();
107 }
108 return "obj";
109 }
class f__AnonymousType0<< Count > j__TPar
static byte Max(byte val1, byte val2)
Definition Math.cs:111

References System.AttributeUsageAttribute._allowMultiple, System.array, j__TPar, System.L, and System.Math.Max().

Referenced by System.Reflection.RuntimeAssembly.GetCustomAttributes(), System.Reflection.RuntimeConstructorInfo.GetCustomAttributes(), System.Reflection.RuntimeEventInfo.GetCustomAttributes(), System.Reflection.RuntimeFieldInfo.GetCustomAttributes(), System.Reflection.RuntimeMethodInfo.GetCustomAttributes(), System.Reflection.RuntimeModule.GetCustomAttributes(), System.Reflection.RuntimeParameterInfo.GetCustomAttributes(), System.Reflection.RuntimePropertyInfo.GetCustomAttributes(), System.Reflection.RuntimeAssembly.GetCustomAttributes(), System.Reflection.RuntimeConstructorInfo.GetCustomAttributes(), System.Reflection.RuntimeEventInfo.GetCustomAttributes(), System.Reflection.RuntimeFieldInfo.GetCustomAttributes(), System.Reflection.RuntimeMethodInfo.GetCustomAttributes(), System.Reflection.RuntimeModule.GetCustomAttributes(), System.Reflection.RuntimeParameterInfo.GetCustomAttributes(), and System.Reflection.RuntimePropertyInfo.GetCustomAttributes().