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
FieldInfo.cs
Go to the documentation of this file.
1using System;
6
7namespace System.Reflection
8{
9 // Token: 0x020004D4 RID: 1236
11 public abstract class FieldInfo : MemberInfo
12 {
13 // Token: 0x06002390 RID: 9104 RVA: 0x0005060C File Offset: 0x0004E80C
14 protected FieldInfo()
15 {
16 }
17
18 // Token: 0x1700049D RID: 1181
19 // (get) Token: 0x06002391 RID: 9105 RVA: 0x00050620 File Offset: 0x0004E820
20 public override MemberTypes MemberType
21 {
22 get
23 {
24 return MemberTypes.Field;
25 }
26 }
27
28 // Token: 0x1700049E RID: 1182
29 // (get) Token: 0x06002392 RID: 9106
30 public abstract FieldAttributes Attributes { get; }
31
32 // Token: 0x1700049F RID: 1183
33 // (get) Token: 0x06002393 RID: 9107
34 public abstract Type FieldType { get; }
35
36 // Token: 0x170004A0 RID: 1184
37 // (get) Token: 0x06002394 RID: 9108 RVA: 0x0000207A File Offset: 0x0000027A
38 public bool IsInitOnly
39 {
40 get
41 {
42 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
43 }
44 }
45
46 // Token: 0x170004A1 RID: 1185
47 // (get) Token: 0x06002395 RID: 9109 RVA: 0x0000207A File Offset: 0x0000027A
48 public bool IsLiteral
49 {
50 get
51 {
52 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
53 }
54 }
55
56 // Token: 0x170004A2 RID: 1186
57 // (get) Token: 0x06002396 RID: 9110 RVA: 0x0000207A File Offset: 0x0000027A
58 public bool IsNotSerialized
59 {
60 get
61 {
62 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
63 }
64 }
65
66 // Token: 0x170004A3 RID: 1187
67 // (get) Token: 0x06002397 RID: 9111 RVA: 0x0000207A File Offset: 0x0000027A
68 public bool IsStatic
69 {
70 get
71 {
72 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
73 }
74 }
75
76 // Token: 0x170004A4 RID: 1188
77 // (get) Token: 0x06002398 RID: 9112 RVA: 0x0000207A File Offset: 0x0000027A
78 public bool IsPrivate
79 {
80 get
81 {
82 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
83 }
84 }
85
86 // Token: 0x170004A5 RID: 1189
87 // (get) Token: 0x06002399 RID: 9113 RVA: 0x0000207A File Offset: 0x0000027A
88 public bool IsPublic
89 {
90 get
91 {
92 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
93 }
94 }
95
96 // Token: 0x170004A6 RID: 1190
97 // (get) Token: 0x0600239A RID: 9114
98 public abstract RuntimeFieldHandle FieldHandle { get; }
99
100 // Token: 0x0600239B RID: 9115 RVA: 0x00050630 File Offset: 0x0004E830
101 public override bool Equals(object obj)
102 {
103 return base.Equals(obj);
104 }
105
106 // Token: 0x0600239C RID: 9116 RVA: 0x00050644 File Offset: 0x0004E844
107 public override int GetHashCode()
108 {
109 return base.GetHashCode();
110 }
111
112 // Token: 0x0600239D RID: 9117 RVA: 0x00050658 File Offset: 0x0004E858
113 public static bool operator ==(FieldInfo left, FieldInfo right)
114 {
115 if (left != null)
116 {
117 }
118 return true;
119 }
120
121 // Token: 0x0600239E RID: 9118 RVA: 0x0005066C File Offset: 0x0004E86C
122 public static bool operator !=(FieldInfo left, FieldInfo right)
123 {
124 /*
125An exception occurred when decompiling this method (0600239E)
126
127ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Reflection.FieldInfo::op_Inequality(System.Reflection.FieldInfo,System.Reflection.FieldInfo)
128
129 ---> System.Exception: Basic block has to end with unconditional control flow.
130{
131 IL_0000:
132 brtrue(IL_0000, logicnot:bool(ldloc:FieldInfo[exp:bool](left)))
133}
134
135 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
136 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
137 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
138 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
139 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
140 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
141 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
142 --- End of inner exception stack trace ---
143 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
144 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
145*/;
146 }
147
148 // Token: 0x0600239F RID: 9119
149 public abstract object GetValue(object obj);
150
151 // Token: 0x060023A0 RID: 9120 RVA: 0x0005067C File Offset: 0x0004E87C
154 public void SetValue(object obj, object value)
155 {
156 if (!true)
157 {
158 }
160 }
161
162 // Token: 0x060023A1 RID: 9121
163 public abstract void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture);
164
165 // Token: 0x060023A2 RID: 9122 RVA: 0x0000207A File Offset: 0x0000027A
166 [CLSCompliant(false)]
167 public virtual void SetValueDirect(TypedReference obj, object value)
168 {
169 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
170 }
171
172 // Token: 0x060023A3 RID: 9123 RVA: 0x0000207A File Offset: 0x0000027A
173 public virtual object GetRawConstantValue()
174 {
175 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
176 }
177
178 // Token: 0x060023A4 RID: 9124 RVA: 0x0000207A File Offset: 0x0000027A
180 {
181 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
182 }
183
184 // Token: 0x060023A5 RID: 9125 RVA: 0x0000207A File Offset: 0x0000027A
186 {
187 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
188 }
189
190 // Token: 0x060023A6 RID: 9126 RVA: 0x00050694 File Offset: 0x0004E894
191 [ComVisible(false)]
193 {
194 bool flag;
195 while (!flag)
196 {
197 }
198 return "The handle is invalid.";
199 }
200
201 // Token: 0x060023A7 RID: 9127 RVA: 0x0000207A File Offset: 0x0000027A
202 internal virtual int GetFieldOffset()
203 {
204 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
205 }
206
207 // Token: 0x060023A8 RID: 9128 RVA: 0x0000207A File Offset: 0x0000027A
209 {
210 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
211 }
212
213 // Token: 0x060023A9 RID: 9129 RVA: 0x000506AC File Offset: 0x0004E8AC
214 internal object[] GetPseudoCustomAttributes()
215 {
216 if (this != null)
217 {
218 }
219 if (this == null || this != null)
220 {
221 }
222 throw new ArrayTypeMismatchException();
223 }
224
225 // Token: 0x060023AA RID: 9130 RVA: 0x000506CC File Offset: 0x0004E8CC
227 {
228 if (this != null)
229 {
230 }
231 Type type;
232 Type type2;
233 if ((type == null || type != null) && this != null && (type2 == null || type2 != null))
234 {
235 }
236 throw new ArrayTypeMismatchException();
237 }
238 }
239}
class f__AnonymousType0<< Count > j__TPar
MarshalAsAttribute get_marshal_info()
Definition FieldInfo.cs:208
FieldAttributes Attributes
Definition FieldInfo.cs:30
object GetValue(object obj)
override int GetHashCode()
Definition FieldInfo.cs:107
override bool Equals(object obj)
Definition FieldInfo.cs:101
CustomAttributeData[] GetPseudoCustomAttributesData()
Definition FieldInfo.cs:226
object[] GetPseudoCustomAttributes()
Definition FieldInfo.cs:214
RuntimeFieldHandle FieldHandle
Definition FieldInfo.cs:98
virtual void SetValueDirect(TypedReference obj, object value)
Definition FieldInfo.cs:167
override MemberTypes MemberType
Definition FieldInfo.cs:21
static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle)
Definition FieldInfo.cs:185
virtual int GetFieldOffset()
Definition FieldInfo.cs:202
void SetValue(object obj, object value, BindingFlags invokeAttr, Binder binder, CultureInfo culture)
virtual object GetRawConstantValue()
Definition FieldInfo.cs:173
static FieldInfo GetFieldFromHandle(RuntimeFieldHandle handle, RuntimeTypeHandle declaringType)
Definition FieldInfo.cs:192
void SetValue(object obj, object value)
Definition FieldInfo.cs:154
static bool operator!=(FieldInfo left, FieldInfo right)
Definition FieldInfo.cs:122
static bool operator==(FieldInfo left, FieldInfo right)
Definition FieldInfo.cs:113
static FieldInfo internal_from_handle_type(IntPtr field_handle, IntPtr type_handle)
Definition FieldInfo.cs:179
static Binder DefaultBinder
Definition Type.cs:1282