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
DateTimeParse.cs
Go to the documentation of this file.
1using System;
5using System.Text;
7
8namespace System
9{
10 // Token: 0x020000AD RID: 173
11 internal static class DateTimeParse
12 {
13 // Token: 0x060006AB RID: 1707 RVA: 0x000103E4 File Offset: 0x0000E5E4
15 {
16 if (!true)
17 {
18 }
19 return 1;
20 }
21
22 // Token: 0x060006AC RID: 1708 RVA: 0x000103F8 File Offset: 0x0000E5F8
24 {
25 if (!true)
26 {
27 }
28 if (!true)
29 {
30 }
31 return 1;
32 }
33
34 // Token: 0x060006AD RID: 1709 RVA: 0x0001040C File Offset: 0x0000E60C
36 {
37 if (!true)
38 {
39 }
40 if (!true)
41 {
42 }
43 return true;
44 }
45
46 // Token: 0x060006AE RID: 1710 RVA: 0x00010424 File Offset: 0x0000E624
48 {
49 if (!true)
50 {
51 }
53 if (!true)
54 {
55 }
56 if (!true)
57 {
58 }
60 return true;
61 }
62
63 // Token: 0x060006AF RID: 1711 RVA: 0x00010450 File Offset: 0x0000E650
65 {
66 bool flag;
67 if (s == null)
68 {
69 return flag;
70 }
71 if (dtfi != null)
72 {
73 return flag;
74 }
75 }
76
77 // Token: 0x060006B0 RID: 1712 RVA: 0x0000207A File Offset: 0x0000027A
79 {
80 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
81 }
82
83 // Token: 0x060006B1 RID: 1713 RVA: 0x00010468 File Offset: 0x0000E668
84 internal static bool TryParseExactMultiple(ReadOnlySpan<char> s, string[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style, DateTimeResult result)
85 {
86 /*
87An exception occurred when decompiling this method (060006B1)
88
89ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::TryParseExactMultiple(System.ReadOnlySpan`1<System.Char>,System.String[],System.Globalization.DateTimeFormatInfo,System.Globalization.DateTimeStyles,System.DateTimeResult)
90
91 ---> System.Exception: Basic block has to end with unconditional control flow.
92{
93 IL_001F:
94 call:void(DateTimeResult::SetBadFormatSpecifierFailure, ldloc:DateTimeResult[exp:valuetype System.DateTimeResult&](result))
95 stfld:DateTime(DateTimeResult::parsedDate, ldloc:DateTimeResult[exp:valuetype System.DateTimeResult&](result), ldstr:string[exp:DateTime]("Format_NoFormatSpecifier"))
96 stfld:TimeSpan(DateTimeResult::timeZoneOffset, ldloc:DateTimeResult[exp:valuetype System.DateTimeResult&](result), ldstr:string[exp:TimeSpan]("Format_NoFormatSpecifier"))
97}
98
99 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
100 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
101 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
102 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
103 --- End of inner exception stack trace ---
104 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
105 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
106*/;
107 }
108
109 // Token: 0x060006B2 RID: 1714 RVA: 0x000104B8 File Offset: 0x0000E6B8
110 private static bool MatchWord(__DTString str, string target)
111 {
112 int index = str.Index;
114 int num;
115 if (num != 0)
116 {
117 }
118 if (str.Index == 0)
119 {
120 return;
121 }
122 }
123
124 // Token: 0x060006B3 RID: 1715 RVA: 0x000104E8 File Offset: 0x0000E6E8
125 private static bool GetTimeZoneName(__DTString str)
126 {
127 if (!true)
128 {
129 }
130 return true;
131 }
132
133 // Token: 0x060006B4 RID: 1716 RVA: 0x0000207A File Offset: 0x0000027A
134 internal static bool IsDigit(char ch)
135 {
136 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
137 }
138
139 // Token: 0x060006B5 RID: 1717 RVA: 0x00010500 File Offset: 0x0000E700
140 private static bool ParseFraction(__DTString str, [Out] double result)
141 {
142 bool flag;
143 return flag;
144 }
145
146 // Token: 0x060006B6 RID: 1718 RVA: 0x00010510 File Offset: 0x0000E710
147 private static bool ParseTimeZone(__DTString str, TimeSpan result)
148 {
149 /*
150An exception occurred when decompiling this method (060006B6)
151
152ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::ParseTimeZone(System.__DTString,System.TimeSpan)
153
154 ---> System.Exception: Basic block has to end with unconditional control flow.
155{
156 Block_0:
157 stloc:int64(var_1_01, ldc.i4:int64(0))
158 stloc:char(var_2_09, callgetter:char(DTSubString::get_Item, ldloc:DTSubString[exp:valuetype System.DTSubString&](var_0), ldloc:int64[exp:int32](var_1_01)))
159 stloc:int64(var_6_0D, ldc.i4:int64(0))
160 stloc:char(var_7_18, callgetter:char(DTSubString::get_Item, ldloc:DTSubString[exp:valuetype System.DTSubString&](var_5), ldloc:int64[exp:int32](var_6_0D)))
161 stloc:int32(var_10_22, ldc.i4:int32(34079))
162 stfld:valuetype System.ReadOnlySpan`1<char>(__DTString::Value, ldloc:__DTString[exp:valuetype System.__DTString&](str), ldloc:int32[exp:valuetype System.ReadOnlySpan`1<char>](var_10_22))
163 stfld:valuetype System.ReadOnlySpan`1<char>(__DTString::Value, ldloc:__DTString[exp:valuetype System.__DTString&](str), ldloc:TimeSpan[exp:valuetype System.ReadOnlySpan`1<char>](var_15))
164}
165
166 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
167 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
168 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
169 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
170 --- End of inner exception stack trace ---
171 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
172 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
173*/;
174 }
175
176 // Token: 0x060006B7 RID: 1719 RVA: 0x00010560 File Offset: 0x0000E760
177 private static bool HandleTimeZone(__DTString str, DateTimeResult result)
178 {
179 if (!true)
180 {
181 return;
182 }
183 }
184
185 // Token: 0x060006B8 RID: 1720 RVA: 0x00010578 File Offset: 0x0000E778
187 {
188 int num = 18;
189 str.Value = num;
190 int num2 = dtok.num;
191 if (3 == 0)
192 {
193 }
194 if (!true)
195 {
196 }
199 if (!true)
200 {
201 }
205 double fraction = raw.fraction;
206 int num3 = 16;
207 raw.fraction = fraction;
208 str.Value = num3;
209 int num4 = 15;
210 str.Value = num4;
211 bool flag;
212 return flag;
213 }
214
215 // Token: 0x060006B9 RID: 1721 RVA: 0x0001063C File Offset: 0x0000E83C
217 {
218 do
219 {
220 if (!true)
221 {
222 }
223 if (!true)
224 {
225 }
226 }
227 while (true);
229 }
230
231 // Token: 0x060006BA RID: 1722 RVA: 0x0001065C File Offset: 0x0000E85C
233 {
234 do
235 {
236 if (!true)
237 {
238 }
239 if (!true)
240 {
241 }
242 }
243 while (true);
245 }
246
247 // Token: 0x060006BB RID: 1723 RVA: 0x0001067C File Offset: 0x0000E87C
248 private static bool VerifyValidPunctuation(__DTString str)
249 {
250 int num = 1;
251 if (num == 0 && num == 0)
252 {
253 if (num == 0)
254 {
255 }
256 bool flag;
257 return flag;
258 }
259 }
260
261 // Token: 0x060006BC RID: 1724 RVA: 0x000106A0 File Offset: 0x0000E8A0
262 private static bool GetYearMonthDayOrder(string datePattern, DateTimeFormatInfo dtfi, [Out] int order)
263 {
264 long num = 0L;
265 if (num == 0L)
266 {
267 }
268 if (num == 0L)
269 {
270 }
271 if (num == 0L)
272 {
273 return;
274 }
275 }
276
277 // Token: 0x060006BD RID: 1725 RVA: 0x000106D0 File Offset: 0x0000E8D0
278 private static bool GetYearMonthOrder(string pattern, DateTimeFormatInfo dtfi, [Out] int order)
279 {
280 long num = 0L;
281 if (num == 0L)
282 {
283 }
284 if (num == 0L)
285 {
286 return;
287 }
288 }
289
290 // Token: 0x060006BE RID: 1726 RVA: 0x000106F0 File Offset: 0x0000E8F0
291 private static bool GetMonthDayOrder(string pattern, DateTimeFormatInfo dtfi, [Out] int order)
292 {
293 if (!false)
294 {
295 return;
296 }
297 }
298
299 // Token: 0x060006BF RID: 1727 RVA: 0x00010718 File Offset: 0x0000E918
300 private static bool TryAdjustYear(DateTimeResult result, int year, [Out] int adjustedYear)
301 {
302 /*
303An exception occurred when decompiling this method (060006BF)
304
305ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::TryAdjustYear(System.DateTimeResult,System.Int32,System.Int32)
306
307 ---> System.Exception: Basic block has to end with unconditional control flow.
308{
309 Block_0:
310 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](year), ldloc:DateTimeResult[exp:int32](result))
311}
312
313 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
314 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
315 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
316 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
317 --- End of inner exception stack trace ---
318 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
319 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
320*/;
321 }
322
323 // Token: 0x060006C0 RID: 1728 RVA: 0x00010734 File Offset: 0x0000E934
324 private static bool SetDateYMD(DateTimeResult result, int year, int month, int day)
325 {
326 return true;
327 }
328
329 // Token: 0x060006C1 RID: 1729 RVA: 0x00010744 File Offset: 0x0000E944
330 private static bool SetDateMDY(DateTimeResult result, int month, int day, int year)
331 {
332 if (!true)
333 {
334 }
335 bool flag;
336 return flag;
337 }
338
339 // Token: 0x060006C2 RID: 1730 RVA: 0x00010758 File Offset: 0x0000E958
340 private static bool SetDateDMY(DateTimeResult result, int day, int month, int year)
341 {
342 if (!true)
343 {
344 }
345 bool flag;
346 return flag;
347 }
348
349 // Token: 0x060006C3 RID: 1731 RVA: 0x0001076C File Offset: 0x0000E96C
350 private static bool SetDateYDM(DateTimeResult result, int year, int day, int month)
351 {
352 if (!true)
353 {
354 }
355 bool flag;
356 return flag;
357 }
358
359 // Token: 0x060006C4 RID: 1732 RVA: 0x00010780 File Offset: 0x0000E980
361 {
362 Calendar calendar = result.calendar;
363 if (!true)
364 {
365 }
367 ParseFlags flags = result.flags;
368 result.Year = calendar;
369 result.flags = flags;
370 }
371
372 // Token: 0x060006C5 RID: 1733 RVA: 0x000107B4 File Offset: 0x0000E9B4
374 {
375 return true;
376 }
377
378 // Token: 0x060006C6 RID: 1734 RVA: 0x000107C8 File Offset: 0x0000E9C8
380 {
381 bool flag;
382 return flag;
383 }
384
385 // Token: 0x060006C7 RID: 1735 RVA: 0x000107F0 File Offset: 0x0000E9F0
387 {
388 bool flag;
389 return flag;
390 }
391
392 // Token: 0x060006C8 RID: 1736 RVA: 0x0001080C File Offset: 0x0000EA0C
394 {
395 int hour = result.Hour;
396 return true;
397 }
398
399 // Token: 0x060006C9 RID: 1737 RVA: 0x0001082C File Offset: 0x0000EA2C
401 {
402 bool flag;
403 return flag;
404 }
405
406 // Token: 0x060006CA RID: 1738 RVA: 0x00010848 File Offset: 0x0000EA48
408 {
409 int hour = result.Hour;
410 int hour2 = result.Hour;
411 bool flag;
412 return flag;
413 }
414
415 // Token: 0x060006CB RID: 1739 RVA: 0x00010874 File Offset: 0x0000EA74
417 {
418 int minute = result.Minute;
419 string text;
420 if (text != null)
421 {
422 }
423 return true;
424 }
425
426 // Token: 0x060006CC RID: 1740 RVA: 0x00010894 File Offset: 0x0000EA94
428 {
429 int minute = result.Minute;
430 return true;
431 }
432
433 // Token: 0x060006CD RID: 1741 RVA: 0x000108B0 File Offset: 0x0000EAB0
434 private static bool GetDayOfYMN(DateTimeResult result, DateTimeRawInfo raw)
435 {
436 int hour = result.Hour;
437 int second = result.Second;
438 return true;
439 }
440
441 // Token: 0x060006CE RID: 1742 RVA: 0x000108D4 File Offset: 0x0000EAD4
442 private static bool GetDayOfYN(DateTimeResult result, DateTimeRawInfo raw)
443 {
444 int minute = result.Minute;
445 return true;
446 }
447
448 // Token: 0x060006CF RID: 1743 RVA: 0x000108F0 File Offset: 0x0000EAF0
449 private static bool GetDayOfYM(DateTimeResult result, DateTimeRawInfo raw)
450 {
451 int hour = result.Hour;
452 int second = result.Second;
453 return true;
454 }
455
456 // Token: 0x060006D0 RID: 1744 RVA: 0x00010910 File Offset: 0x0000EB10
458 {
459 DateTimeParse.TM timeMark = raw.timeMark;
460 }
461
462 // Token: 0x060006D1 RID: 1745 RVA: 0x00010970 File Offset: 0x0000EB70
463 private static bool AdjustHour(int hour, DateTimeParse.TM timeMark)
464 {
465 if (hour != 0)
466 {
467 return;
468 }
469 }
470
471 // Token: 0x060006D2 RID: 1746 RVA: 0x00010984 File Offset: 0x0000EB84
472 private static bool GetTimeOfN(DateTimeResult result, DateTimeRawInfo raw)
473 {
474 return true;
475 }
476
477 // Token: 0x060006D3 RID: 1747 RVA: 0x00010998 File Offset: 0x0000EB98
478 private static bool GetTimeOfNN(DateTimeResult result, DateTimeRawInfo raw)
479 {
480 }
481
482 // Token: 0x060006D4 RID: 1748 RVA: 0x000109A8 File Offset: 0x0000EBA8
483 private static bool GetTimeOfNNN(DateTimeResult result, DateTimeRawInfo raw)
484 {
485 }
486
487 // Token: 0x060006D5 RID: 1749 RVA: 0x000109BC File Offset: 0x0000EBBC
488 private static bool GetDateOfDSN(DateTimeResult result, DateTimeRawInfo raw)
489 {
490 int day = result.Day;
491 return true;
492 }
493
494 // Token: 0x060006D6 RID: 1750 RVA: 0x000109D8 File Offset: 0x0000EBD8
495 private static bool GetDateOfNDS(DateTimeResult result, DateTimeRawInfo raw)
496 {
497 return true;
498 }
499
500 // Token: 0x060006D7 RID: 1751 RVA: 0x000109EC File Offset: 0x0000EBEC
502 {
503 int minute = result.Minute;
504 return true;
505 }
506
507 // Token: 0x060006D8 RID: 1752 RVA: 0x00010A10 File Offset: 0x0000EC10
509 {
510 int numCount = raw.numCount;
511 int numCount2 = raw.numCount;
512 int numCount3 = raw.numCount;
513 int numCount4 = raw.numCount;
514 int numCount5 = raw.numCount;
516 int numCount6 = raw.numCount;
518 return true;
519 }
520
521 // Token: 0x060006D9 RID: 1753 RVA: 0x00010A60 File Offset: 0x0000EC60
523 {
524 return "The DateTime represented by the string is not supported in calendar {0}." != null;
525 }
526
527 // Token: 0x060006DA RID: 1754 RVA: 0x00010A9C File Offset: 0x0000EC9C
529 {
530 bool flag;
531 return flag;
532 }
533
534 // Token: 0x060006DB RID: 1755 RVA: 0x00010ADC File Offset: 0x0000ECDC
536 {
537 if (!true)
538 {
539 }
540 return 1;
541 }
542
543 // Token: 0x060006DC RID: 1756 RVA: 0x00010AF0 File Offset: 0x0000ECF0
545 {
546 if (!true)
547 {
548 }
549 return 1;
550 }
551
552 // Token: 0x060006DD RID: 1757 RVA: 0x00010B04 File Offset: 0x0000ED04
554 {
555 if (!true)
556 {
557 }
559 if (!true)
560 {
561 }
563 return true;
564 }
565
566 // Token: 0x060006DE RID: 1758 RVA: 0x00010B28 File Offset: 0x0000ED28
568 {
569 if (!true)
570 {
571 }
573 if (!true)
574 {
575 }
576 offset._ticks = 1L;
577 if (!true)
578 {
579 }
581 offset._ticks = 1L;
582 return true;
583 }
584
585 // Token: 0x060006DF RID: 1759 RVA: 0x00010B60 File Offset: 0x0000ED60
587 {
588 if (s != null)
589 {
590 string dateSeparator = dtfi.DateSeparator;
591 string timeSeparator = dtfi.TimeSeparator;
592 Calendar calendar = dtfi.calendar;
593 result.calendar = calendar;
594 if (calendar == null)
595 {
596 }
597 bool flag;
598 return flag;
599 }
600 if ("String was not recognized as a valid DateTime." == null)
601 {
602 }
603 bool flag2;
604 return flag2;
605 }
606
607 // Token: 0x060006E0 RID: 1760 RVA: 0x00010C44 File Offset: 0x0000EE44
609 {
610 int num = 1;
611 if (num == 0)
612 {
613 }
614 if (num == 0)
615 {
616 }
617 bool flag;
618 return flag;
619 }
620
621 // Token: 0x060006E1 RID: 1761 RVA: 0x00010C80 File Offset: 0x0000EE80
623 {
624 /*
625An exception occurred when decompiling this method (060006E1)
626
627ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::DateTimeOffsetTimeZonePostProcessing(System.__DTString,System.DateTimeResult,System.Globalization.DateTimeStyles)
628
629 ---> System.Exception: Basic block has to end with unconditional control flow.
630{
631 IL_001B:
632 brtrue(IL_0000, ldloc:int64[exp:bool](var_4_13))
633}
634
635 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
636 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
637 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
638 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
639 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
640 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
641 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
642 --- End of inner exception stack trace ---
643 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
644 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
645*/;
646 }
647
648 // Token: 0x060006E2 RID: 1762 RVA: 0x00010CAC File Offset: 0x0000EEAC
649 private static bool AdjustTimeZoneToUniversal(DateTimeResult result)
650 {
651 return "The DateTime represented by the string is out of range." != null;
652 }
653
654 // Token: 0x060006E3 RID: 1763 RVA: 0x00010CC8 File Offset: 0x0000EEC8
655 private static bool AdjustTimeZoneToLocal(DateTimeResult result, bool bTimeOnly)
656 {
657 int num = 1;
659 if (num == 0)
660 {
661 }
663 if (num == 0)
664 {
665 }
667 if (num == 0)
668 {
669 return;
670 }
671 }
672
673 // Token: 0x060006E4 RID: 1764 RVA: 0x00010D0C File Offset: 0x0000EF0C
675 {
676 int year = raw.year;
677 raw.year = year;
678 if (year == 0)
679 {
680 }
681 if (year == 0)
682 {
683 }
684 if (year == 0)
685 {
686 }
687 if (year == 0)
688 {
689 }
690 int year2 = raw.year;
691 raw.year = year2;
692 if (year2 == 0)
693 {
694 }
695 bool flag;
696 return flag;
697 }
698
699 // Token: 0x060006E5 RID: 1765 RVA: 0x00010DA0 File Offset: 0x0000EFA0
700 internal static bool MatchHebrewDigits(__DTString str, int digitLen, [Out] int number)
701 {
702 return true;
703 }
704
705 // Token: 0x060006E6 RID: 1766 RVA: 0x00010DB4 File Offset: 0x0000EFB4
706 internal static bool ParseDigits(__DTString str, int digitLen, [Out] int result)
707 {
708 if (!true)
709 {
710 }
711 bool flag;
712 return flag;
713 }
714
715 // Token: 0x060006E7 RID: 1767 RVA: 0x00010DC8 File Offset: 0x0000EFC8
716 internal static bool ParseDigits(__DTString str, int minDigitLen, int maxDigitLen, [Out] int result)
717 {
718 /*
719An exception occurred when decompiling this method (060006E7)
720
721ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::ParseDigits(System.__DTString,System.Int32,System.Int32,System.Int32)
722
723 ---> System.Exception: Basic block has to end with unconditional control flow.
724{
725 Block_0:
726 stloc:int64(var_4_05, ldc.i4:int64(0))
727 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](maxDigitLen), ldloc:int64[exp:int32](var_4_05))
728}
729
730 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
731 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
732 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
733 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
734 --- End of inner exception stack trace ---
735 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
736 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
737*/;
738 }
739
740 // Token: 0x060006E8 RID: 1768 RVA: 0x00010DEC File Offset: 0x0000EFEC
741 private static bool ParseFractionExact(__DTString str, int maxDigitLen, double result)
742 {
743 /*
744An exception occurred when decompiling this method (060006E8)
745
746ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::ParseFractionExact(System.__DTString,System.Int32,System.Double)
747
748 ---> System.Exception: Basic block has to end with unconditional control flow.
749{
750 Block_0:
751 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](maxDigitLen), ldloc:float64[exp:int32](result))
752}
753
754 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
755 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
756 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
757 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
758 --- End of inner exception stack trace ---
759 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
760 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
761*/;
762 }
763
764 // Token: 0x060006E9 RID: 1769 RVA: 0x00010E08 File Offset: 0x0000F008
765 private static bool ParseSign(__DTString str, bool result)
766 {
767 str.Value = 1;
768 return true;
769 }
770
771 // Token: 0x060006EA RID: 1770 RVA: 0x00010E24 File Offset: 0x0000F024
772 private static bool ParseTimeZoneOffset(__DTString str, int len, TimeSpan result)
773 {
774 int num = 1;
775 if (num == 0)
776 {
777 }
778 if (num == 0)
779 {
780 }
781 if (num == 0)
782 {
783 }
784 if (":" == null)
785 {
786 }
787 len.m_value = ":";
788 if (":" == null)
789 {
792 return;
793 }
794 }
795
796 // Token: 0x060006EB RID: 1771 RVA: 0x00010E6C File Offset: 0x0000F06C
797 private static bool MatchAbbreviatedMonthName(__DTString str, DateTimeFormatInfo dtfi, int result)
798 {
799 string text;
800 int stringLength = text._stringLength;
801 string text2;
802 int stringLength2 = text2._stringLength;
803 bool flag;
804 return flag;
805 }
806
807 // Token: 0x060006EC RID: 1772 RVA: 0x00010EBC File Offset: 0x0000F0BC
808 private static bool MatchMonthName(__DTString str, DateTimeFormatInfo dtfi, int result)
809 {
810 string text;
811 int stringLength = text._stringLength;
812 string text2;
813 int stringLength2 = text2._stringLength;
814 bool flag;
815 return flag;
816 }
817
818 // Token: 0x060006ED RID: 1773 RVA: 0x00010F0C File Offset: 0x0000F10C
819 private static bool MatchAbbreviatedDayName(__DTString str, DateTimeFormatInfo dtfi, int result)
820 {
821 string text;
822 int stringLength = text._stringLength;
823 bool flag;
824 return flag;
825 }
826
827 // Token: 0x060006EE RID: 1774 RVA: 0x00010F4C File Offset: 0x0000F14C
828 private static bool MatchDayName(__DTString str, DateTimeFormatInfo dtfi, int result)
829 {
830 string text;
831 int stringLength = text._stringLength;
832 bool flag;
833 return flag;
834 }
835
836 // Token: 0x060006EF RID: 1775 RVA: 0x00010F8C File Offset: 0x0000F18C
837 private static bool MatchEraName(__DTString str, DateTimeFormatInfo dtfi, int result)
838 {
839 /*
840An exception occurred when decompiling this method (060006EF)
841
842ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::MatchEraName(System.__DTString,System.Globalization.DateTimeFormatInfo,System.Int32)
843
844 ---> System.Exception: Basic block has to end with unconditional control flow.
845{
846 IL_004D:
847 stloc:int32(var_19_54, ldfld:int32(string::_stringLength, ldloc:string(var_11)))
848 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](var_19_54), ldloc:int32(var_12))
849}
850
851 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
852 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
853 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
854 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
855 --- End of inner exception stack trace ---
856 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
857 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
858*/;
859 }
860
861 // Token: 0x060006F0 RID: 1776 RVA: 0x00010FFC File Offset: 0x0000F1FC
863 {
864 string text;
865 if (text._stringLength == 0)
866 {
867 }
868 string text2;
869 if (text2._stringLength == 0)
870 {
871 }
873 int num;
874 if (num == 0)
875 {
876 return;
877 }
878 string text3;
879 int stringLength = text3._stringLength;
881 int num2;
882 if (num2 != 0)
883 {
884 return;
885 }
886 }
887
888 // Token: 0x060006F1 RID: 1777 RVA: 0x00011048 File Offset: 0x0000F248
890 {
891 string text;
892 int stringLength = text._stringLength;
893 long num = 0L;
894 char c = text[(int)num];
895 return true;
896 }
897
898 // Token: 0x060006F2 RID: 1778 RVA: 0x00011088 File Offset: 0x0000F288
899 private static bool CheckNewValue(int currentValue, int newValue, char patternChar, DateTimeResult result)
900 {
901 return true;
902 }
903
904 // Token: 0x060006F3 RID: 1779 RVA: 0x00011098 File Offset: 0x0000F298
906 {
907 /*
908An exception occurred when decompiling this method (060006F3)
909
910ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime System.DateTimeParse::GetDateTimeNow(System.DateTimeResult,System.Globalization.DateTimeStyles)
911
912 ---> System.Exception: Basic block has to end with unconditional control flow.
913{
914 Block_0:
915 stloc:ParseFlags(var_0_06, ldfld:ParseFlags(DateTimeResult::flags, ldloc:DateTimeResult[exp:valuetype System.DateTimeResult&](result)))
916 stloc:DateTime(var_1_0C, callgetter:DateTime(DateTime::get_Now))
917 stloc:DateTime(var_2_12, callgetter:DateTime(DateTime::get_UtcNow))
918 stloc:DateTime(var_3_18, callgetter:DateTime(DateTime::get_UtcNow))
919 stloc:TimeSpan(var_4_1F, ldfld:TimeSpan(DateTimeResult::timeZoneOffset, ldloc:DateTimeResult[exp:valuetype System.DateTimeResult&](result)))
920}
921
922 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
923 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
924 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
925 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
926 --- End of inner exception stack trace ---
927 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
928 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
929*/;
930 }
931
932 // Token: 0x060006F4 RID: 1780 RVA: 0x000110C8 File Offset: 0x0000F2C8
934 {
936 result.Year = defaultInstance;
937 return true;
938 }
939
940 // Token: 0x060006F5 RID: 1781 RVA: 0x000110E8 File Offset: 0x0000F2E8
942 {
943 /*
944An exception occurred when decompiling this method (060006F5)
945
946ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.DateTimeParse::ExpandPredefinedFormat(System.ReadOnlySpan`1<System.Char>,System.Globalization.DateTimeFormatInfo,System.ParsingInfo,System.DateTimeResult)
947
948 ---> System.Exception: Basic block has to end with unconditional control flow.
949{
950 IL_00A5:
951 stloc:Calendar(var_25_AD, call:Calendar(GregorianCalendar::GetDefaultInstance))
952}
953
954 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
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 1878
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 1846
958 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
959 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
960 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
961 --- End of inner exception stack trace ---
962 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
963 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
964*/;
965 }
966
967 // Token: 0x060006F6 RID: 1782 RVA: 0x000111A4 File Offset: 0x0000F3A4
969 {
970 }
971
972 // Token: 0x060006F7 RID: 1783 RVA: 0x000111BC File Offset: 0x0000F3BC
974 {
975 char @char = str.GetChar();
976 int index = str.Index;
977 CompareInfo compareInfo = dtfi._compareInfo;
978 string text;
979 int stringLength = text._stringLength;
980 long num = 0L;
981 string text2;
982 char c = text2[(int)num];
983 int repeatCount = str.GetRepeatCount();
984 if (!true)
985 {
986 }
987 bool next = str.GetNext();
988 int num2 = 70;
989 bool flag = str.Match((char)num2);
990 int repeatCount2 = str.GetRepeatCount();
991 int repeatCount3 = str.GetRepeatCount();
992 bool flag2;
993 return flag2;
994 }
995
996 // Token: 0x060006F8 RID: 1784 RVA: 0x000113CC File Offset: 0x0000F5CC
997 internal static bool TryParseQuoteString(ReadOnlySpan<char> format, int pos, StringBuilder result, [Out] int returnValue)
998 {
999 /*
1000An exception occurred when decompiling this method (060006F8)
1001
1002ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse::TryParseQuoteString(System.ReadOnlySpan`1<System.Char>,System.Int32,System.Text.StringBuilder,System.Int32)
1003
1004 ---> System.Exception: Basic block has to end with unconditional control flow.
1005{
1006 Block_0:
1007 stloc:int32(var_0_01, ldc.i4:int32(1))
1008 stfld:int32(int32::m_value, ldloc:int32[exp:int32&](returnValue), ldloc:int32(var_0_01))
1009}
1010
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 1852
1012 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
1013 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
1014 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
1015 --- End of inner exception stack trace ---
1016 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
1017 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
1018*/;
1019 }
1020
1021 // Token: 0x060006F9 RID: 1785 RVA: 0x000113E8 File Offset: 0x0000F5E8
1023 {
1025 return "The DateTime represented by the string is not supported in calendar {0}." != null;
1026 }
1027
1028 // Token: 0x060006FA RID: 1786 RVA: 0x00011454 File Offset: 0x0000F654
1030 {
1031 /*
1032An exception occurred when decompiling this method (060006FA)
1033
1034ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.DateTimeParse::GetDateTimeParseException(System.DateTimeResult)
1035
1036 ---> System.Exception: Basic block has to end with unconditional control flow.
1037{
1038 Block_0:
1039 stloc:string(var_3_12, call:string(SR::GetResourceString, call:string(SR::GetResourceString, call:string(SR::GetResourceString, ldloc:string(var_2)))))
1040 stloc:int64(var_6_17, ldc.i4:int64(0))
1041 stloc:string(var_7_26, call:string(SR::GetResourceString, call:string(SR::Format, ldloc:string(var_3_12), ldloc:string[exp:object](var_5))))
1042 stloc:string(var_10_32, call:string(SR::GetResourceString, ldloc:string(var_9)))
1043 stloc:string(var_13_42, call:string(SR::Format, ldloc:string(var_10_32), ldloc:string[exp:object](var_12), ldloc:int64[exp:object](var_6_17)))
1044}
1045
1046 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
1047 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
1048 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
1049 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
1050 --- End of inner exception stack trace ---
1051 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
1052 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
1053*/;
1054 }
1055
1056 // Token: 0x060006FB RID: 1787 RVA: 0x000114A4 File Offset: 0x0000F6A4
1057 // Note: this type is marked as 'beforefieldinit'.
1059 {
1060 }
1061
1062 // Token: 0x04000275 RID: 629
1064
1065 // Token: 0x04000276 RID: 630
1067
1068 // Token: 0x020000AE RID: 174
1070 {
1071 // Token: 0x060006FC RID: 1788 RVA: 0x000114C0 File Offset: 0x0000F6C0
1072 public MatchNumberDelegate(object @object, IntPtr method)
1073 {
1075 this.m_target = @object;
1077 this.method_code = this;
1078 }
1079
1080 // Token: 0x060006FD RID: 1789 RVA: 0x00011514 File Offset: 0x0000F714
1081 public bool Invoke(__DTString str, int digitLen, [Out] int result)
1082 {
1083 /*
1084An exception occurred when decompiling this method (060006FD)
1085
1086ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.DateTimeParse/MatchNumberDelegate::Invoke(System.__DTString,System.Int32,System.Int32)
1087
1088 ---> System.Exception: Basic block has to end with unconditional control flow.
1089{
1090 Block_0:
1091 stloc:native int(var_0_06, ldfld:native int(Delegate::method_code, ldloc:MatchNumberDelegate[exp:Delegate](this)))
1092 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:MatchNumberDelegate[exp:Delegate](this)))
1093 stloc:native int(var_2_14, ldfld:native int(Delegate::method, ldloc:MatchNumberDelegate[exp:Delegate](this)))
1094}
1095
1096 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
1097 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
1098 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
1099 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
1100 --- End of inner exception stack trace ---
1101 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
1102 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
1103*/;
1104 }
1105 }
1106
1107 // Token: 0x020000AF RID: 175
1108 internal enum DTT
1109 {
1110 // Token: 0x04000278 RID: 632
1111 End,
1112 // Token: 0x04000279 RID: 633
1113 NumEnd,
1114 // Token: 0x0400027A RID: 634
1115 NumAmpm,
1116 // Token: 0x0400027B RID: 635
1117 NumSpace,
1118 // Token: 0x0400027C RID: 636
1119 NumDatesep,
1120 // Token: 0x0400027D RID: 637
1121 NumTimesep,
1122 // Token: 0x0400027E RID: 638
1123 MonthEnd,
1124 // Token: 0x0400027F RID: 639
1125 MonthSpace,
1126 // Token: 0x04000280 RID: 640
1128 // Token: 0x04000281 RID: 641
1130 // Token: 0x04000282 RID: 642
1132 // Token: 0x04000283 RID: 643
1133 DayOfWeek,
1134 // Token: 0x04000284 RID: 644
1135 YearSpace,
1136 // Token: 0x04000285 RID: 645
1138 // Token: 0x04000286 RID: 646
1139 YearEnd,
1140 // Token: 0x04000287 RID: 647
1141 TimeZone,
1142 // Token: 0x04000288 RID: 648
1143 Era,
1144 // Token: 0x04000289 RID: 649
1146 // Token: 0x0400028A RID: 650
1147 Unk,
1148 // Token: 0x0400028B RID: 651
1150 // Token: 0x0400028C RID: 652
1151 Max
1152 }
1153
1154 // Token: 0x020000B0 RID: 176
1155 internal enum TM
1156 {
1157 // Token: 0x0400028E RID: 654
1158 NotSet = -1,
1159 // Token: 0x0400028F RID: 655
1160 AM,
1161 // Token: 0x04000290 RID: 656
1162 PM
1163 }
1164
1165 // Token: 0x020000B1 RID: 177
1166 internal enum DS
1167 {
1168 // Token: 0x04000292 RID: 658
1169 BEGIN,
1170 // Token: 0x04000293 RID: 659
1171 N,
1172 // Token: 0x04000294 RID: 660
1173 NN,
1174 // Token: 0x04000295 RID: 661
1175 D_Nd,
1176 // Token: 0x04000296 RID: 662
1177 D_NN,
1178 // Token: 0x04000297 RID: 663
1179 D_NNd,
1180 // Token: 0x04000298 RID: 664
1181 D_M,
1182 // Token: 0x04000299 RID: 665
1183 D_MN,
1184 // Token: 0x0400029A RID: 666
1185 D_NM,
1186 // Token: 0x0400029B RID: 667
1187 D_MNd,
1188 // Token: 0x0400029C RID: 668
1189 D_NDS,
1190 // Token: 0x0400029D RID: 669
1191 D_Y,
1192 // Token: 0x0400029E RID: 670
1193 D_YN,
1194 // Token: 0x0400029F RID: 671
1195 D_YNd,
1196 // Token: 0x040002A0 RID: 672
1197 D_YM,
1198 // Token: 0x040002A1 RID: 673
1199 D_YMd,
1200 // Token: 0x040002A2 RID: 674
1201 D_S,
1202 // Token: 0x040002A3 RID: 675
1203 T_S,
1204 // Token: 0x040002A4 RID: 676
1205 T_Nt,
1206 // Token: 0x040002A5 RID: 677
1207 T_NNt,
1208 // Token: 0x040002A6 RID: 678
1209 ERROR,
1210 // Token: 0x040002A7 RID: 679
1211 DX_NN,
1212 // Token: 0x040002A8 RID: 680
1213 DX_NNN,
1214 // Token: 0x040002A9 RID: 681
1215 DX_MN,
1216 // Token: 0x040002AA RID: 682
1217 DX_NM,
1218 // Token: 0x040002AB RID: 683
1219 DX_MNN,
1220 // Token: 0x040002AC RID: 684
1221 DX_DS,
1222 // Token: 0x040002AD RID: 685
1223 DX_DSN,
1224 // Token: 0x040002AE RID: 686
1225 DX_NDS,
1226 // Token: 0x040002AF RID: 687
1227 DX_NNDS,
1228 // Token: 0x040002B0 RID: 688
1229 DX_YNN,
1230 // Token: 0x040002B1 RID: 689
1231 DX_YMN,
1232 // Token: 0x040002B2 RID: 690
1233 DX_YN,
1234 // Token: 0x040002B3 RID: 691
1235 DX_YM,
1236 // Token: 0x040002B4 RID: 692
1237 TX_N,
1238 // Token: 0x040002B5 RID: 693
1239 TX_NN,
1240 // Token: 0x040002B6 RID: 694
1241 TX_NNN,
1242 // Token: 0x040002B7 RID: 695
1243 TX_TS,
1244 // Token: 0x040002B8 RID: 696
1245 DX_NNY
1246 }
1247
1248 // Token: 0x020000B2 RID: 178
1250 [Serializable]
1251 private sealed class <>c
1252 {
1253 // Token: 0x060006FE RID: 1790 RVA: 0x00011538 File Offset: 0x0000F738
1254 // Note: this type is marked as 'beforefieldinit'.
1255 static <>c()
1256 {
1257 }
1258
1259 // Token: 0x060006FF RID: 1791 RVA: 0x00011548 File Offset: 0x0000F748
1260 public <>c()
1261 {
1262 }
1263
1264 // Token: 0x06000700 RID: 1792 RVA: 0x0001155C File Offset: 0x0000F75C
1266 {
1267 }
1268
1269 // Token: 0x040002B9 RID: 697
1270 public static readonly DateTimeParse.<>c <>9;
1271
1272 // Token: 0x040002BA RID: 698
1273 public static Func<DateTimeParse.MatchNumberDelegate> <>9__98_0;
1274 }
1275 }
1276}
class f__AnonymousType0<< Count > j__TPar
bool Invoke(__DTString str, int digitLen, [Out] int result)
MatchNumberDelegate(object @object, IntPtr method)
static bool ParseDigits(__DTString str, int digitLen, [Out] int result)
static bool TryParse(ReadOnlySpan< char > s, DateTimeFormatInfo dtfi, DateTimeStyles styles, [Out] DateTime result, [Out] TimeSpan offset)
static bool ParseJapaneseEraStart(__DTString str, DateTimeFormatInfo dtfi)
static DateTimeParse.DS[][] dateParsingStates
static bool CheckDefaultDateTime(DateTimeResult result, Calendar cal, DateTimeStyles styles)
static bool GetDayOfNM(DateTimeResult result, DateTimeStyles styles, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool GetTimeOfN(DateTimeResult result, DateTimeRawInfo raw)
static bool TryParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, DateTimeStyles style, [Out] DateTime result)
static void AdjustTimeMark(DateTimeFormatInfo dtfi, DateTimeRawInfo raw)
static bool ParseTimeZoneOffset(__DTString str, int len, TimeSpan result)
static bool ParseTimeZone(__DTString str, TimeSpan result)
static bool GetDateOfNDS(DateTimeResult result, DateTimeRawInfo raw)
static bool GetTimeOfNNN(DateTimeResult result, DateTimeRawInfo raw)
static bool GetMonthDayOrder(string pattern, DateTimeFormatInfo dtfi, [Out] int order)
static bool HandleTimeZone(__DTString str, DateTimeResult result)
static bool TryParse(ReadOnlySpan< char > s, DateTimeFormatInfo dtfi, DateTimeStyles styles, DateTimeResult result)
static bool GetHebrewDayOfNM(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool MatchAbbreviatedDayName(__DTString str, DateTimeFormatInfo dtfi, int result)
static bool ParseSign(__DTString str, bool result)
static bool ParseISO8601(DateTimeRawInfo raw, __DTString str, DateTimeStyles styles, DateTimeResult result)
static bool ProcessHebrewTerminalState(DateTimeParse.DS dps, __DTString str, DateTimeResult result, DateTimeStyles styles, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static DateTimeParse.MatchNumberDelegate m_hebrewNumberParser
static bool GetDayOfYNN(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool TryParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, DateTimeStyles style, DateTimeResult result)
static bool MatchTimeMark(__DTString str, DateTimeFormatInfo dtfi, DateTimeParse.TM result)
static bool GetDayOfYN(DateTimeResult result, DateTimeRawInfo raw)
static bool GetYearMonthDayOrder(string datePattern, DateTimeFormatInfo dtfi, [Out] int order)
static bool GetDayOfNNY(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool IsDigit(char ch)
static bool GetYearMonthOrder(string pattern, DateTimeFormatInfo dtfi, [Out] int order)
static bool AdjustHour(int hour, DateTimeParse.TM timeMark)
static DateTime ParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, DateTimeStyles style)
static bool GetDayOfMN(DateTimeResult result, DateTimeStyles styles, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool TryParse(ReadOnlySpan< char > s, DateTimeFormatInfo dtfi, DateTimeStyles styles, [Out] DateTime result)
static bool ProcessDateTimeSuffix(DateTimeResult result, DateTimeRawInfo raw, DateTimeToken dtok)
static bool MatchEraName(__DTString str, DateTimeFormatInfo dtfi, int result)
static bool TryParseQuoteString(ReadOnlySpan< char > format, int pos, StringBuilder result, [Out] int returnValue)
static bool GetDayOfNNN(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool MatchMonthName(__DTString str, DateTimeFormatInfo dtfi, int result)
static bool VerifyValidPunctuation(__DTString str)
static bool GetDayOfMNN(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool MatchAbbreviatedMonthName(__DTString str, DateTimeFormatInfo dtfi, int result)
static DateTime Parse(ReadOnlySpan< char > s, DateTimeFormatInfo dtfi, DateTimeStyles styles, [Out] TimeSpan offset)
static bool TryParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, DateTimeStyles style, [Out] DateTime result, [Out] TimeSpan offset)
static bool GetDayOfYMN(DateTimeResult result, DateTimeRawInfo raw)
static DateTime ParseExact(ReadOnlySpan< char > s, ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, DateTimeStyles style, [Out] TimeSpan offset)
static bool GetDayOfYM(DateTimeResult result, DateTimeRawInfo raw)
static DateTime Parse(ReadOnlySpan< char > s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
static bool MatchAbbreviatedTimeMark(__DTString str, DateTimeFormatInfo dtfi, DateTimeParse.TM result)
static bool AdjustTimeZoneToUniversal(DateTimeResult result)
static bool GetDayOfNN(DateTimeResult result, DateTimeStyles styles, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static string ExpandPredefinedFormat(ReadOnlySpan< char > format, DateTimeFormatInfo dtfi, ParsingInfo parseInfo, DateTimeResult result)
static bool GetDateOfNNDS(DateTimeResult result, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static DateTime ParseExactMultiple(ReadOnlySpan< char > s, string[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style)
static bool TryParseExactMultiple(ReadOnlySpan< char > s, string[] formats, DateTimeFormatInfo dtfi, DateTimeStyles style, DateTimeResult result)
static bool ParseByFormat(__DTString str, __DTString format, ParsingInfo parseInfo, DateTimeFormatInfo dtfi, DateTimeResult result)
static bool ParseFraction(__DTString str, [Out] double result)
static bool SetDateMDY(DateTimeResult result, int month, int day, int year)
static bool ProcessTerminalState(DateTimeParse.DS dps, __DTString str, DateTimeResult result, DateTimeStyles styles, DateTimeRawInfo raw, DateTimeFormatInfo dtfi)
static bool CheckNewValue(int currentValue, int newValue, char patternChar, DateTimeResult result)
static bool Lex(DateTimeParse.DS dps, __DTString str, DateTimeToken dtok, DateTimeRawInfo raw, DateTimeResult result, DateTimeFormatInfo dtfi, DateTimeStyles styles)
static bool AdjustTimeZoneToLocal(DateTimeResult result, bool bTimeOnly)
static bool ParseFractionExact(__DTString str, int maxDigitLen, double result)
static Calendar GetTaiwanCalendarDefaultInstance()
static bool SetDateYMD(DateTimeResult result, int year, int month, int day)
static bool MatchWord(__DTString str, string target)
static Exception GetDateTimeParseException(DateTimeResult result)
static bool DoStrictParse(ReadOnlySpan< char > s, ReadOnlySpan< char > formatParam, DateTimeStyles styles, DateTimeFormatInfo dtfi, DateTimeResult result)
static bool MatchHebrewDigits(__DTString str, int digitLen, [Out] int number)
static bool DateTimeOffsetTimeZonePostProcessing(__DTString str, DateTimeResult result, DateTimeStyles styles)
static bool MatchDayName(__DTString str, DateTimeFormatInfo dtfi, int result)
static bool GetTimeOfNN(DateTimeResult result, DateTimeRawInfo raw)
static void GetDefaultYear(DateTimeResult result, DateTimeStyles styles)
static bool TryAdjustYear(DateTimeResult result, int year, [Out] int adjustedYear)
static bool SetDateYDM(DateTimeResult result, int year, int day, int month)
static DateTime GetDateTimeNow(DateTimeResult result, DateTimeStyles styles)
static Calendar GetJapaneseCalendarDefaultInstance()
static bool GetTimeZoneName(__DTString str)
static bool ParseDigits(__DTString str, int minDigitLen, int maxDigitLen, [Out] int result)
static bool SetDateDMY(DateTimeResult result, int day, int month, int year)
static bool GetDateOfDSN(DateTimeResult result, DateTimeRawInfo raw)
static bool DetermineTimeZoneAdjustments(__DTString str, DateTimeResult result, DateTimeStyles styles, bool bTimeOnly)
static DateTimeFormatInfo GetTaiwanCalendarDTFI()
static DateTimeFormatInfo GetJapaneseCalendarDTFI()
static void ThrowArgumentOutOfRangeException()
static TimeZoneInfo Local
DateTimeParse.TM timeMark
ReadOnlySpan< char > failedFormatSpecifier
static DateTime Now
Definition DateTime.cs:530
readonly int _length
bool Match(string str)