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

◆ BindToField()

override FieldInfo System.DefaultBinder.BindToField ( BindingFlags bindingAttr,
FieldInfo[] match,
object value,
CultureInfo cultureInfo )
inline

Definition at line 78 of file DefaultBinder.cs.

79 {
80 if (match != null)
81 {
82 object obj;
83 if (obj == null || obj != null)
84 {
85 Type type = value.GetType();
86 long num = 0L;
87 bool flag = type == type;
88 bool isClass = type.IsClass;
89 Type type2;
90 bool flag2 = type == type2;
91 if (type == null || type != null)
92 {
93 bool isPrimitive = type.IsPrimitive;
94 if (type != null || type != null)
95 {
96 }
97 if (num == 0L)
98 {
99 goto IL_006E;
100 }
101 if (num == 0L)
102 {
103 }
104 int num2;
105 if (num2 != 0)
106 {
107 }
108 string resourceString = Environment.GetResourceString("Ambiguous match found.");
109 }
110 throw new ArrayTypeMismatchException();
111 }
112 goto IL_007A;
113 }
114 IL_006E:
115 string resourceString2 = Environment.GetResourceString("Field not found.");
116 IL_007A:
117 throw new InvalidCastException();
118 }
class f__AnonymousType0<< Count > j__TPar
static string GetResourceString(string key)
bool IsClass
Definition Type.cs:602
bool IsPrimitive
Definition Type.cs:780
new Type GetType()
Definition Type.cs:287

References System.Environment.GetResourceString(), System.Type.GetType(), System.Type.IsClass, System.Type.IsPrimitive, j__TPar, System.L, System.match, System.obj, and System.value.