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
Number.cs
Go to the documentation of this file.
1using System;
5using System.Text;
7
8namespace System
9{
10 // Token: 0x020000E5 RID: 229
11 internal static class Number
12 {
13 // Token: 0x06000859 RID: 2137 RVA: 0x000135D4 File Offset: 0x000117D4
15 {
16 if (!true)
17 {
18 }
19 int num = 1;
20 if (num == 0)
21 {
22 }
23 if (num == 0)
24 {
25 }
26 string text;
27 return text;
28 }
29
30 // Token: 0x0600085A RID: 2138 RVA: 0x000135F0 File Offset: 0x000117F0
32 {
33 if (!true)
34 {
35 }
36 int num = 1;
37 if (num == 0)
38 {
39 }
40 if (num == 0)
41 {
42 }
43 bool flag;
44 return flag;
45 }
46
47 // Token: 0x0600085B RID: 2139 RVA: 0x0001360C File Offset: 0x0001180C
48 private static void DecimalToNumber(decimal value, Number.NumberBuffer number)
49 {
50 int num = 29;
51 int num2;
52 if (num != 0)
53 {
54 if (num == 0)
55 {
56 }
57 num2 = 7;
58 while (num2 != 0)
59 {
60 }
61 return;
62 }
63 if (num2 == 0)
64 {
65 }
66 uint num3;
67 if (num3 != 0U)
68 {
69 }
70 }
71
72 // Token: 0x0600085C RID: 2140 RVA: 0x0001363C File Offset: 0x0001183C
73 public static string FormatDouble(double value, string format, NumberFormatInfo info)
74 {
75 if (!true)
76 {
77 }
78 string text;
79 if (text == null)
80 {
81 }
82 string text2;
83 return text2;
84 }
85
86 // Token: 0x0600085D RID: 2141 RVA: 0x00013654 File Offset: 0x00011854
88 {
89 int num = 1;
90 if (num == 0)
91 {
92 }
93 string text;
94 if (text != null)
95 {
96 if (num == 0)
97 {
98 }
100 }
101 bool flag;
102 return flag;
103 }
104
105 // Token: 0x0600085E RID: 2142 RVA: 0x0001367C File Offset: 0x0001187C
107 {
108 if (!true)
109 {
110 }
111 if (!true)
112 {
113 }
114 if (!true)
115 {
116 }
117 if (!true)
118 {
119 }
120 if (15 == 0)
121 {
122 }
123 return info.nanSymbol;
124 }
125
126 // Token: 0x0600085F RID: 2143 RVA: 0x000136B8 File Offset: 0x000118B8
127 public static string FormatSingle(float value, string format, NumberFormatInfo info)
128 {
129 if (!true)
130 {
131 }
132 string text;
133 if (text == null)
134 {
135 }
136 string text2;
137 return text2;
138 }
139
140 // Token: 0x06000860 RID: 2144 RVA: 0x000136D0 File Offset: 0x000118D0
142 {
143 int num = 1;
144 if (num == 0)
145 {
146 }
147 string text;
148 if (text != null)
149 {
150 if (num == 0)
151 {
152 }
154 }
155 bool flag;
156 return flag;
157 }
158
159 // Token: 0x06000861 RID: 2145 RVA: 0x000136F8 File Offset: 0x000118F8
161 {
162 if (!true)
163 {
164 }
165 if (!true)
166 {
167 }
168 if (!true)
169 {
170 }
171 if (!true)
172 {
173 }
174 if (!true)
175 {
176 }
177 return info.nanSymbol;
178 }
179
180 // Token: 0x06000862 RID: 2146 RVA: 0x00013730 File Offset: 0x00011930
181 private static bool TryCopyTo(string source, Span<char> destination, [Out] int charsWritten)
182 {
183 return true;
184 }
185
186 // Token: 0x06000863 RID: 2147 RVA: 0x0001374C File Offset: 0x0001194C
187 public static string FormatInt32(int value, ReadOnlySpan<char> format, IFormatProvider provider)
188 {
189 int num = 1;
190 if (format == null)
191 {
192 if (num == 0)
193 {
194 }
195 return 42181520;
196 }
197 if (num == 0)
198 {
199 }
200 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
201 int num2 = 65503;
202 if (num2 == 0)
203 {
204 if (num2 == 0)
205 {
206 }
207 string text;
208 return text;
209 }
210 if (num2 == 0)
211 {
212 }
213 string text2;
214 return text2;
215 }
216
217 // Token: 0x06000864 RID: 2148 RVA: 0x000137BC File Offset: 0x000119BC
219 {
220 int num = 1;
221 if (format == null)
222 {
223 if (num == 0)
224 {
225 }
226 return true;
227 }
228 if (num == 0)
229 {
230 }
231 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
232 int num2 = 65503;
233 if (num2 == 0)
234 {
235 if (num2 == 0)
236 {
237 }
238 bool flag;
239 return flag;
240 }
241 if (num2 == 0)
242 {
243 }
244 bool flag2;
245 return flag2;
246 }
247
248 // Token: 0x06000865 RID: 2149 RVA: 0x00013818 File Offset: 0x00011A18
249 public static string FormatUInt32(uint value, ReadOnlySpan<char> format, IFormatProvider provider)
250 {
251 int num = 1;
252 int num2;
253 string text;
254 if (format == null)
255 {
256 if (num2 == 0)
257 {
258 }
259 return text;
260 }
261 if (num == 0)
262 {
263 }
264 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
265 num2 = 65503;
266 if (num2 == 0)
267 {
268 if (num2 == 0)
269 {
270 }
271 return text;
272 }
273 if (num2 == 0)
274 {
275 }
276 string text2;
277 return text2;
278 }
279
280 // Token: 0x06000866 RID: 2150 RVA: 0x00013870 File Offset: 0x00011A70
282 {
283 bool flag;
284 if (format == null)
285 {
286 if (42181520 == 0)
287 {
288 }
289 return flag;
290 }
291 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
292 if (65503 == 0)
293 {
294 return flag;
295 }
296 bool flag2;
297 return flag2;
298 }
299
300 // Token: 0x06000867 RID: 2151 RVA: 0x000138A0 File Offset: 0x00011AA0
301 public static string FormatInt64(long value, ReadOnlySpan<char> format, IFormatProvider provider)
302 {
303 int num = 1;
304 if (num == 0)
305 {
306 }
307 if (num == 0)
308 {
309 }
310 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
311 int num2 = 65503;
312 if (num2 == 0)
313 {
314 if (num2 == 0)
315 {
316 }
317 string text;
318 return text;
319 }
320 if (num2 == 0)
321 {
322 }
323 string text2;
324 return text2;
325 }
326
327 // Token: 0x06000868 RID: 2152 RVA: 0x000138E4 File Offset: 0x00011AE4
329 {
330 int num = 1;
331 if (format != null || num == 0)
332 {
333 }
334 if (num == 0)
335 {
336 }
337 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
338 int num2 = 65503;
339 if (num2 == 0)
340 {
341 if (num2 == 0)
342 {
343 }
344 bool flag;
345 return flag;
346 }
347 bool flag2;
348 return flag2;
349 }
350
351 // Token: 0x06000869 RID: 2153 RVA: 0x00013924 File Offset: 0x00011B24
353 {
354 int num = 1;
355 int num2;
356 string text;
357 if (format == null)
358 {
359 if (num2 == 0)
360 {
361 }
362 return text;
363 }
364 if (num == 0)
365 {
366 }
367 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
368 num2 = 65503;
369 if (num2 == 0)
370 {
371 if (num2 == 0)
372 {
373 }
374 return text;
375 }
376 string text2;
377 return text2;
378 }
379
380 // Token: 0x0600086A RID: 2154 RVA: 0x00013970 File Offset: 0x00011B70
382 {
383 int num = 1;
384 int num2;
385 bool flag;
386 if (format == null)
387 {
388 if (num2 == 0)
389 {
390 }
391 return flag;
392 }
393 if (num == 0)
394 {
395 }
396 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
397 num2 = 65503;
398 if (num2 == 0)
399 {
400 if (num2 == 0)
401 {
402 }
403 return flag;
404 }
405 bool flag2;
406 return flag2;
407 }
408
409 // Token: 0x0600086B RID: 2155 RVA: 0x000139B4 File Offset: 0x00011BB4
410 private static void Int32ToNumber(int value, Number.NumberBuffer number)
411 {
412 int num = 10;
413 number.precision = num;
414 long num2 = 0L;
415 number.sign = num2 != 0L;
416 }
417
418 // Token: 0x0600086C RID: 2156 RVA: 0x000139F8 File Offset: 0x00011BF8
419 private static string NegativeInt32ToDecStr(int value, int digits, string sNegative)
420 {
421 string text = string.FastAllocateString(value);
422 if (text != null)
423 {
425 }
426 return text;
427 }
428
429 // Token: 0x0600086D RID: 2157 RVA: 0x00013A1C File Offset: 0x00011C1C
430 private static bool TryNegativeInt32ToDecStr(int value, int digits, string sNegative, Span<char> destination, [Out] int charsWritten)
431 {
432 if (6 == 0)
433 {
434 return;
435 }
436 }
437
438 // Token: 0x0600086E RID: 2158 RVA: 0x00013A34 File Offset: 0x00011C34
439 private static string Int32ToHexStr(int value, char hexBase, int digits)
440 {
441 int num = 1;
442 if (5 == 0)
443 {
444 }
445 string text = string.FastAllocateString(0);
446 if (text != null)
447 {
449 }
450 if (num == 0)
451 {
452 }
453 return text;
454 }
455
456 // Token: 0x0600086F RID: 2159 RVA: 0x00013A5C File Offset: 0x00011C5C
457 private static bool TryInt32ToHexStr(int value, char hexBase, int digits, Span<char> destination, [Out] int charsWritten)
458 {
459 if (5 == 0)
460 {
461 return;
462 }
463 }
464
465 // Token: 0x06000870 RID: 2160 RVA: 0x00013A74 File Offset: 0x00011C74
466 private unsafe static char* Int32ToHexChars(char* buffer, uint value, int hexBase, int digits)
467 {
468 /*
469An exception occurred when decompiling this method (06000870)
470
471ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char* System.Number::Int32ToHexChars(System.Char*,System.UInt32,System.Int32,System.Int32)
472
473 ---> System.Exception: Basic block has to end with unconditional control flow.
474{
475 IL_0003:
476 brtrue(IL_0003, ldloc:char*[exp:bool](buffer))
477}
478
479 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
480 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
481 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
482 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
483 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
484 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
485 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
486 --- End of inner exception stack trace ---
487 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
488 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
489*/;
490 }
491
492 // Token: 0x06000871 RID: 2161 RVA: 0x00013A88 File Offset: 0x00011C88
494 {
495 int num = 10;
496 long num2 = 0L;
497 number.precision = num;
498 number.sign = num2 != 0L;
499 char* digits = number.digits;
500 if (value != 0U)
501 {
502 return;
503 }
504 number.scale = (int)value;
505 char* digits2 = number.digits;
506 }
507
508 // Token: 0x06000872 RID: 2162 RVA: 0x00013AC4 File Offset: 0x00011CC4
509 internal unsafe static char* UInt32ToDecChars(char* bufferEnd, uint value, int digits)
510 {
511 /*
512An exception occurred when decompiling this method (06000872)
513
514ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char* System.Number::UInt32ToDecChars(System.Char*,System.UInt32,System.Int32)
515
516 ---> System.Exception: Basic block has to end with unconditional control flow.
517{
518 IL_0000:
519 brtrue(IL_0000, logicnot:bool(ldloc:char*[exp:bool](bufferEnd)))
520}
521
522 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
523 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
524 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
525 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
526 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
527 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
528 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
529 --- End of inner exception stack trace ---
530 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
531 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
532*/;
533 }
534
535 // Token: 0x06000873 RID: 2163 RVA: 0x00013AD4 File Offset: 0x00011CD4
536 private static string UInt32ToDecStr(uint value, int digits)
537 {
538 string text = string.FastAllocateString(0);
539 if (text != null)
540 {
542 }
543 return text;
544 }
545
546 // Token: 0x06000874 RID: 2164 RVA: 0x00013AF4 File Offset: 0x00011CF4
547 private static bool TryUInt32ToDecStr(uint value, int digits, Span<char> destination, [Out] int charsWritten)
548 {
549 }
550
551 // Token: 0x06000875 RID: 2165 RVA: 0x00013B08 File Offset: 0x00011D08
553 {
554 int num = 19;
555 number.precision = num;
556 bool sign = number.sign;
557 char* digits = number.digits;
558 if (num == 0)
559 {
560 }
561 if (num == 0)
562 {
563 }
564 }
565
566 // Token: 0x06000876 RID: 2166 RVA: 0x00013B4C File Offset: 0x00011D4C
567 private static string NegativeInt64ToDecStr(long input, int digits, string sNegative)
568 {
569 long num = 16383L;
570 string text = string.FastAllocateString(0);
571 if (text != null)
572 {
574 }
575 if (text == null)
576 {
577 }
578 if (num == 0L || text == null)
579 {
580 }
581 if ((text != null && text == null) || text == null)
582 {
583 }
584 return text;
585 }
586
587 // Token: 0x06000877 RID: 2167 RVA: 0x00013B98 File Offset: 0x00011D98
588 private static bool TryNegativeInt64ToDecStr(long input, int digits, string sNegative, Span<char> destination, [Out] int charsWritten)
589 {
590 long num = 16383L;
591 if (num != 0L)
592 {
593 return;
594 }
595 }
596
597 // Token: 0x06000878 RID: 2168 RVA: 0x00013BC0 File Offset: 0x00011DC0
598 private static string Int64ToHexStr(long value, char hexBase, int digits)
599 {
600 string text = string.FastAllocateString(0);
601 if (text != null)
602 {
604 }
605 if (text != null)
606 {
607 }
608 if (48 == 0)
609 {
610 }
611 return text;
612 }
613
614 // Token: 0x06000879 RID: 2169 RVA: 0x00013BEC File Offset: 0x00011DEC
615 private static bool TryInt64ToHexStr(long value, char hexBase, int digits, Span<char> destination, [Out] int charsWritten)
616 {
617 if (48 == 0)
618 {
619 return;
620 }
621 }
622
623 // Token: 0x0600087A RID: 2170 RVA: 0x00013C04 File Offset: 0x00011E04
625 {
626 int num = 20;
627 long num2 = 0L;
628 number.precision = num;
629 number.sign = num2 != 0L;
630 char* digits = number.digits;
631 if (num == 0)
632 {
633 }
634 if (num == 0)
635 {
636 }
637 }
638
639 // Token: 0x0600087B RID: 2171 RVA: 0x00013C54 File Offset: 0x00011E54
640 private static string UInt64ToDecStr(ulong value, int digits)
641 {
642 long num = 16383L;
643 string text = string.FastAllocateString(43155456);
644 if (text != null)
645 {
647 }
648 if (text == null)
649 {
650 }
651 if (num == 0L || text == null)
652 {
653 }
654 if ((text != null && text == null) || text == null)
655 {
656 }
657 return text;
658 }
659
660 // Token: 0x0600087C RID: 2172 RVA: 0x00013CA8 File Offset: 0x00011EA8
661 private static bool TryUInt64ToDecStr(ulong value, int digits, Span<char> destination, [Out] int charsWritten)
662 {
663 long num = 16383L;
664 if (num != 0L)
665 {
666 return;
667 }
668 }
669
670 // Token: 0x0600087D RID: 2173 RVA: 0x00013CD4 File Offset: 0x00011ED4
671 internal static char ParseFormatSpecifier(ReadOnlySpan<char> format, [Out] int digits)
672 {
673 /*
674An exception occurred when decompiling this method (0600087D)
675
676ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Number::ParseFormatSpecifier(System.ReadOnlySpan`1<System.Char>,System.Int32)
677
678 ---> System.Exception: Basic block has to end with unconditional control flow.
679{
680 Block_2:
681 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](digits), ldloc:int64[exp:int32](var_5_25))
682}
683
684 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
685 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
686 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
687 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
688 --- End of inner exception stack trace ---
689 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
690 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
691*/;
692 }
693
694 // Token: 0x0600087E RID: 2174 RVA: 0x00013D14 File Offset: 0x00011F14
698
699 // Token: 0x0600087F RID: 2175 RVA: 0x00013ED4 File Offset: 0x000120D4
701 {
702 char* digits = number.digits;
703 bool sign = number.sign;
704 }
705
706 // Token: 0x06000880 RID: 2176 RVA: 0x00014168 File Offset: 0x00012368
708 {
709 bool sign = number.sign;
710 long num = 0L;
711 int[] currencyGroupSizes = info.currencyGroupSizes;
712 string currencyGroupSeparator = info.currencyGroupSeparator;
713 string currencyDecimalSeparator = info.currencyDecimalSeparator;
714 Number.FormatFixed(sb, number, (int)num, nMaxDigits, info, currencyGroupSizes, currencyDecimalSeparator, currencyGroupSeparator);
715 }
716
717 // Token: 0x06000881 RID: 2177 RVA: 0x00014234 File Offset: 0x00012434
719 {
720 int num = 1;
721 int scale = number.scale;
722 char* digits = number.digits;
723 long num2;
724 if (groupDigits == null)
725 {
727 return;
728 }
729 num2 = 0L;
730 if (num != 0)
731 {
732 int stringLength = sGroup._stringLength;
733 int num3 = 48;
735 return;
736 }
737 }
738
739 // Token: 0x06000882 RID: 2178 RVA: 0x000142D0 File Offset: 0x000124D0
741 {
742 int num = 1;
743 bool sign = number.sign;
744 if (num == 0)
745 {
746 }
747 }
748
749 // Token: 0x06000883 RID: 2179 RVA: 0x00014390 File Offset: 0x00012590
751 {
752 char* digits = number.digits;
753 int length = sb._chars._length;
754 Span<char> chars = sb._chars;
755 }
756
757 // Token: 0x06000884 RID: 2180 RVA: 0x00014450 File Offset: 0x00012650
758 private static void FormatExponent(ValueStringBuilder sb, NumberFormatInfo info, int value, char expChar, int minDigits, bool positiveSign)
759 {
760 int length = sb._chars._length;
762 }
763
764 // Token: 0x06000885 RID: 2181 RVA: 0x0001451C File Offset: 0x0001271C
766 {
767 int scale = number.scale;
768 }
769
770 // Token: 0x06000886 RID: 2182 RVA: 0x00014614 File Offset: 0x00012814
772 {
773 bool sign = number.sign;
774 long num = 0L;
775 int[] percentGroupSizes = info.percentGroupSizes;
776 string percentDecimalSeparator = info.percentDecimalSeparator;
777 string percentGroupSeparator = info.percentGroupSeparator;
778 Number.FormatFixed(sb, number, (int)num, nMaxDigits, info, percentGroupSizes, percentDecimalSeparator, percentGroupSeparator);
779 }
780
781 // Token: 0x06000887 RID: 2183 RVA: 0x000146E0 File Offset: 0x000128E0
782 private unsafe static void RoundNumber(Number.NumberBuffer number, int pos)
783 {
784 char* digits = number.digits;
785 }
786
787 // Token: 0x06000888 RID: 2184 RVA: 0x00014728 File Offset: 0x00012928
789 {
790 if (section != 0)
791 {
792 return;
793 }
794 }
795
796 // Token: 0x06000889 RID: 2185 RVA: 0x0000207A File Offset: 0x0000027A
797 private static uint Low32(ulong value)
798 {
799 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
800 }
801
802 // Token: 0x0600088A RID: 2186 RVA: 0x0000207A File Offset: 0x0000027A
803 private static uint High32(ulong value)
804 {
805 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
806 }
807
808 // Token: 0x0600088B RID: 2187 RVA: 0x0000207A File Offset: 0x0000027A
809 private static uint Int64DivMod1E9(ulong value)
810 {
811 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
812 }
813
814 // Token: 0x0600088C RID: 2188 RVA: 0x0001473C File Offset: 0x0001293C
815 private static bool NumberToInt32(Number.NumberBuffer number, int value)
816 {
817 /*
818An exception occurred when decompiling this method (0600088C)
819
820ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::NumberToInt32(System.Number/NumberBuffer,System.Int32)
821
822 ---> System.Exception: Basic block has to end with unconditional control flow.
823{
824 Block_0:
825 stloc:int64(var_2_07, ldc.i4:int64(0))
826 stfld:int32(NumberBuffer::precision, ldloc:NumberBuffer[exp:valuetype System.Number/NumberBuffer&](number), ldloc:int64[exp:int32](var_2_07))
827}
828
829 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
830 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
831 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
832 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
833 --- End of inner exception stack trace ---
834 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
835 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
836*/;
837 }
838
839 // Token: 0x0600088D RID: 2189 RVA: 0x00014760 File Offset: 0x00012960
840 private static bool NumberToInt64(Number.NumberBuffer number, long value)
841 {
842 /*
843An exception occurred when decompiling this method (0600088D)
844
845ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::NumberToInt64(System.Number/NumberBuffer,System.Int64)
846
847 ---> System.Exception: Basic block has to end with unconditional control flow.
848{
849 Block_0:
850 stloc:int64(var_2_07, ldc.i4:int64(0))
851 stfld:int32(NumberBuffer::precision, ldloc:NumberBuffer[exp:valuetype System.Number/NumberBuffer&](number), ldloc:int64[exp:int32](var_2_07))
852}
853
854 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
855 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
856 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
857 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
858 --- End of inner exception stack trace ---
859 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
860 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
861*/;
862 }
863
864 // Token: 0x0600088E RID: 2190 RVA: 0x00014784 File Offset: 0x00012984
865 private static bool NumberToUInt32(Number.NumberBuffer number, uint value)
866 {
867 /*
868An exception occurred when decompiling this method (0600088E)
869
870ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::NumberToUInt32(System.Number/NumberBuffer,System.UInt32)
871
872 ---> System.Exception: Basic block has to end with unconditional control flow.
873{
874 Block_0:
875 stloc:int64(var_3_07, ldc.i4:int64(0))
876 stfld:int32(NumberBuffer::precision, ldloc:NumberBuffer[exp:valuetype System.Number/NumberBuffer&](number), ldloc:int64[exp:int32](var_3_07))
877}
878
879 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
880 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
881 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
882 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
883 --- End of inner exception stack trace ---
884 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
885 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
886*/;
887 }
888
889 // Token: 0x0600088F RID: 2191 RVA: 0x000147A4 File Offset: 0x000129A4
891 {
892 /*
893An exception occurred when decompiling this method (0600088F)
894
895ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::NumberToUInt64(System.Number/NumberBuffer,System.UInt64)
896
897 ---> System.Exception: Basic block has to end with unconditional control flow.
898{
899 Block_0:
900 stloc:int64(var_3_07, ldc.i4:int64(0))
901 stfld:int32(NumberBuffer::precision, ldloc:NumberBuffer[exp:valuetype System.Number/NumberBuffer&](number), ldloc:int64[exp:int32](var_3_07))
902}
903
904 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
905 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
906 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
907 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
908 --- End of inner exception stack trace ---
909 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
910 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
911*/;
912 }
913
914 // Token: 0x06000890 RID: 2192 RVA: 0x000147C4 File Offset: 0x000129C4
916 {
917 /*
918An exception occurred when decompiling this method (06000890)
919
920ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Number::ParseInt32(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo)
921
922 ---> System.Exception: Basic block has to end with unconditional control flow.
923{
924 IL_0011:
925 brtrue(IL_0000, ldc.i4:bool(1))
926}
927
928 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
929 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
930 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
931 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
932 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
933 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
934 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
935 --- End of inner exception stack trace ---
936 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
937 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
938*/;
939 }
940
941 // Token: 0x06000891 RID: 2193 RVA: 0x000147E4 File Offset: 0x000129E4
943 {
944 /*
945An exception occurred when decompiling this method (06000891)
946
947ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Number::ParseInt64(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo)
948
949 ---> System.Exception: Basic block has to end with unconditional control flow.
950{
951 IL_0011:
952 brtrue(IL_0000, ldc.i4:bool(1))
953}
954
955 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
956 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
957 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
958 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
959 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
960 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
961 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
962 --- End of inner exception stack trace ---
963 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
964 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
965*/;
966 }
967
968 // Token: 0x06000892 RID: 2194 RVA: 0x00014804 File Offset: 0x00012A04
970 {
971 /*
972An exception occurred when decompiling this method (06000892)
973
974ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Number::ParseUInt32(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo)
975
976 ---> System.Exception: Basic block has to end with unconditional control flow.
977{
978 IL_0011:
979 brtrue(IL_0000, ldc.i4:bool(1))
980}
981
982 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
983 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
984 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
985 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
986 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
987 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
988 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
989 --- End of inner exception stack trace ---
990 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
991 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
992*/;
993 }
994
995 // Token: 0x06000893 RID: 2195 RVA: 0x00014824 File Offset: 0x00012A24
997 {
998 /*
999An exception occurred when decompiling this method (06000893)
1000
1001ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Number::ParseUInt64(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo)
1002
1003 ---> System.Exception: Basic block has to end with unconditional control flow.
1004{
1005 IL_0011:
1006 brtrue(IL_0000, ldc.i4:bool(1))
1007}
1008
1009 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
1010 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
1011 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
1012 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
1013 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
1014 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
1015 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
1016 --- End of inner exception stack trace ---
1017 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
1018 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
1019*/;
1020 }
1021
1022 // Token: 0x06000894 RID: 2196 RVA: 0x00014844 File Offset: 0x00012A44
1024 {
1025 /*
1026An exception occurred when decompiling this method (06000894)
1027
1028ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::ParseNumber(System.Char*,System.Char*,System.Globalization.NumberStyles,System.Number/NumberBuffer,System.Globalization.NumberFormatInfo,System.Boolean)
1029
1030 ---> System.Exception: Basic block has to end with unconditional control flow.
1031{
1032 IL_009C:
1033 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_23_6F), ldloc:int32(var_22_64))
1034}
1035
1036 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
1037 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
1038 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
1039 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
1040 --- End of inner exception stack trace ---
1041 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
1042 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
1043*/;
1044 }
1045
1046 // Token: 0x06000895 RID: 2197 RVA: 0x00014900 File Offset: 0x00012B00
1048 {
1049 if (!true)
1050 {
1051 }
1052 bool flag;
1053 if (!flag)
1054 {
1055 }
1056 bool flag2;
1057 return flag2;
1058 }
1059
1060 // Token: 0x06000896 RID: 2198 RVA: 0x00014920 File Offset: 0x00012B20
1062 {
1063 /*
1064An exception occurred when decompiling this method (06000896)
1065
1066ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseInt32IntegerStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.Int32,System.Boolean)
1067
1068 ---> System.Exception: Basic block has to end with unconditional control flow.
1069{
1070 IL_0123:
1071 stloc:int32(var_37_127, ldc.i4:int32(1))
1072 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_28), ldloc:int32(var_37_127))
1073}
1074
1075 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
1076 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
1077 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
1078 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
1079 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
1080 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
1081 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
1082 --- End of inner exception stack trace ---
1083 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
1084 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
1085*/;
1086 }
1087
1088 // Token: 0x06000897 RID: 2199 RVA: 0x00014A60 File Offset: 0x00012C60
1090 {
1091 /*
1092An exception occurred when decompiling this method (06000897)
1093
1094ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseInt64IntegerStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.Int64,System.Boolean)
1095
1096 ---> System.Exception: Basic block has to end with unconditional control flow.
1097{
1098 IL_0110:
1099 stloc:int32(var_36_114, ldc.i4:int32(1))
1100 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_29), ldloc:int32(var_36_114))
1101}
1102
1103 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
1104 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
1105 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
1106 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
1107 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
1108 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
1109 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
1110 --- End of inner exception stack trace ---
1111 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
1112 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
1113*/;
1114 }
1115
1116 // Token: 0x06000898 RID: 2200 RVA: 0x00014B8C File Offset: 0x00012D8C
1118 {
1119 if (!true)
1120 {
1121 }
1122 bool flag;
1123 if (!flag)
1124 {
1125 }
1126 bool flag2;
1127 return flag2;
1128 }
1129
1130 // Token: 0x06000899 RID: 2201 RVA: 0x00014BAC File Offset: 0x00012DAC
1132 {
1133 if (!true)
1134 {
1135 }
1136 bool flag;
1137 if (!flag)
1138 {
1139 }
1140 bool flag2;
1141 return flag2;
1142 }
1143
1144 // Token: 0x0600089A RID: 2202 RVA: 0x00014BCC File Offset: 0x00012DCC
1146 {
1147 /*
1148An exception occurred when decompiling this method (0600089A)
1149
1150ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseUInt32IntegerStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.UInt32,System.Boolean)
1151
1152 ---> System.Exception: Basic block has to end with unconditional control flow.
1153{
1154 IL_00FF:
1155 stloc:int64(var_33_100, ldc.i4:int64(0))
1156 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_25), ldloc:int64[exp:int32](var_33_100))
1157 brtrue(IL_0000, ldc.i4:bool(0))
1158}
1159
1160 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
1161 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
1162 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
1163 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
1164 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
1165 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
1166 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
1167 --- End of inner exception stack trace ---
1168 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
1169 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
1170*/;
1171 }
1172
1173 // Token: 0x0600089B RID: 2203 RVA: 0x00014CEC File Offset: 0x00012EEC
1175 {
1176 /*
1177An exception occurred when decompiling this method (0600089B)
1178
1179ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseUInt32HexNumberStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.UInt32,System.Boolean)
1180
1181 ---> System.Exception: Basic block has to end with unconditional control flow.
1182{
1183 IL_002E:
1184 stloc:int32(var_7_2F, ldc.i4:int32(1))
1185 stfld:bool(bool::m_value, ldloc:bool[exp:bool&](failureIsOverflow), ldloc:int32[exp:bool](var_7_2F))
1186}
1187
1188 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
1189 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
1190 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
1191 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
1192 --- End of inner exception stack trace ---
1193 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
1194 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
1195*/;
1196 }
1197
1198 // Token: 0x0600089C RID: 2204 RVA: 0x00014D38 File Offset: 0x00012F38
1200 {
1201 if (!true)
1202 {
1203 }
1204 bool flag;
1205 if (!flag)
1206 {
1207 }
1208 bool flag2;
1209 return flag2;
1210 }
1211
1212 // Token: 0x0600089D RID: 2205 RVA: 0x00014D58 File Offset: 0x00012F58
1214 {
1215 /*
1216An exception occurred when decompiling this method (0600089D)
1217
1218ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseUInt64IntegerStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.UInt64,System.Boolean)
1219
1220 ---> System.Exception: Basic block has to end with unconditional control flow.
1221{
1222 IL_0104:
1223 stloc:int64(var_33_105, ldc.i4:int64(0))
1224 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_25), ldloc:int64[exp:int32](var_33_105))
1225 brtrue(IL_0000, ldc.i4:bool(0))
1226}
1227
1228 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
1229 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
1230 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
1231 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
1232 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
1233 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
1234 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
1235 --- End of inner exception stack trace ---
1236 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
1237 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
1238*/;
1239 }
1240
1241 // Token: 0x0600089E RID: 2206 RVA: 0x00014E80 File Offset: 0x00013080
1243 {
1244 /*
1245An exception occurred when decompiling this method (0600089E)
1246
1247ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::TryParseUInt64HexNumberStyle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo,System.UInt64,System.Boolean)
1248
1249 ---> System.Exception: Basic block has to end with unconditional control flow.
1250{
1251 IL_002E:
1252 stloc:int32(var_7_2F, ldc.i4:int32(1))
1253 stfld:bool(bool::m_value, ldloc:bool[exp:bool&](failureIsOverflow), ldloc:int32[exp:bool](var_7_2F))
1254}
1255
1256 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
1257 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
1258 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
1259 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
1260 --- End of inner exception stack trace ---
1261 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
1262 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
1263*/;
1264 }
1265
1266 // Token: 0x0600089F RID: 2207 RVA: 0x00014ECC File Offset: 0x000130CC
1268 {
1269 if (!true)
1270 {
1271 }
1272 return 1;
1273 }
1274
1275 // Token: 0x060008A0 RID: 2208 RVA: 0x00014EE8 File Offset: 0x000130E8
1277 {
1278 bool flag;
1279 return flag;
1280 }
1281
1282 // Token: 0x060008A1 RID: 2209 RVA: 0x00014F3C File Offset: 0x0001313C
1284 {
1285 string positiveInfinitySymbol;
1286 do
1287 {
1290 positiveInfinitySymbol = info.positiveInfinitySymbol;
1291 if (positiveInfinitySymbol == null)
1292 {
1293 break;
1294 }
1295 char rawStringData = positiveInfinitySymbol.GetRawStringData();
1296 }
1297 while (positiveInfinitySymbol._stringLength != 0);
1298 if (value != null)
1299 {
1300 }
1301 return 0.0;
1302 }
1303
1304 // Token: 0x060008A2 RID: 2210 RVA: 0x00015014 File Offset: 0x00013214
1306 {
1307 /*
1308An exception occurred when decompiling this method (060008A2)
1309
1310ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single System.Number::ParseSingle(System.ReadOnlySpan`1<System.Char>,System.Globalization.NumberStyles,System.Globalization.NumberFormatInfo)
1311
1312 ---> System.Exception: Basic block has to end with unconditional control flow.
1313{
1314 IL_0083:
1315 brtrue(IL_0000, logicnot:bool(ldstr:string[exp:bool]("Value was either too large or too small for a Single.")))
1316}
1317
1318 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
1319 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
1320 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
1321 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
1322 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
1323 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
1324 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
1325 --- End of inner exception stack trace ---
1326 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
1327 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
1328*/;
1329 }
1330
1331 // Token: 0x060008A3 RID: 2211 RVA: 0x000150B0 File Offset: 0x000132B0
1333 {
1334 if (!true)
1335 {
1336 }
1337 if (!true)
1338 {
1339 }
1340 bool flag;
1341 return flag;
1342 }
1343
1344 // Token: 0x060008A4 RID: 2212 RVA: 0x000150C8 File Offset: 0x000132C8
1346 {
1347 if (!true)
1348 {
1349 }
1350 bool flag;
1351 if (!flag)
1352 {
1353 }
1354 bool flag2;
1355 return flag2;
1356 }
1357
1358 // Token: 0x060008A5 RID: 2213 RVA: 0x000150DC File Offset: 0x000132DC
1360 {
1361 if (!true)
1362 {
1363 }
1364 bool flag;
1365 if (!flag)
1366 {
1367 }
1368 return true;
1369 }
1370
1371 // Token: 0x060008A6 RID: 2214 RVA: 0x000150F4 File Offset: 0x000132F4
1375
1376 // Token: 0x060008A7 RID: 2215 RVA: 0x00015104 File Offset: 0x00013304
1380
1381 // Token: 0x060008A8 RID: 2216 RVA: 0x00015114 File Offset: 0x00013314
1383 {
1384 if (!true)
1385 {
1386 return;
1387 }
1388 }
1389
1390 // Token: 0x060008A9 RID: 2217 RVA: 0x00015128 File Offset: 0x00013328
1391 private unsafe static char* MatchChars(char* p, char* pEnd, string value)
1392 {
1393 if (pEnd != null)
1394 {
1396 return;
1397 }
1398 }
1399
1400 // Token: 0x060008AA RID: 2218 RVA: 0x0000207A File Offset: 0x0000027A
1401 private static bool IsWhite(int ch)
1402 {
1403 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1404 }
1405
1406 // Token: 0x060008AB RID: 2219 RVA: 0x0000207A File Offset: 0x0000027A
1407 private static bool IsDigit(int ch)
1408 {
1409 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1410 }
1411
1412 // Token: 0x060008AC RID: 2220 RVA: 0x00015148 File Offset: 0x00013348
1417
1418 // Token: 0x060008AD RID: 2221 RVA: 0x0001515C File Offset: 0x0001335C
1420 {
1421 /*
1422An exception occurred when decompiling this method (060008AD)
1423
1424ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number::NumberBufferToDouble(System.Number/NumberBuffer,System.Double)
1425
1426 ---> System.Exception: Basic block has to end with unconditional control flow.
1427{
1428 IL_0003:
1429 stfld:int32(NumberBuffer::precision, ldloc:NumberBuffer[exp:valuetype System.Number/NumberBuffer&](number), ldloc:float64[exp:int32](var_0))
1430}
1431
1432 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
1433 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
1434 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
1435 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
1436 --- End of inner exception stack trace ---
1437 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
1438 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
1439*/;
1440 }
1441
1442 // Token: 0x060008AE RID: 2222 RVA: 0x0000207A File Offset: 0x0000027A
1443 private unsafe static uint DigitsToInt(char* p, int count)
1444 {
1445 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1446 }
1447
1448 // Token: 0x060008AF RID: 2223 RVA: 0x0000207A File Offset: 0x0000027A
1449 private static ulong Mul32x32To64(uint a, uint b)
1450 {
1451 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1452 }
1453
1454 // Token: 0x060008B0 RID: 2224 RVA: 0x00015174 File Offset: 0x00013374
1455 private static ulong Mul64Lossy(ulong a, ulong b, int pexp)
1456 {
1457 /*
1458An exception occurred when decompiling this method (060008B0)
1459
1460ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Number::Mul64Lossy(System.UInt64,System.UInt64,System.Int32)
1461
1462 ---> System.Exception: Basic block has to end with unconditional control flow.
1463{
1464 IL_0000:
1465 brtrue(IL_0000, ldc.i4:bool(1))
1466}
1467
1468 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
1469 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
1470 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
1471 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
1472 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
1473 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
1474 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
1475 --- End of inner exception stack trace ---
1476 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
1477 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
1478*/;
1479 }
1480
1481 // Token: 0x060008B1 RID: 2225 RVA: 0x0000207A File Offset: 0x0000027A
1482 private static int abs(int value)
1483 {
1484 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1485 }
1486
1487 // Token: 0x060008B2 RID: 2226 RVA: 0x00015184 File Offset: 0x00013384
1489 {
1490 char* ptr;
1491 int num;
1492 int num2;
1493 if (string.wcslen(ptr) != 0)
1494 {
1495 num = 9;
1496 if (ptr == null)
1497 {
1498 }
1499 num2 = 9;
1500 if (ptr == null)
1501 {
1502 }
1503 }
1504 if (num2 == 0)
1505 {
1506 }
1507 if (num != 0)
1508 {
1509 if (ptr == null)
1510 {
1511 }
1512 if (ptr == null)
1513 {
1514 }
1515 if (ptr == null)
1516 {
1517 }
1518 }
1519 if (ptr == null)
1520 {
1521 return;
1522 }
1523 if (ptr == null)
1524 {
1525 }
1526 if (ptr == null)
1527 {
1528 }
1529 if (ptr == null)
1530 {
1531 return;
1532 }
1533 }
1534
1535 // Token: 0x060008B3 RID: 2227 RVA: 0x000151D0 File Offset: 0x000133D0
1536 private unsafe static void DoubleToNumber(double value, int precision, Number.NumberBuffer number)
1537 {
1538 number.precision = precision;
1539 if (!true)
1540 {
1541 }
1542 if (!true)
1543 {
1544 }
1545 int num = 32768;
1546 number.scale = num;
1547 if (!true)
1548 {
1549 }
1550 char* digits = number.digits;
1551 }
1552
1553 // Token: 0x060008B4 RID: 2228 RVA: 0x000152B0 File Offset: 0x000134B0
1554 // Note: this type is marked as 'beforefieldinit'.
1555 static Number()
1556 {
1557 if (("$#" == null || "$#" != null) && ("#$" == null || "#$" != null) && ("$ #" == null || "$ #" != null) && ("# $" == null || "# $" != null) && ("($#)" == null || "($#)" != null) && ("-$#" == null || "-$#" != null) && ("$-#" == null || "$-#" != null) && ("$#-" == null || "$#-" != null) && ("(#$)" == null || "(#$)" != null) && ("-#$" == null || "-#$" != null) && ("#-$" == null || "#-$" != null) && ("#$-" == null || "#$-" != null) && ("-# $" == null || "-# $" != null) && ("-$ #" == null || "-$ #" != null) && ("# $-" == null || "# $-" != null) && ("$ #-" == null || "$ #-" != null) && ("$ -#" == null || "$ -#" != null) && ("#- $" == null || "#- $" != null) && ("($ #)" == null || "($ #)" != null) && ("(# $)" == null || "(# $)" != null) && ("# %" == null || "# %" != null) && ("#%" == null || "#%" != null) && ("%#" == null || "%#" != null) && ("% #" == null || "% #" != null) && ("-# %" == null || "-# %" != null) && ("-#%" == null || "-#%" != null) && ("-%#" == null || "-%#" != null) && ("%-#" == null || "%-#" != null) && ("%#-" == null || "%#-" != null) && ("#-%" == null || "#-%" != null) && ("#%-" == null || "#%-" != null) && ("-% #" == null || "-% #" != null) && ("# %-" == null || "# %-" != null) && ("% #-" == null || "% #-" != null) && ("% -#" == null || "% -#" != null) && ("(#)" == null || "(#)" != null) && ("-#" == null || "-#" != null) && ("- #" == null || "- #" != null) && ("#-" == null || "#-" != null) && ("# -" == null || "# -" != null))
1558 {
1559 return;
1560 }
1561 throw new ArrayTypeMismatchException();
1562 }
1563
1564 // Token: 0x0400036F RID: 879
1565 private static readonly string[] s_posCurrencyFormats;
1566
1567 // Token: 0x04000370 RID: 880
1568 private static readonly string[] s_negCurrencyFormats;
1569
1570 // Token: 0x04000371 RID: 881
1571 private static readonly string[] s_posPercentFormats;
1572
1573 // Token: 0x04000372 RID: 882
1574 private static readonly string[] s_negPercentFormats;
1575
1576 // Token: 0x04000373 RID: 883
1577 private static readonly string[] s_negNumberFormats;
1578
1579 // Token: 0x04000374 RID: 884
1580 private static readonly int[] s_charToHexLookup;
1581
1582 // Token: 0x04000375 RID: 885
1584
1585 // Token: 0x04000376 RID: 886
1586 private static readonly sbyte[] s_rgexp64Power10;
1587
1588 // Token: 0x04000377 RID: 887
1590
1591 // Token: 0x04000378 RID: 888
1592 private static readonly short[] s_rgexp64Power10By16;
1593
1594 // Token: 0x020000E6 RID: 230
1595 [StructLayout(0, Pack = 1, Size = 122)]
1596 internal ref struct NumberBuffer
1597 {
1598 // Token: 0x17000095 RID: 149
1599 // (get) Token: 0x060008B5 RID: 2229 RVA: 0x00015558 File Offset: 0x00013758
1600 // (set) Token: 0x060008B6 RID: 2230 RVA: 0x0001556C File Offset: 0x0001376C
1601 public bool sign
1602 {
1603 get
1604 {
1605 /*
1606An exception occurred when decompiling this method (060008B5)
1607
1608ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Number/NumberBuffer::get_sign()
1609
1610 ---> System.Exception: Basic block has to end with unconditional control flow.
1611{
1612 Block_0:
1613 stloc:int32(var_0_06, ldfld:int32(NumberBuffer::_sign, ldloc:valuetype System.Number/NumberBuffer&(this)))
1614}
1615
1616 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
1617 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
1618 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
1619 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
1620 --- End of inner exception stack trace ---
1621 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
1622 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
1623*/;
1624 }
1625 set
1626 {
1627 }
1628 }
1629
1630 // Token: 0x17000096 RID: 150
1631 // (get) Token: 0x060008B7 RID: 2231 RVA: 0x0000207A File Offset: 0x0000027A
1632 public unsafe char* digits
1633 {
1634 get
1635 {
1636 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1637 }
1638 }
1639
1640 // Token: 0x04000379 RID: 889
1641 public int precision;
1642
1643 // Token: 0x0400037A RID: 890
1644 public int scale;
1645
1646 // Token: 0x0400037B RID: 891
1647 private int _sign;
1648
1649 // Token: 0x0400037C RID: 892
1651
1652 // Token: 0x0400037D RID: 893
1653 private unsafe char* _allDigits;
1654
1655 // Token: 0x020000E7 RID: 231
1657 {
1658 }
1659 }
1660 }
1661}
class f__AnonymousType0<< Count > j__TPar
static readonly long
static string GetResourceString(string str)
Definition SR.cs:72
Definition SR.cs:7
static NumberFormatInfo GetInstance(IFormatProvider formatProvider)
static ReadOnlySpan< char > TrimEnd(this ReadOnlySpan< char > span)
static bool TryFormatDecimal(decimal value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:31
static uint High32(ulong value)
Definition Number.cs:803
static string NegativeInt32ToDecStr(int value, int digits, string sNegative)
Definition Number.cs:419
static string FormatInt64(long value, ReadOnlySpan< char > format, IFormatProvider provider)
Definition Number.cs:301
static void FormatExponent(ValueStringBuilder sb, NumberFormatInfo info, int value, char expChar, int minDigits, bool positiveSign)
Definition Number.cs:758
static bool TryFormatDouble(double value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:87
static bool TryParseUInt64IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow)
Definition Number.cs:1213
static string Int32ToHexStr(int value, char hexBase, int digits)
Definition Number.cs:439
static bool TryNegativeInt32ToDecStr(int value, int digits, string sNegative, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:430
static void FormatCurrency(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
Definition Number.cs:707
static bool TryCopyTo(string source, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:181
static bool TryParseInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result)
Definition Number.cs:1047
static string FormatInt32(int value, ReadOnlySpan< char > format, IFormatProvider provider)
Definition Number.cs:187
static unsafe void UInt32ToNumber(uint value, Number.NumberBuffer number)
Definition Number.cs:493
static void NumberToString(ValueStringBuilder sb, Number.NumberBuffer number, char format, int nMaxDigits, NumberFormatInfo info, bool isDecimal)
Definition Number.cs:695
static string FormatSingle(ValueStringBuilder sb, float value, ReadOnlySpan< char > format, NumberFormatInfo info)
Definition Number.cs:160
static void FormatNumber(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
Definition Number.cs:740
static ulong Mul32x32To64(uint a, uint b)
Definition Number.cs:1449
static string FormatDecimal(decimal value, ReadOnlySpan< char > format, NumberFormatInfo info)
Definition Number.cs:14
static string UInt64ToDecStr(ulong value, int digits)
Definition Number.cs:640
static uint Low32(ulong value)
Definition Number.cs:797
static unsafe void NumberToStringFormat(ValueStringBuilder sb, Number.NumberBuffer number, ReadOnlySpan< char > format, NumberFormatInfo info)
Definition Number.cs:700
static bool TryParseDouble(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] double result)
Definition Number.cs:1345
static bool NumberBufferToDecimal(Number.NumberBuffer number, decimal value)
Definition Number.cs:1276
static int abs(int value)
Definition Number.cs:1482
static bool TryNegativeInt64ToDecStr(long input, int digits, string sNegative, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:588
static bool TryInt32ToHexStr(int value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:457
static void StringToNumber(ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
Definition Number.cs:1372
static bool TryStringToNumber(ReadOnlySpan< char > value, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
Definition Number.cs:1377
static readonly sbyte[] s_rgexp64Power10
Definition Number.cs:1586
static bool TryParseInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result)
Definition Number.cs:1117
static string FormatUInt64(ulong value, ReadOnlySpan< char > format, IFormatProvider provider)
Definition Number.cs:352
static unsafe void DoubleToNumber(double value, int precision, Number.NumberBuffer number)
Definition Number.cs:1536
static readonly int[] s_charToHexLookup
Definition Number.cs:1580
static bool TryParseUInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result)
Definition Number.cs:1199
static bool TryParseUInt32HexNumberStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow)
Definition Number.cs:1174
static void ThrowOverflowOrFormatException(bool overflow, string overflowResourceKey)
Definition Number.cs:1413
static readonly string[] s_posPercentFormats
Definition Number.cs:1571
static unsafe char * MatchChars(char *p, char *pEnd, string value)
Definition Number.cs:1391
static unsafe void UInt64ToNumber(ulong value, Number.NumberBuffer number)
Definition Number.cs:624
static bool TryInt64ToHexStr(long value, char hexBase, int digits, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:615
static int ParseInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:915
static unsafe char * Int32ToHexChars(char *buffer, uint value, int hexBase, int digits)
Definition Number.cs:466
static bool IsWhite(int ch)
Definition Number.cs:1401
static uint Int64DivMod1E9(ulong value)
Definition Number.cs:809
static string FormatUInt32(uint value, ReadOnlySpan< char > format, IFormatProvider provider)
Definition Number.cs:249
static string Int64ToHexStr(long value, char hexBase, int digits)
Definition Number.cs:598
static readonly string[] s_negPercentFormats
Definition Number.cs:1574
static unsafe void RoundNumber(Number.NumberBuffer number, int pos)
Definition Number.cs:782
static bool NumberToInt32(Number.NumberBuffer number, int value)
Definition Number.cs:815
static bool TryParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] float result)
Definition Number.cs:1359
static bool TryUInt64ToDecStr(ulong value, int digits, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:661
static unsafe double NumberToDouble(Number.NumberBuffer number)
Definition Number.cs:1488
static bool TryParseUInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result)
Definition Number.cs:1131
static ulong Mul64Lossy(ulong a, ulong b, int pexp)
Definition Number.cs:1455
static uint ParseUInt32(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:969
static bool TrailingZeros(ReadOnlySpan< char > value, int index)
Definition Number.cs:1382
static void DecimalToNumber(decimal value, Number.NumberBuffer number)
Definition Number.cs:48
static bool TryUInt32ToDecStr(uint value, int digits, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:547
static bool NumberBufferToDouble(Number.NumberBuffer number, double value)
Definition Number.cs:1419
static readonly short[] s_rgexp64Power10By16
Definition Number.cs:1592
static bool NumberToUInt32(Number.NumberBuffer number, uint value)
Definition Number.cs:865
static bool IsDigit(int ch)
Definition Number.cs:1407
static decimal ParseDecimal(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:1267
static bool TryParseDecimal(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] decimal result)
Definition Number.cs:1332
static bool TryFormatUInt64(ulong value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:381
static bool TryParseUInt64HexNumberStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] ulong result, bool failureIsOverflow)
Definition Number.cs:1242
static bool NumberToInt64(Number.NumberBuffer number, long value)
Definition Number.cs:840
static void FormatGeneral(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar, bool bSuppressScientific)
Definition Number.cs:765
static double ParseDouble(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:1283
static string NegativeInt64ToDecStr(long input, int digits, string sNegative)
Definition Number.cs:567
static bool NumberToUInt64(Number.NumberBuffer number, ulong value)
Definition Number.cs:890
static readonly string[] s_negNumberFormats
Definition Number.cs:1577
static ulong ParseUInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:996
static long ParseInt64(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:942
static float ParseSingle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info)
Definition Number.cs:1305
static bool TryFormatSingle(float value, ReadOnlySpan< char > format, NumberFormatInfo info, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:141
static string UInt32ToDecStr(uint value, int digits)
Definition Number.cs:536
static string FormatDouble(ValueStringBuilder sb, double value, ReadOnlySpan< char > format, NumberFormatInfo info)
Definition Number.cs:106
static unsafe void Int64ToNumber(long input, Number.NumberBuffer number)
Definition Number.cs:552
static unsafe uint DigitsToInt(char *p, int count)
Definition Number.cs:1443
static void Int32ToNumber(int value, Number.NumberBuffer number)
Definition Number.cs:410
static bool TryParseUInt32IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] uint result, bool failureIsOverflow)
Definition Number.cs:1145
static readonly string[] s_posCurrencyFormats
Definition Number.cs:1565
static unsafe char * UInt32ToDecChars(char *bufferEnd, uint value, int digits)
Definition Number.cs:509
static char ParseFormatSpecifier(ReadOnlySpan< char > format, [Out] int digits)
Definition Number.cs:671
static bool TryFormatUInt32(uint value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:281
static readonly ulong[] s_rgval64Power10By16
Definition Number.cs:1589
static string FormatSingle(float value, string format, NumberFormatInfo info)
Definition Number.cs:127
static unsafe bool ParseNumber(char *str, char *strEnd, NumberStyles styles, Number.NumberBuffer number, NumberFormatInfo info, bool parseDecimal)
Definition Number.cs:1023
static readonly ulong[] s_rgval64Power10
Definition Number.cs:1583
static bool TryFormatInt32(int value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:218
static int FindSection(ReadOnlySpan< char > format, int section)
Definition Number.cs:788
static Number()
Definition Number.cs:1555
static unsafe void FormatFixed(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, int[] groupDigits, string sDecimal, string sGroup)
Definition Number.cs:718
static bool TryFormatInt64(long value, ReadOnlySpan< char > format, IFormatProvider provider, Span< char > destination, [Out] int charsWritten)
Definition Number.cs:328
static void FormatPercent(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info)
Definition Number.cs:771
static bool TryParseInt32IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] int result, bool failureIsOverflow)
Definition Number.cs:1061
static string FormatDouble(double value, string format, NumberFormatInfo info)
Definition Number.cs:73
static bool TryParseInt64IntegerStyle(ReadOnlySpan< char > value, NumberStyles styles, NumberFormatInfo info, [Out] long result, bool failureIsOverflow)
Definition Number.cs:1089
static readonly string[] s_negCurrencyFormats
Definition Number.cs:1568
static unsafe void FormatScientific(ValueStringBuilder sb, Number.NumberBuffer number, int nMinDigits, int nMaxDigits, NumberFormatInfo info, char expChar)
Definition Number.cs:750
unsafe char * _allDigits
Definition Number.cs:1653
Number.NumberBuffer.DigitsAndNullTerminator _digits
Definition Number.cs:1650
readonly int _length
Definition Span.cs:240