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
UInt32.cs
Go to the documentation of this file.
1using System;
6
7namespace System
8{
9 // Token: 0x02000115 RID: 277
10 [CLSCompliant(false)]
13 {
14 // Token: 0x06000AC6 RID: 2758 RVA: 0x000183EC File Offset: 0x000165EC
15 public int CompareTo(object value)
16 {
17 if (value != null)
18 {
19 }
20 return 1;
21 }
22
23 // Token: 0x06000AC7 RID: 2759 RVA: 0x0000207A File Offset: 0x0000027A
24 public int CompareTo(uint value)
25 {
26 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
27 }
28
29 // Token: 0x06000AC8 RID: 2760 RVA: 0x00018400 File Offset: 0x00016600
30 public override bool Equals(object obj)
31 {
32 if (obj != null)
33 {
34 return;
35 }
36 }
37
38 // Token: 0x06000AC9 RID: 2761 RVA: 0x0000207A File Offset: 0x0000027A
40 public bool Equals(uint obj)
41 {
42 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
43 }
44
45 // Token: 0x06000ACA RID: 2762 RVA: 0x0000207A File Offset: 0x0000027A
46 public override int GetHashCode()
47 {
48 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
49 }
50
51 // Token: 0x06000ACB RID: 2763 RVA: 0x00018414 File Offset: 0x00016614
52 public override string ToString()
53 {
54 if (!true)
55 {
56 }
57 string text;
58 return text;
59 }
60
61 // Token: 0x06000ACC RID: 2764 RVA: 0x00018428 File Offset: 0x00016628
62 public string ToString(IFormatProvider provider)
63 {
64 if (!true)
65 {
66 }
67 string text;
68 return text;
69 }
70
71 // Token: 0x06000ACD RID: 2765 RVA: 0x0001843C File Offset: 0x0001663C
72 public string ToString(string format)
73 {
74 if (format != null)
75 {
76 char rawStringData = format.GetRawStringData();
77 int stringLength = format._stringLength;
78 }
79 if (!true)
80 {
81 }
82 string text;
83 return text;
84 }
85
86 // Token: 0x06000ACE RID: 2766 RVA: 0x00018460 File Offset: 0x00016660
87 public string ToString(string format, IFormatProvider provider)
88 {
89 if (format != null)
90 {
91 char rawStringData = format.GetRawStringData();
92 int stringLength = format._stringLength;
93 }
94 if (!true)
95 {
96 }
97 string text;
98 return text;
99 }
100
101 // Token: 0x06000ACF RID: 2767 RVA: 0x00018484 File Offset: 0x00016684
102 public bool TryFormat(Span<char> destination, [Out] int charsWritten, [Optional] ReadOnlySpan<char> format, [Optional] IFormatProvider provider)
103 {
104 if (!true)
105 {
106 }
107 bool flag;
108 return flag;
109 }
110
111 // Token: 0x06000AD0 RID: 2768 RVA: 0x00018498 File Offset: 0x00016698
112 [CLSCompliant(false)]
113 public static uint Parse(string s)
114 {
116 uint num;
117 return num;
118 }
119
120 // Token: 0x06000AD1 RID: 2769 RVA: 0x000184B8 File Offset: 0x000166B8
121 [CLSCompliant(false)]
122 public static uint Parse(string s, IFormatProvider provider)
123 {
124 uint num;
125 return num;
126 }
127
128 // Token: 0x06000AD2 RID: 2770 RVA: 0x000184D0 File Offset: 0x000166D0
129 [CLSCompliant(false)]
130 public static uint Parse(string s, NumberStyles style, IFormatProvider provider)
131 {
132 uint num;
133 return num;
134 }
135
136 // Token: 0x06000AD3 RID: 2771 RVA: 0x000184E8 File Offset: 0x000166E8
137 [CLSCompliant(false)]
138 public static bool TryParse(string s, NumberStyles style, IFormatProvider provider, [Out] uint result)
139 {
140 bool flag;
141 return flag;
142 }
143
144 // Token: 0x06000AD4 RID: 2772 RVA: 0x000184F8 File Offset: 0x000166F8
146 {
147 return TypeCode.UInt32;
148 }
149
150 // Token: 0x06000AD5 RID: 2773 RVA: 0x00018508 File Offset: 0x00016708
152 {
153 if (!true)
154 {
155 }
156 bool flag;
157 return flag;
158 }
159
160 // Token: 0x06000AD6 RID: 2774 RVA: 0x0001851C File Offset: 0x0001671C
162 {
163 if (!true)
164 {
165 }
166 char c;
167 return c;
168 }
169
170 // Token: 0x06000AD7 RID: 2775 RVA: 0x00018530 File Offset: 0x00016730
172 {
173 if (!true)
174 {
175 }
176 sbyte b;
177 return b;
178 }
179
180 // Token: 0x06000AD8 RID: 2776 RVA: 0x00018544 File Offset: 0x00016744
182 {
183 if (!true)
184 {
185 }
186 return Convert.ToByte((uint)0);
187 }
188
189 // Token: 0x06000AD9 RID: 2777 RVA: 0x0001855C File Offset: 0x0001675C
191 {
192 if (!true)
193 {
194 }
195 short num;
196 return num;
197 }
198
199 // Token: 0x06000ADA RID: 2778 RVA: 0x00018570 File Offset: 0x00016770
201 {
202 if (!true)
203 {
204 }
205 ushort num;
206 return num;
207 }
208
209 // Token: 0x06000ADB RID: 2779 RVA: 0x00018584 File Offset: 0x00016784
211 {
212 if (!true)
213 {
214 }
215 int num;
216 return num;
217 }
218
219 // Token: 0x06000ADC RID: 2780 RVA: 0x0000207A File Offset: 0x0000027A
221 {
222 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
223 }
224
225 // Token: 0x06000ADD RID: 2781 RVA: 0x00018598 File Offset: 0x00016798
227 {
228 if (!true)
229 {
230 }
231 long num;
232 return num;
233 }
234
235 // Token: 0x06000ADE RID: 2782 RVA: 0x000185AC File Offset: 0x000167AC
237 {
238 if (!true)
239 {
240 }
241 ulong num;
242 return num;
243 }
244
245 // Token: 0x06000ADF RID: 2783 RVA: 0x000185C0 File Offset: 0x000167C0
247 {
248 /*
249An exception occurred when decompiling this method (06000ADF)
250
251ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single System.UInt32::System.IConvertible.ToSingle(System.IFormatProvider)
252
253 ---> System.Exception: Basic block has to end with unconditional control flow.
254{
255 IL_0000:
256 brtrue(IL_0000, ldc.i4:bool(1))
257}
258
259 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
260 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
261 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
262 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
263 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
264 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
265 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
266 --- End of inner exception stack trace ---
267 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
268 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
269*/;
270 }
271
272 // Token: 0x06000AE0 RID: 2784 RVA: 0x000185D0 File Offset: 0x000167D0
274 {
275 /*
276An exception occurred when decompiling this method (06000AE0)
277
278ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.UInt32::System.IConvertible.ToDouble(System.IFormatProvider)
279
280 ---> System.Exception: Basic block has to end with unconditional control flow.
281{
282 IL_0000:
283 brtrue(IL_0000, ldstr:string[exp:bool]("Shadow Key"))
284}
285
286 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
287 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
288 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
289 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
290 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
291 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
292 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
293 --- End of inner exception stack trace ---
294 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
295 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
296*/;
297 }
298
299 // Token: 0x06000AE1 RID: 2785 RVA: 0x000185E4 File Offset: 0x000167E4
301 {
302 if (!true)
303 {
304 }
305 return 1;
306 }
307
308 // Token: 0x06000AE2 RID: 2786 RVA: 0x000185F8 File Offset: 0x000167F8
310 {
311 /*
312An exception occurred when decompiling this method (06000AE2)
313
314ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime System.UInt32::System.IConvertible.ToDateTime(System.IFormatProvider)
315
316 ---> System.Exception: Basic block has to end with unconditional control flow.
317{
318 Block_0:
319 stloc:string(var_0_14, call:string(SR::Format, ldstr:string("Invalid cast from '{0}' to '{1}'."), ldstr:string[exp:object]("UInt32"), ldstr:string[exp:object]("DateTime")))
320}
321
322 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
323 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
324 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
325 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
326 --- End of inner exception stack trace ---
327 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
328 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
329*/;
330 }
331
332 // Token: 0x06000AE3 RID: 2787 RVA: 0x0001861C File Offset: 0x0001681C
334 {
335 object obj;
336 return obj;
337 }
338
339 // Token: 0x040003F9 RID: 1017
340 private readonly uint m_value;
341
342 // Token: 0x040003FA RID: 1018
343 public const uint MaxValue = 4294967295U;
344
345 // Token: 0x040003FB RID: 1019
346 public const uint MinValue = 0U;
347 }
348}
class f__AnonymousType0<< Count > j__TPar
static byte ToByte(object value, IFormatProvider provider)
Definition Convert.cs:737
double ToDouble(IFormatProvider provider)
DateTime ToDateTime(IFormatProvider provider)
short ToInt16(IFormatProvider provider)
int ToInt32(IFormatProvider provider)
char ToChar(IFormatProvider provider)
float ToSingle(IFormatProvider provider)
ulong ToUInt64(IFormatProvider provider)
ushort ToUInt16(IFormatProvider provider)
decimal ToDecimal(IFormatProvider provider)
bool ToBoolean(IFormatProvider provider)
object ToType(Type conversionType, IFormatProvider provider)
sbyte ToSByte(IFormatProvider provider)
uint ToUInt32(IFormatProvider provider)
byte ToByte(IFormatProvider provider)
long ToInt64(IFormatProvider provider)
TypeCode
Definition TypeCode.cs:7
readonly uint m_value
Definition UInt32.cs:340
const uint MaxValue
Definition UInt32.cs:343
static uint Parse(string s, NumberStyles style, IFormatProvider provider)
Definition UInt32.cs:130
string ToString(string format)
Definition UInt32.cs:72
override bool Equals(object obj)
Definition UInt32.cs:30
static bool TryParse(string s, NumberStyles style, IFormatProvider provider, [Out] uint result)
Definition UInt32.cs:138
int CompareTo(object value)
Definition UInt32.cs:15
override int GetHashCode()
Definition UInt32.cs:46
static uint Parse(string s)
Definition UInt32.cs:113
override string ToString()
Definition UInt32.cs:52
string ToString(string format, IFormatProvider provider)
Definition UInt32.cs:87
string ToString(IFormatProvider provider)
Definition UInt32.cs:62
bool TryFormat(Span< char > destination, [Out] int charsWritten, [Optional] ReadOnlySpan< char > format, [Optional] IFormatProvider provider)
Definition UInt32.cs:102
const uint MinValue
Definition UInt32.cs:346
int CompareTo(uint value)
Definition UInt32.cs:24
TypeCode GetTypeCode()
Definition UInt32.cs:145
bool Equals(uint obj)
Definition UInt32.cs:40
static uint Parse(string s, IFormatProvider provider)
Definition UInt32.cs:122