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
DateTimeFormatInfo.cs
Go to the documentation of this file.
1using System;
4
6{
7 // Token: 0x02000588 RID: 1416
10 {
11 // Token: 0x17000620 RID: 1568
12 // (get) Token: 0x06002AA8 RID: 10920 RVA: 0x0005CA4C File Offset: 0x0005AC4C
13 private string CultureName
14 {
15 get
16 {
17 string name = this._name;
18 if (name != null)
19 {
20 return name;
21 }
22 string sRealName = this._cultureData.sRealName;
23 this._name = sRealName;
24 return sRealName;
25 }
26 }
27
28 // Token: 0x17000621 RID: 1569
29 // (get) Token: 0x06002AA9 RID: 10921 RVA: 0x0005CA7C File Offset: 0x0005AC7C
31 {
32 get
33 {
35 if (this._cultureInfo == null)
36 {
37 string sRealName;
38 if (this._name == null)
39 {
40 sRealName = this._cultureData.sRealName;
41 this._name = sRealName;
42 }
45 }
46 return cultureInfo;
47 }
48 }
49
50 // Token: 0x17000622 RID: 1570
51 // (get) Token: 0x06002AAA RID: 10922 RVA: 0x0005CABC File Offset: 0x0005ACBC
52 private string LanguageName
53 {
54 get
55 {
56 string langName = this._langName;
57 if (langName != null)
58 {
59 return langName;
60 }
61 string sISO639Language = this._cultureData.sISO639Language;
62 this._langName = sISO639Language;
63 return sISO639Language;
64 }
65 }
66
67 // Token: 0x06002AAB RID: 10923 RVA: 0x0005CAEC File Offset: 0x0005ACEC
69 {
70 string[] array = this.abbreviatedDayNames;
71 if (array != null)
72 {
73 return array;
74 }
75 string[] array2;
76 return array2;
77 }
78
79 // Token: 0x06002AAC RID: 10924 RVA: 0x0005CB08 File Offset: 0x0005AD08
88
89 // Token: 0x06002AAD RID: 10925 RVA: 0x0005CB2C File Offset: 0x0005AD2C
90 private string[] internalGetDayOfWeekNames()
91 {
92 string[] array = this.dayNames;
93 if (array != null)
94 {
95 return array;
96 }
97 string[] array2;
98 return array2;
99 }
100
101 // Token: 0x06002AAE RID: 10926 RVA: 0x0005CB48 File Offset: 0x0005AD48
103 {
106 string[] array;
108 return array;
109 }
110
111 // Token: 0x06002AAF RID: 10927 RVA: 0x0005CB6C File Offset: 0x0005AD6C
113 {
114 string[] array = this.abbreviatedMonthNames;
115 if (array != null)
116 {
117 return array;
118 }
119 string[] array2;
120 return array2;
121 }
122
123 // Token: 0x06002AB0 RID: 10928 RVA: 0x0005CB88 File Offset: 0x0005AD88
125 {
128 string[] array;
130 return array;
131 }
132
133 // Token: 0x06002AB1 RID: 10929 RVA: 0x0005CBAC File Offset: 0x0005ADAC
134 private string[] internalGetMonthNames()
135 {
136 string[] array = this.monthNames;
137 if (array != null)
138 {
139 return array;
140 }
141 string[] array2;
142 return array2;
143 }
144
145 // Token: 0x06002AB2 RID: 10930 RVA: 0x0005CBC8 File Offset: 0x0005ADC8
146 private string[] internalGetMonthNamesCore()
147 {
150 string[] array;
152 return array;
153 }
154
155 // Token: 0x06002AB3 RID: 10931 RVA: 0x0005CBEC File Offset: 0x0005ADEC
157 {
158 this.formatFlags = DateTimeFormatFlags.UseGenitiveMonth;
159 base..ctor();
160 if (this.yearMonthPattern == null)
161 {
162 }
165 if (cultureData == null)
166 {
167 }
169 this.calendar = defaultInstance;
171 }
172
173 // Token: 0x06002AB4 RID: 10932 RVA: 0x0005CC3C File Offset: 0x0005AE3C
179
180 // Token: 0x06002AB5 RID: 10933 RVA: 0x0005CC60 File Offset: 0x0005AE60
182 {
183 int num = this.firstDayOfWeek;
185 int num2 = this.calendarWeekRule;
187 string text = this.amDesignator;
188 if (text == null)
189 {
191 }
192 string text2 = this.pmDesignator;
193 if (text2 == null)
194 {
195 this.pmDesignator = text2;
196 }
197 string text3 = this.timeSeparator;
198 if (text3 == null)
199 {
201 }
202 if (this.dateSeparator == null)
203 {
204 string text4;
206 }
207 string[] longTimes = this._cultureData.LongTimes;
210 string[] shortTimes = cultureData2.ShortTimes;
212 string[] array;
214 string[] array2;
216 string[] array3;
218 }
219
220 // Token: 0x17000623 RID: 1571
221 // (get) Token: 0x06002AB6 RID: 10934 RVA: 0x0005CD18 File Offset: 0x0005AF18
223 {
224 get
225 {
226 /*
227An exception occurred when decompiling this method (06002AB6)
228
229ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatInfo System.Globalization.DateTimeFormatInfo::get_InvariantInfo()
230
231 ---> System.Exception: Basic block has to end with unconditional control flow.
232{
233 Block_0:
234 brtrue(IL_0000, ldc.i4:bool(1))
235}
236
237 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
238 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
239 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
240 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
241 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
242 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
243 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
244 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
245 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
246 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
247 --- End of inner exception stack trace ---
248 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
249 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
250*/;
251 }
252 }
253
254 // Token: 0x17000624 RID: 1572
255 // (get) Token: 0x06002AB7 RID: 10935 RVA: 0x0005CD30 File Offset: 0x0005AF30
257 {
258 get
259 {
260 if (", HasRightShoulderButton=" == null)
261 {
262 }
264 DateTimeFormatInfo dateTimeInfo;
265 if (currentCulture.m_isInherited)
266 {
267 if (currentCulture != null)
268 {
269 throw new InvalidCastException();
270 }
271 }
272 else
273 {
274 dateTimeInfo = currentCulture.dateTimeInfo;
275 while (dateTimeInfo == null)
276 {
277 }
278 }
279 return dateTimeInfo;
280 }
281 }
282
283 // Token: 0x06002AB8 RID: 10936 RVA: 0x0005CD68 File Offset: 0x0005AF68
285 {
286 Type type;
287 if (true || type != null)
288 {
289 }
291 }
292
293 // Token: 0x06002AB9 RID: 10937 RVA: 0x0005CD84 File Offset: 0x0005AF84
294 public object GetFormat(Type formatType)
295 {
296 /*
297An exception occurred when decompiling this method (06002AB9)
298
299ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Globalization.DateTimeFormatInfo::GetFormat(System.Type)
300
301 ---> System.Exception: Basic block has to end with unconditional control flow.
302{
303 IL_0003:
304 stloc:bool(var_1_0A, call:bool(Type::op_Equality, ldloc:Type(formatType), ldloc:Type(var_0)))
305}
306
307 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
308 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
309 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
310 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
311 --- End of inner exception stack trace ---
312 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
313 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
314*/;
315 }
316
317 // Token: 0x06002ABA RID: 10938 RVA: 0x0005CD9C File Offset: 0x0005AF9C
318 public object Clone()
319 {
320 object obj = base.MemberwiseClone();
321 if (obj != null)
322 {
323 }
324 if (this.calendar != null)
325 {
326 }
327 return obj;
328 }
329
330 // Token: 0x17000625 RID: 1573
331 // (get) Token: 0x06002ABB RID: 10939 RVA: 0x0005CDC4 File Offset: 0x0005AFC4
332 public string AMDesignator
333 {
334 get
335 {
336 string text = this.amDesignator;
337 if (text != null)
338 {
339 return text;
340 }
341 string sAM = this._cultureData.sAM1159;
343 return sAM;
344 }
345 }
346
347 // Token: 0x17000626 RID: 1574
348 // (get) Token: 0x06002ABC RID: 10940 RVA: 0x0005CDF4 File Offset: 0x0005AFF4
349 // (set) Token: 0x06002ABD RID: 10941 RVA: 0x0005CE08 File Offset: 0x0005B008
351 {
352 get
353 {
354 return this.calendar;
355 }
356 set
357 {
358 if (!true)
359 {
360 }
361 if (!true)
362 {
363 }
364 bool isReadOnly = this.IsReadOnly;
365 if (value != null)
366 {
369 if (this.optionalCalendars == null)
370 {
371 calendarIds = this._cultureData.GetCalendarIds();
373 }
374 if (calendarIds == null)
375 {
378 }
380 if (calendar2 != null)
381 {
383 }
386 return;
387 }
388 }
389 }
390
391 // Token: 0x17000627 RID: 1575
392 // (get) Token: 0x06002ABE RID: 10942 RVA: 0x0005CE88 File Offset: 0x0005B088
394 {
395 get
396 {
398 if (this.optionalCalendars == null)
399 {
400 calendarIds = this._cultureData.GetCalendarIds();
402 }
403 return calendarIds;
404 }
405 }
406
407 // Token: 0x17000628 RID: 1576
408 // (get) Token: 0x06002ABF RID: 10943 RVA: 0x0005CEB4 File Offset: 0x0005B0B4
409 internal string[] EraNames
410 {
411 get
412 {
413 string[] array;
414 if (this.m_eraNames == null)
415 {
419 }
420 return array;
421 }
422 }
423
424 // Token: 0x06002AC0 RID: 10944 RVA: 0x0005CEE0 File Offset: 0x0005B0E0
425 public string GetEraName(int era)
426 {
427 if (era == 0)
428 {
430 }
431 string[] eraNames = this.EraNames;
432 string[] eraNames2 = this.m_eraNames;
433 return eraNames;
434 }
435
436 // Token: 0x17000629 RID: 1577
437 // (get) Token: 0x06002AC1 RID: 10945 RVA: 0x0005CF08 File Offset: 0x0005B108
438 internal string[] AbbreviatedEraNames
439 {
440 get
441 {
442 string[] array;
443 if (this.m_abbrevEraNames == null)
444 {
448 }
449 return array;
450 }
451 }
452
453 // Token: 0x06002AC2 RID: 10946 RVA: 0x0005CF34 File Offset: 0x0005B134
454 public string GetAbbreviatedEraName(int era)
455 {
457 if (era == 0)
458 {
460 }
461 string[] abbrevEraNames = this.m_abbrevEraNames;
462 string text;
463 return text;
464 }
465
466 // Token: 0x1700062A RID: 1578
467 // (get) Token: 0x06002AC3 RID: 10947 RVA: 0x0005CF5C File Offset: 0x0005B15C
469 {
470 get
471 {
472 string[] array;
473 if (this.m_abbrevEnglishEraNames == null)
474 {
478 }
479 return array;
480 }
481 }
482
483 // Token: 0x1700062B RID: 1579
484 // (get) Token: 0x06002AC4 RID: 10948 RVA: 0x0005CF88 File Offset: 0x0005B188
485 public string DateSeparator
486 {
487 get
488 {
489 string text;
490 if (this.dateSeparator == null)
491 {
495 }
496 return text;
497 }
498 }
499
500 // Token: 0x1700062C RID: 1580
501 // (get) Token: 0x06002AC5 RID: 10949 RVA: 0x0005CFB4 File Offset: 0x0005B1B4
503 {
504 get
505 {
506 string text3;
507 if (this.fullDateTimePattern == null)
508 {
509 string text = this.longDatePattern;
510 if (text == null)
511 {
514 }
515 string text2 = this.LongTimePattern;
516 text3 = text + " " + text2;
518 }
519 return text3;
520 }
521 }
522
523 // Token: 0x1700062D RID: 1581
524 // (get) Token: 0x06002AC6 RID: 10950 RVA: 0x0005D000 File Offset: 0x0005B200
525 public string LongDatePattern
526 {
527 get
528 {
530 if (this.longDatePattern == null)
531 {
532 unclonedLongDatePatterns = this.UnclonedLongDatePatterns;
534 }
536 }
537 }
538
539 // Token: 0x1700062E RID: 1582
540 // (get) Token: 0x06002AC7 RID: 10951 RVA: 0x0005D024 File Offset: 0x0005B224
541 public string LongTimePattern
542 {
543 get
544 {
545 string[] longTimes;
546 if (this.longTimePattern == null)
547 {
548 if (this.allLongTimePatterns == null)
549 {
550 longTimes = this._cultureData.LongTimes;
552 }
554 }
555 return longTimes;
556 }
557 }
558
559 // Token: 0x1700062F RID: 1583
560 // (get) Token: 0x06002AC8 RID: 10952 RVA: 0x0005D05C File Offset: 0x0005B25C
561 public string MonthDayPattern
562 {
563 get
564 {
565 string text;
566 if (this == null)
567 {
571 }
572 return text;
573 }
574 }
575
576 // Token: 0x17000630 RID: 1584
577 // (get) Token: 0x06002AC9 RID: 10953 RVA: 0x0005D084 File Offset: 0x0005B284
578 public string PMDesignator
579 {
580 get
581 {
582 string text = this.pmDesignator;
583 if (text != null)
584 {
585 return text;
586 }
587 string sPM = this._cultureData.sPM2359;
589 return sPM;
590 }
591 }
592
593 // Token: 0x17000631 RID: 1585
594 // (get) Token: 0x06002ACA RID: 10954 RVA: 0x0005D0B4 File Offset: 0x0005B2B4
595 public string RFC1123Pattern
596 {
597 get
598 {
599 return "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'";
600 }
601 }
602
603 // Token: 0x17000632 RID: 1586
604 // (get) Token: 0x06002ACB RID: 10955 RVA: 0x0005D0C8 File Offset: 0x0005B2C8
605 public string ShortDatePattern
606 {
607 get
608 {
610 if (this.shortDatePattern == null)
611 {
612 unclonedShortDatePatterns = this.UnclonedShortDatePatterns;
614 }
616 }
617 }
618
619 // Token: 0x17000633 RID: 1587
620 // (get) Token: 0x06002ACC RID: 10956 RVA: 0x0005D0EC File Offset: 0x0005B2EC
621 public string ShortTimePattern
622 {
623 get
624 {
625 string[] shortTimes;
626 if (this.shortTimePattern == null)
627 {
628 if (this.allShortTimePatterns == null)
629 {
630 shortTimes = this._cultureData.ShortTimes;
632 }
634 }
635 return shortTimes;
636 }
637 }
638
639 // Token: 0x17000634 RID: 1588
640 // (get) Token: 0x06002ACD RID: 10957 RVA: 0x0005D124 File Offset: 0x0005B324
642 {
643 get
644 {
645 return "yyyy'-'MM'-'dd'T'HH':'mm':'ss";
646 }
647 }
648
649 // Token: 0x17000635 RID: 1589
650 // (get) Token: 0x06002ACE RID: 10958 RVA: 0x0005D138 File Offset: 0x0005B338
652 {
653 get
654 {
655 string text3;
656 if (this.generalShortTimePattern == null)
657 {
658 string text = this.shortDatePattern;
659 if (text == null)
660 {
663 }
664 string text2 = this.ShortTimePattern;
665 text3 = text + " " + text2;
667 }
668 return text3;
669 }
670 }
671
672 // Token: 0x17000636 RID: 1590
673 // (get) Token: 0x06002ACF RID: 10959 RVA: 0x0005D184 File Offset: 0x0005B384
675 {
676 get
677 {
678 string text3;
679 if (this.generalLongTimePattern == null)
680 {
681 string text = this.shortDatePattern;
682 if (text == null)
683 {
686 }
687 string text2 = this.LongTimePattern;
688 text3 = text + " " + text2;
690 }
691 return text3;
692 }
693 }
694
695 // Token: 0x17000637 RID: 1591
696 // (get) Token: 0x06002AD0 RID: 10960 RVA: 0x0005D1D0 File Offset: 0x0005B3D0
697 internal string DateTimeOffsetPattern
698 {
699 get
700 {
701 if (this.dateTimeOffsetPattern == null)
702 {
703 string text = this.shortDatePattern;
704 if (text == null)
705 {
708 }
709 string text2 = this.LongTimePattern;
710 string text3 = text + " " + text2;
711 int stringLength = this.LongTimePattern._stringLength;
712 long num = 0L;
713 char c = this.LongTimePattern[(int)num];
714 string text4 = this.LongTimePattern;
715 int stringLength2 = text4._stringLength;
716 return text4;
717 }
718 string text5;
719 return text5;
720 }
721 }
722
723 // Token: 0x17000638 RID: 1592
724 // (get) Token: 0x06002AD1 RID: 10961 RVA: 0x0005D270 File Offset: 0x0005B470
725 public string TimeSeparator
726 {
727 get
728 {
729 string text = this.timeSeparator;
730 if (text != null)
731 {
732 return text;
733 }
734 string sTimeSeparator = this._cultureData.sTimeSeparator;
735 this.timeSeparator = sTimeSeparator;
736 return sTimeSeparator;
737 }
738 }
739
740 // Token: 0x17000639 RID: 1593
741 // (get) Token: 0x06002AD2 RID: 10962 RVA: 0x0005D2A0 File Offset: 0x0005B4A0
743 {
744 get
745 {
746 return "yyyy'-'MM'-'dd HH':'mm':'ss'Z'";
747 }
748 }
749
750 // Token: 0x1700063A RID: 1594
751 // (get) Token: 0x06002AD3 RID: 10963 RVA: 0x0005D2B4 File Offset: 0x0005B4B4
752 public string YearMonthPattern
753 {
754 get
755 {
757 if (this.yearMonthPattern == null)
758 {
759 unclonedYearMonthPatterns = this.UnclonedYearMonthPatterns;
761 }
763 }
764 }
765
766 // Token: 0x1700063B RID: 1595
767 // (get) Token: 0x06002AD4 RID: 10964 RVA: 0x0005D2D8 File Offset: 0x0005B4D8
768 public string[] AbbreviatedDayNames
769 {
770 get
771 {
772 if (this.abbreviatedDayNames == null)
773 {
775 }
776 object obj;
777 if (obj == null || obj != null)
778 {
779 }
780 throw new InvalidCastException();
781 }
782 }
783
784 // Token: 0x1700063C RID: 1596
785 // (get) Token: 0x06002AD5 RID: 10965 RVA: 0x0005D300 File Offset: 0x0005B500
786 public string[] DayNames
787 {
788 get
789 {
790 object obj;
791 if (obj == null || obj != null)
792 {
793 }
794 throw new InvalidCastException();
795 }
796 }
797
798 // Token: 0x1700063D RID: 1597
799 // (get) Token: 0x06002AD6 RID: 10966 RVA: 0x0005D318 File Offset: 0x0005B518
800 public string[] AbbreviatedMonthNames
801 {
802 get
803 {
804 if (this.abbreviatedMonthNames == null)
805 {
807 }
808 object obj;
809 if (obj == null || obj != null)
810 {
811 }
812 throw new InvalidCastException();
813 }
814 }
815
816 // Token: 0x1700063E RID: 1598
817 // (get) Token: 0x06002AD7 RID: 10967 RVA: 0x0005D340 File Offset: 0x0005B540
818 public string[] MonthNames
819 {
820 get
821 {
822 if (this.monthNames == null)
823 {
824 string[] array = this.internalGetMonthNamesCore();
825 }
826 object obj;
827 if (obj == null || obj != null)
828 {
829 }
830 throw new InvalidCastException();
831 }
832 }
833
834 // Token: 0x1700063F RID: 1599
835 // (get) Token: 0x06002AD8 RID: 10968 RVA: 0x0005D368 File Offset: 0x0005B568
837 {
838 get
839 {
840 /*
841An exception occurred when decompiling this method (06002AD8)
842
843ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::get_HasSpacesInMonthNames()
844
845 ---> System.Exception: Basic block has to end with unconditional control flow.
846{
847 Block_0:
848 stloc:DateTimeFormatFlags(var_0_06, ldfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this)))
849 stloc:DateTimeFormatFlags(var_1_0D, call:DateTimeFormatFlags(DateTimeFormatInfo::InitializeFormatFlags, ldloc:DateTimeFormatInfo(this)))
850}
851
852 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
853 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
854 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
855 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
856 --- End of inner exception stack trace ---
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 92
858 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
859*/;
860 }
861 }
862
863 // Token: 0x17000640 RID: 1600
864 // (get) Token: 0x06002AD9 RID: 10969 RVA: 0x0005D384 File Offset: 0x0005B584
866 {
867 get
868 {
869 /*
870An exception occurred when decompiling this method (06002AD9)
871
872ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::get_HasSpacesInDayNames()
873
874 ---> System.Exception: Basic block has to end with unconditional control flow.
875{
876 Block_0:
877 stloc:DateTimeFormatFlags(var_0_06, ldfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this)))
878 stloc:DateTimeFormatFlags(var_1_0D, call:DateTimeFormatFlags(DateTimeFormatInfo::InitializeFormatFlags, ldloc:DateTimeFormatInfo(this)))
879}
880
881 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
882 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
883 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
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 88
885 --- End of inner exception stack trace ---
886 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
887 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
888*/;
889 }
890 }
891
892 // Token: 0x06002ADA RID: 10970 RVA: 0x0005D3A0 File Offset: 0x0005B5A0
893 internal string internalGetMonthName(int month, MonthNameStyles style, bool abbreviated)
894 {
895 return this.internalGetGenitiveMonthNames(month != 0);
896 }
897
898 // Token: 0x06002ADB RID: 10971 RVA: 0x0005D3E0 File Offset: 0x0005B5E0
900 {
901 if (this.m_genitiveAbbreviatedMonthNames == null)
902 {
905 string[] array;
907 return array;
908 }
909 string[] array2;
910 return array2;
911 }
912
913 // Token: 0x06002ADC RID: 10972 RVA: 0x0005D430 File Offset: 0x0005B630
915 {
916 string[] array;
917 if (this.leapYearMonthNames == null)
918 {
922 }
923 return array;
924 }
925
926 // Token: 0x06002ADD RID: 10973 RVA: 0x0005D45C File Offset: 0x0005B65C
928 {
929 while (this.abbreviatedDayNames != null)
930 {
931 }
933 }
934
935 // Token: 0x06002ADE RID: 10974 RVA: 0x0005D478 File Offset: 0x0005B678
936 private static string[] GetCombinedPatterns(string[] patterns1, string[] patterns2, string connectString)
937 {
938 string text;
939 if (text == null || text != null)
940 {
941 }
942 throw new ArrayTypeMismatchException();
943 }
944
945 // Token: 0x06002ADF RID: 10975 RVA: 0x0005D498 File Offset: 0x0005B698
946 public string[] GetAllDateTimePatterns(char format)
947 {
948 return "yyyy'-'MM'-'dd'T'HH':'mm':'ss";
949 }
950
951 // Token: 0x06002AE0 RID: 10976 RVA: 0x0005D514 File Offset: 0x0005B714
953 {
954 while (this.dayNames != null)
955 {
956 }
957 return this.internalGetDayOfWeekNamesCore();
958 }
959
960 // Token: 0x06002AE1 RID: 10977 RVA: 0x0005D530 File Offset: 0x0005B730
961 public string GetAbbreviatedMonthName(int month)
962 {
963 while (this.abbreviatedMonthNames != null)
964 {
965 }
967 }
968
969 // Token: 0x06002AE2 RID: 10978 RVA: 0x0005D54C File Offset: 0x0005B74C
970 public string GetMonthName(int month)
971 {
972 while (this.monthNames != null)
973 {
974 }
975 return this.internalGetMonthNamesCore();
976 }
977
978 // Token: 0x06002AE3 RID: 10979 RVA: 0x0005D568 File Offset: 0x0005B768
979 private static string[] GetMergedPatterns(string[] patterns, string defaultPattern)
980 {
981 bool flag = patterns == patterns;
982 object obj;
983 if (obj == null || obj == null)
984 {
985 object obj2;
986 if (obj2 == null)
987 {
988 throw new InvalidCastException();
989 }
990 if ((obj == null && obj == null) || obj != null)
991 {
992 }
993 }
994 throw new ArrayTypeMismatchException();
995 }
996
997 // Token: 0x17000641 RID: 1601
998 // (get) Token: 0x06002AE4 RID: 10980 RVA: 0x0005D5A4 File Offset: 0x0005B7A4
999 private string[] AllYearMonthPatterns
1000 {
1001 get
1002 {
1004 string text = this.yearMonthPattern;
1005 if (text == null)
1006 {
1009 }
1010 if (!true)
1011 {
1012 }
1014 }
1015 }
1016
1017 // Token: 0x17000642 RID: 1602
1018 // (get) Token: 0x06002AE5 RID: 10981 RVA: 0x0005D5DC File Offset: 0x0005B7DC
1019 private string[] AllShortDatePatterns
1020 {
1021 get
1022 {
1024 string text = this.shortDatePattern;
1025 if (text == null)
1026 {
1029 }
1030 if (!true)
1031 {
1032 }
1034 }
1035 }
1036
1037 // Token: 0x17000643 RID: 1603
1038 // (get) Token: 0x06002AE6 RID: 10982 RVA: 0x0005D614 File Offset: 0x0005B814
1039 private string[] AllShortTimePatterns
1040 {
1041 get
1042 {
1043 string[] shortTimes;
1044 if (this.allShortTimePatterns == null)
1045 {
1046 shortTimes = this._cultureData.ShortTimes;
1048 }
1049 string text = this.ShortTimePattern;
1051 }
1052 }
1053
1054 // Token: 0x17000644 RID: 1604
1055 // (get) Token: 0x06002AE7 RID: 10983 RVA: 0x0005D64C File Offset: 0x0005B84C
1056 private string[] AllLongDatePatterns
1057 {
1058 get
1059 {
1061 string text = this.longDatePattern;
1062 if (text == null)
1063 {
1066 }
1067 if (!true)
1068 {
1069 }
1071 }
1072 }
1073
1074 // Token: 0x17000645 RID: 1605
1075 // (get) Token: 0x06002AE8 RID: 10984 RVA: 0x0005D684 File Offset: 0x0005B884
1076 private string[] AllLongTimePatterns
1077 {
1078 get
1079 {
1080 string[] longTimes;
1081 if (this.allLongTimePatterns == null)
1082 {
1083 longTimes = this._cultureData.LongTimes;
1085 }
1086 string text = this.LongTimePattern;
1088 }
1089 }
1090
1091 // Token: 0x17000646 RID: 1606
1092 // (get) Token: 0x06002AE9 RID: 10985 RVA: 0x0005D6BC File Offset: 0x0005B8BC
1094 {
1095 get
1096 {
1097 string[] array;
1098 if (this.allYearMonthPatterns == null)
1099 {
1100 Calendar calendar = this.calendar;
1103 }
1104 return array;
1105 }
1106 }
1107
1108 // Token: 0x17000647 RID: 1607
1109 // (get) Token: 0x06002AEA RID: 10986 RVA: 0x0005D6E8 File Offset: 0x0005B8E8
1111 {
1112 get
1113 {
1114 string[] array;
1115 if (this.allShortDatePatterns == null)
1116 {
1117 Calendar calendar = this.calendar;
1120 }
1121 return array;
1122 }
1123 }
1124
1125 // Token: 0x17000648 RID: 1608
1126 // (get) Token: 0x06002AEB RID: 10987 RVA: 0x0005D714 File Offset: 0x0005B914
1128 {
1129 get
1130 {
1131 string[] array;
1132 if (this.allLongDatePatterns == null)
1133 {
1134 Calendar calendar = this.calendar;
1137 }
1138 return array;
1139 }
1140 }
1141
1142 // Token: 0x17000649 RID: 1609
1143 // (get) Token: 0x06002AEC RID: 10988 RVA: 0x0005D740 File Offset: 0x0005B940
1145 {
1146 get
1147 {
1148 string[] shortTimes;
1149 if (this.allShortTimePatterns == null)
1150 {
1151 shortTimes = this._cultureData.ShortTimes;
1153 }
1154 return shortTimes;
1155 }
1156 }
1157
1158 // Token: 0x1700064A RID: 1610
1159 // (get) Token: 0x06002AED RID: 10989 RVA: 0x0005D76C File Offset: 0x0005B96C
1161 {
1162 get
1163 {
1164 string[] longTimes;
1165 if (this.allLongTimePatterns == null)
1166 {
1167 longTimes = this._cultureData.LongTimes;
1169 }
1170 return longTimes;
1171 }
1172 }
1173
1174 // Token: 0x06002AEE RID: 10990 RVA: 0x0005D798 File Offset: 0x0005B998
1176 {
1177 bool flag;
1178 if (flag.MemberwiseClone() != null)
1179 {
1180 }
1181 throw new InvalidCastException();
1182 }
1183
1184 // Token: 0x1700064B RID: 1611
1185 // (get) Token: 0x06002AEF RID: 10991 RVA: 0x0005D7B4 File Offset: 0x0005B9B4
1186 public bool IsReadOnly
1187 {
1188 get
1189 {
1190 if (!true)
1191 {
1192 }
1193 if (!true)
1194 {
1195 }
1196 if (true)
1197 {
1198 return true;
1199 }
1200 bool isReadOnly = this._isReadOnly;
1201 return true;
1202 }
1203 }
1204
1205 // Token: 0x1700064C RID: 1612
1206 // (get) Token: 0x06002AF0 RID: 10992 RVA: 0x0005D7D4 File Offset: 0x0005B9D4
1207 public string[] MonthGenitiveNames
1208 {
1209 get
1210 {
1211 long num = 0L;
1212 string[] array = this.internalGetGenitiveMonthNames(num != 0L);
1213 object obj;
1214 if (obj == null || obj != null)
1215 {
1216 }
1217 throw new InvalidCastException();
1218 }
1219 }
1220
1221 // Token: 0x1700064D RID: 1613
1222 // (get) Token: 0x06002AF1 RID: 10993 RVA: 0x0005D7F8 File Offset: 0x0005B9F8
1224 {
1225 get
1226 {
1227 string text;
1228 if (this._fullTimeSpanPositivePattern == null)
1229 {
1231 if (cultureData.bUseOverrides)
1232 {
1233 string sRealName = cultureData.sRealName;
1234 long num = 0L;
1235 CultureData cultureData2 = CultureData.GetCultureData(sRealName, num != 0L);
1236 }
1238 }
1239 return text;
1240 }
1241 }
1242
1243 // Token: 0x1700064E RID: 1614
1244 // (get) Token: 0x06002AF2 RID: 10994 RVA: 0x0005D838 File Offset: 0x0005BA38
1246 {
1247 get
1248 {
1249 string text;
1250 if (this._fullTimeSpanNegativePattern == null)
1251 {
1253 text = "'-'" + fullTimeSpanPositivePattern;
1255 }
1256 return text;
1257 }
1258 }
1259
1260 // Token: 0x1700064F RID: 1615
1261 // (get) Token: 0x06002AF3 RID: 10995 RVA: 0x0005D868 File Offset: 0x0005BA68
1263 {
1264 get
1265 {
1266 CompareInfo compareInfo;
1267 if (this._compareInfo == null)
1268 {
1270 this._compareInfo = compareInfo;
1271 }
1272 return compareInfo;
1273 }
1274 }
1275
1276 // Token: 0x06002AF4 RID: 10996 RVA: 0x0005D898 File Offset: 0x0005BA98
1277 internal static void ValidateStyles(DateTimeStyles style, string parameterName)
1278 {
1279 }
1280
1281 // Token: 0x17000650 RID: 1616
1282 // (get) Token: 0x06002AF5 RID: 10997 RVA: 0x0005D8A8 File Offset: 0x0005BAA8
1284 {
1285 get
1286 {
1287 return this.formatFlags;
1288 }
1289 }
1290
1291 // Token: 0x06002AF6 RID: 10998 RVA: 0x0005D8C0 File Offset: 0x0005BAC0
1293 {
1294 /*
1295An exception occurred when decompiling this method (06002AF6)
1296
1297ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatFlags System.Globalization.DateTimeFormatInfo::InitializeFormatFlags()
1298
1299 ---> System.Exception: Basic block has to end with unconditional control flow.
1300{
1301 Block_0:
1302 stloc:string[](var_0_06, callgetter:string[](DateTimeFormatInfo::get_MonthNames, ldloc:DateTimeFormatInfo(this)))
1303 stloc:int64(var_1_08, ldc.i4:int64(0))
1304 stloc:string[](var_2_10, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldloc:int64[exp:bool](var_1_08)))
1305 stloc:string[](var_3_17, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedMonthNames, ldloc:DateTimeFormatInfo(this)))
1306 stloc:string[](var_4_1F, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldc.i4:bool(1)))
1307 stloc:FORMATFLAGS(var_5_2B, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagGenitiveMonth, ldloc:string[](var_0_06), ldloc:string[](var_2_10), ldloc:string[](var_3_17), ldloc:string[](var_4_1F)))
1308 stloc:string[](var_6_33, callgetter:string[](DateTimeFormatInfo::get_MonthNames, ldloc:DateTimeFormatInfo(this)))
1309 stloc:int64(var_7_36, ldc.i4:int64(0))
1310 stloc:string[](var_8_40, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldloc:int64[exp:bool](var_7_36)))
1311 stloc:string[](var_9_48, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedMonthNames, ldloc:DateTimeFormatInfo(this)))
1312 stloc:string[](var_10_51, call:string[](DateTimeFormatInfo::internalGetGenitiveMonthNames, ldloc:DateTimeFormatInfo(this), ldc.i4:bool(1)))
1313 stloc:FORMATFLAGS(var_11_60, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagUseSpaceInMonthNames, ldloc:string[](var_6_33), ldloc:string[](var_8_40), ldloc:string[](var_9_48), ldloc:string[](var_10_51)))
1314 stloc:string[](var_12_68, callgetter:string[](DateTimeFormatInfo::get_DayNames, ldloc:DateTimeFormatInfo(this)))
1315 stloc:string[](var_13_70, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedDayNames, ldloc:DateTimeFormatInfo(this)))
1316 stloc:FORMATFLAGS(var_14_7B, call:FORMATFLAGS(DateTimeFormatInfoScanner::GetFormatFlagUseSpaceInDayNames, ldloc:string[](var_12_68), ldloc:string[](var_13_70)))
1317 stloc:Calendar(var_15_83, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1318 stfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this), ldloc:FORMATFLAGS[exp:DateTimeFormatFlags](var_16))
1319}
1320
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 1852
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: 0x17000651 RID: 1617
1332 // (get) Token: 0x06002AF7 RID: 10999 RVA: 0x0005D95C File Offset: 0x0005BB5C
1334 {
1335 get
1336 {
1337 /*
1338An exception occurred when decompiling this method (06002AF7)
1339
1340ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::get_HasForceTwoDigitYears()
1341
1342 ---> System.Exception: Basic block has to end with unconditional control flow.
1343{
1344 Block_0:
1345 stloc:Calendar(var_0_06, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1346}
1347
1348 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
1349 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
1350 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
1351 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
1352 --- End of inner exception stack trace ---
1353 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
1354 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
1355*/;
1356 }
1357 }
1358
1359 // Token: 0x17000652 RID: 1618
1360 // (get) Token: 0x06002AF8 RID: 11000 RVA: 0x0005D970 File Offset: 0x0005BB70
1362 {
1363 get
1364 {
1365 /*
1366An exception occurred when decompiling this method (06002AF8)
1367
1368ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::get_HasYearMonthAdjustment()
1369
1370 ---> System.Exception: Basic block has to end with unconditional control flow.
1371{
1372 Block_0:
1373 stloc:DateTimeFormatFlags(var_0_06, ldfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this)))
1374 stloc:DateTimeFormatFlags(var_1_0D, call:DateTimeFormatFlags(DateTimeFormatInfo::InitializeFormatFlags, ldloc:DateTimeFormatInfo(this)))
1375}
1376
1377 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
1378 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
1379 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
1380 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
1381 --- End of inner exception stack trace ---
1382 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
1383 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
1384*/;
1385 }
1386 }
1387
1388 // Token: 0x06002AF9 RID: 11001 RVA: 0x0005D98C File Offset: 0x0005BB8C
1389 internal bool YearMonthAdjustment(int year, int month, bool parsedMonthName)
1390 {
1391 /*
1392An exception occurred when decompiling this method (06002AF9)
1393
1394ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::YearMonthAdjustment(System.Int32,System.Int32,System.Boolean)
1395
1396 ---> System.Exception: Basic block has to end with unconditional control flow.
1397{
1398 Block_0:
1399 stloc:DateTimeFormatFlags(var_0_06, ldfld:DateTimeFormatFlags(DateTimeFormatInfo::formatFlags, ldloc:DateTimeFormatInfo(this)))
1400 stloc:DateTimeFormatFlags(var_1_0D, call:DateTimeFormatFlags(DateTimeFormatInfo::InitializeFormatFlags, ldloc:DateTimeFormatInfo(this)))
1401 stloc:Calendar(var_2_14, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1402 stloc:Calendar(var_3_1B, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1403 stloc:Calendar(var_5_25, ldfld:Calendar(DateTimeFormatInfo::calendar, ldloc:DateTimeFormatInfo(this)))
1404}
1405
1406 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
1407 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
1408 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
1409 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
1410 --- End of inner exception stack trace ---
1411 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
1412 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
1413*/;
1414 }
1415
1416 // Token: 0x06002AFA RID: 11002 RVA: 0x0005D9C4 File Offset: 0x0005BBC4
1418 {
1419 /*
1420An exception occurred when decompiling this method (06002AFA)
1421
1422ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatInfo System.Globalization.DateTimeFormatInfo::GetJapaneseCalendarDTFI()
1423
1424 ---> System.Exception: Basic block has to end with unconditional control flow.
1425{
1426 IL_000C:
1427 stloc:Calendar(var_2_15, call:Calendar(JapaneseCalendar::GetDefaultInstance))
1428}
1429
1430 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
1431 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
1432 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
1433 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
1434 --- End of inner exception stack trace ---
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 92
1436 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
1437*/;
1438 }
1439
1440 // Token: 0x06002AFB RID: 11003 RVA: 0x0005D9E8 File Offset: 0x0005BBE8
1442 {
1443 /*
1444An exception occurred when decompiling this method (06002AFB)
1445
1446ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatInfo System.Globalization.DateTimeFormatInfo::GetTaiwanCalendarDTFI()
1447
1448 ---> System.Exception: Basic block has to end with unconditional control flow.
1449{
1450 IL_000C:
1451 stloc:Calendar(var_2_15, call:Calendar(TaiwanCalendar::GetDefaultInstance))
1452}
1453
1454 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
1455 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
1456 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
1457 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
1458 --- End of inner exception stack trace ---
1459 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
1460 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
1461*/;
1462 }
1463
1464 // Token: 0x06002AFC RID: 11004 RVA: 0x0005DA0C File Offset: 0x0005BC0C
1465 private void ClearTokenHashTable()
1466 {
1467 }
1468
1469 // Token: 0x06002AFD RID: 11005 RVA: 0x0005DA1C File Offset: 0x0005BC1C
1471 {
1472 /*
1473An exception occurred when decompiling this method (06002AFD)
1474
1475ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Globalization.DateTimeFormatInfo/TokenHashValue[] System.Globalization.DateTimeFormatInfo::CreateTokenHashTable()
1476
1477 ---> System.Exception: Basic block has to end with unconditional control flow.
1478{
1479 IL_022D:
1480 stloc:DateTimeFormatInfo(var_44_232, callgetter:DateTimeFormatInfo(DateTimeFormatInfo::get_InvariantInfo))
1481 stloc:DateTimeFormatInfo(var_46_239, callgetter:DateTimeFormatInfo(DateTimeFormatInfo::get_InvariantInfo))
1482 stloc:string[](var_48_241, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedEnglishEraNames, ldloc:DateTimeFormatInfo(this)))
1483 stloc:string[](var_50_24C, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedEnglishEraNames, ldloc:DateTimeFormatInfo(this)))
1484 stloc:string(var_51_255, ldfld:string(CultureData::sTimeSeparator, ldloc:CultureData(var_38)))
1485 stloc:string[](var_52_25D, callgetter:string[](DateTimeFormatInfo::get_AbbreviatedEnglishEraNames, ldloc:DateTimeFormatInfo(this)))
1486}
1487
1488 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
1489 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
1490 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
1491 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
1492 --- End of inner exception stack trace ---
1493 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
1494 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
1495*/;
1496 }
1497
1498 // Token: 0x06002AFE RID: 11006 RVA: 0x0005DC88 File Offset: 0x0005BE88
1500 {
1501 string sISO639Language;
1502 if (this._langName == null)
1503 {
1504 sISO639Language = this._cultureData.sISO639Language;
1505 this._langName = sISO639Language;
1506 }
1507 bool flag = sISO639Language.Equals("sq");
1508 string sAM;
1509 if (this.amDesignator == null)
1510 {
1511 sAM = this._cultureData.sAM1159;
1513 }
1514 string text = "." + sAM;
1515 string sPM;
1516 if (this.pmDesignator == null)
1517 {
1518 sPM = this._cultureData.sPM2359;
1520 }
1521 string text2 = "." + sPM;
1522 Calendar calendar = this.calendar;
1523 string sISO639Language2;
1524 if (this._langName == null)
1525 {
1526 sISO639Language2 = this._cultureData.sISO639Language;
1528 }
1529 bool flag2 = sISO639Language2.Equals("ko");
1531 string[] array;
1532 if (array == null)
1533 {
1534 return;
1535 }
1536 string text3;
1537 this.AddMonthNames(temp, text3);
1538 }
1539
1540 // Token: 0x06002AFF RID: 11007 RVA: 0x0005DEEC File Offset: 0x0005C0EC
1542 {
1543 do
1544 {
1545 if (!true)
1546 {
1547 }
1548 if (!true)
1549 {
1550 }
1551 }
1552 while (true);
1553 Type type;
1554 Type type2;
1555 return type == type2;
1556 }
1557
1558 // Token: 0x06002B00 RID: 11008 RVA: 0x0005DF0C File Offset: 0x0005C10C
1560 {
1561 int num = 1;
1562 string monthName = this.GetMonthName(num);
1563 int stringLength = monthName._stringLength;
1564 if (monthPostfix != null)
1565 {
1566 string text = monthName + monthPostfix;
1567 }
1569 }
1570
1571 // Token: 0x06002B01 RID: 11009 RVA: 0x0005DF40 File Offset: 0x0005C140
1572 private static bool TryParseHebrewNumber(__DTString str, [Out] bool badFormat, [Out] int number)
1573 {
1574 /*
1575An exception occurred when decompiling this method (06002B01)
1576
1577ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Globalization.DateTimeFormatInfo::TryParseHebrewNumber(System.__DTString,System.Boolean,System.Int32)
1578
1579 ---> System.Exception: Basic block has to end with unconditional control flow.
1580{
1581 Block_0:
1582 stloc:int32(var_0_01, ldc.i4:int32(1))
1583 stfld:bool(bool::m_value, ldloc:bool[exp:bool&](badFormat), ldloc:int32[exp:bool](var_0_01))
1584 stfld:bool(bool::m_value, ldloc:bool[exp:bool&](badFormat), ldloc:int32[exp:bool](var_0_01))
1585}
1586
1587 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
1588 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
1589 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
1590 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
1591 --- End of inner exception stack trace ---
1592 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
1593 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
1594*/;
1595 }
1596
1597 // Token: 0x06002B02 RID: 11010 RVA: 0x0000207A File Offset: 0x0000027A
1598 private static bool IsHebrewChar(char ch)
1599 {
1600 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1601 }
1602
1603 // Token: 0x06002B03 RID: 11011 RVA: 0x0005DF64 File Offset: 0x0005C164
1604 private bool IsAllowedJapaneseTokenFollowedByNonSpaceLetter(string tokenString, char nextCh)
1605 {
1606 Calendar calendar = this.calendar;
1607 bool flag = tokenString == "元";
1608 return true;
1609 }
1610
1611 // Token: 0x06002B04 RID: 11012 RVA: 0x0005DF90 File Offset: 0x0005C190
1612 internal bool Tokenize(TokenType TokenMask, [Out] TokenType tokenType, [Out] int tokenValue, __DTString str)
1613 {
1614 int num = 11;
1615 tokenType.value__ = num;
1616 char current = str.m_current;
1617 if (num == 0)
1618 {
1619 }
1620 bool flag = char.IsLetter(current);
1621 if (!true)
1622 {
1623 }
1624 int length = str.Length;
1625 int index = str.Index;
1627 if (cultureInfo == null)
1628 {
1629 }
1630 if (tokenValue == 0)
1631 {
1632 return;
1633 }
1634 int index2 = str.Index;
1635 int length2 = str.Length;
1636 int length3 = str.Length;
1637 if (index2 == 0)
1638 {
1639 }
1641 int num2;
1642 if (num2 != 0)
1643 {
1644 return;
1645 }
1646 }
1647
1648 // Token: 0x06002B05 RID: 11013 RVA: 0x0005E010 File Offset: 0x0005C210
1649 private void InsertAtCurrentHashNode(DateTimeFormatInfo.TokenHashValue[] hashTable, string str, char ch, TokenType tokenType, int tokenValue, int pos, int hashcode, int hashProbe)
1650 {
1652 }
1653
1654 // Token: 0x06002B06 RID: 11014 RVA: 0x0005E030 File Offset: 0x0005C230
1655 private void InsertHash(DateTimeFormatInfo.TokenHashValue[] hashTable, string str, TokenType tokenType, int tokenValue)
1656 {
1657 if (str != null && str._stringLength != 0)
1658 {
1659 long num = 0L;
1660 char c = str[(int)num];
1661 long num2 = 0L;
1662 bool flag = char.IsWhiteSpace(c);
1663 int stringLength = str._stringLength;
1664 bool flag2 = char.IsWhiteSpace(str[(int)num2]);
1665 string text;
1666 if (text._stringLength != 0)
1667 {
1669 long num3 = 0L;
1670 char c2 = text[(int)num3];
1671 int stringLength2 = text._stringLength;
1672 return;
1673 }
1674 }
1675 }
1676
1677 // Token: 0x06002B07 RID: 11015 RVA: 0x0005E0BC File Offset: 0x0005C2BC
1678 private bool CompareStringIgnoreCaseOptimized(string string1, int offset1, int length1, string string2, int offset2, int length2)
1679 {
1680 char c = string1[offset1];
1681 char c2 = string2[offset2];
1682 return true;
1683 }
1684
1685 // Token: 0x06002B08 RID: 11016 RVA: 0x0005E0E4 File Offset: 0x0005C2E4
1686 // Note: this type is marked as 'beforefieldinit'.
1688 {
1689 }
1690
1691 // Token: 0x040016E5 RID: 5861
1693
1694 // Token: 0x040016E6 RID: 5862
1697
1698 // Token: 0x040016E7 RID: 5863
1699 private string _name;
1700
1701 // Token: 0x040016E8 RID: 5864
1703 private string _langName;
1704
1705 // Token: 0x040016E9 RID: 5865
1708
1709 // Token: 0x040016EA RID: 5866
1712
1713 // Token: 0x040016EB RID: 5867
1714 private string amDesignator;
1715
1716 // Token: 0x040016EC RID: 5868
1717 private string pmDesignator;
1718
1719 // Token: 0x040016ED RID: 5869
1720 private string dateSeparator;
1721
1722 // Token: 0x040016EE RID: 5870
1724
1725 // Token: 0x040016EF RID: 5871
1727
1728 // Token: 0x040016F0 RID: 5872
1729 private string timeSeparator;
1730
1731 // Token: 0x040016F1 RID: 5873
1732 private string monthDayPattern;
1733
1734 // Token: 0x040016F2 RID: 5874
1736
1737 // Token: 0x040016F3 RID: 5875
1738 private const string rfc1123Pattern = "ddd, dd MMM yyyy HH':'mm':'ss 'GMT'";
1739
1740 // Token: 0x040016F4 RID: 5876
1741 private const string sortableDateTimePattern = "yyyy'-'MM'-'dd'T'HH':'mm':'ss";
1742
1743 // Token: 0x040016F5 RID: 5877
1744 private const string universalSortableDateTimePattern = "yyyy'-'MM'-'dd HH':'mm':'ss'Z'";
1745
1746 // Token: 0x040016F6 RID: 5878
1748
1749 // Token: 0x040016F7 RID: 5879
1750 private int firstDayOfWeek;
1751
1752 // Token: 0x040016F8 RID: 5880
1753 private int calendarWeekRule;
1754
1755 // Token: 0x040016F9 RID: 5881
1756 private string fullDateTimePattern;
1757
1758 // Token: 0x040016FA RID: 5882
1759 private string[] abbreviatedDayNames;
1760
1761 // Token: 0x040016FB RID: 5883
1762 private string[] m_superShortDayNames;
1763
1764 // Token: 0x040016FC RID: 5884
1765 private string[] dayNames;
1766
1767 // Token: 0x040016FD RID: 5885
1768 private string[] abbreviatedMonthNames;
1769
1770 // Token: 0x040016FE RID: 5886
1771 private string[] monthNames;
1772
1773 // Token: 0x040016FF RID: 5887
1774 private string[] genitiveMonthNames;
1775
1776 // Token: 0x04001700 RID: 5888
1778
1779 // Token: 0x04001701 RID: 5889
1780 private string[] leapYearMonthNames;
1781
1782 // Token: 0x04001702 RID: 5890
1783 private string longDatePattern;
1784
1785 // Token: 0x04001703 RID: 5891
1786 private string shortDatePattern;
1787
1788 // Token: 0x04001704 RID: 5892
1789 private string yearMonthPattern;
1790
1791 // Token: 0x04001705 RID: 5893
1792 private string longTimePattern;
1793
1794 // Token: 0x04001706 RID: 5894
1795 private string shortTimePattern;
1796
1797 // Token: 0x04001707 RID: 5895
1798 private string[] allYearMonthPatterns;
1799
1800 // Token: 0x04001708 RID: 5896
1801 private string[] allShortDatePatterns;
1802
1803 // Token: 0x04001709 RID: 5897
1804 private string[] allLongDatePatterns;
1805
1806 // Token: 0x0400170A RID: 5898
1807 private string[] allShortTimePatterns;
1808
1809 // Token: 0x0400170B RID: 5899
1810 private string[] allLongTimePatterns;
1811
1812 // Token: 0x0400170C RID: 5900
1813 private string[] m_eraNames;
1814
1815 // Token: 0x0400170D RID: 5901
1816 private string[] m_abbrevEraNames;
1817
1818 // Token: 0x0400170E RID: 5902
1819 private string[] m_abbrevEnglishEraNames;
1820
1821 // Token: 0x0400170F RID: 5903
1823
1824 // Token: 0x04001710 RID: 5904
1825 private const int DEFAULT_ALL_DATETIMES_SIZE = 132;
1826
1827 // Token: 0x04001711 RID: 5905
1828 internal bool _isReadOnly;
1829
1830 // Token: 0x04001712 RID: 5906
1832
1833 // Token: 0x04001713 RID: 5907
1834 private static readonly char[] s_monthSpaces;
1835
1836 // Token: 0x04001714 RID: 5908
1837 internal const string RoundtripFormat = "yyyy'-'MM'-'dd'T'HH':'mm':'ss.fffffffK";
1838
1839 // Token: 0x04001715 RID: 5909
1840 internal const string RoundtripDateTimeUnfixed = "yyyy'-'MM'-'ddTHH':'mm':'ss zzz";
1841
1842 // Token: 0x04001716 RID: 5910
1844
1845 // Token: 0x04001717 RID: 5911
1847
1848 // Token: 0x04001718 RID: 5912
1850
1851 // Token: 0x04001719 RID: 5913
1854
1855 // Token: 0x0400171A RID: 5914
1856 private const int TOKEN_HASH_SIZE = 199;
1857
1858 // Token: 0x0400171B RID: 5915
1859 private const int SECOND_PRIME = 197;
1860
1861 // Token: 0x0400171C RID: 5916
1862 private const string dateSeparatorOrTimeZoneOffset = "-";
1863
1864 // Token: 0x0400171D RID: 5917
1865 private const string invariantDateSeparator = "/";
1866
1867 // Token: 0x0400171E RID: 5918
1868 private const string invariantTimeSeparator = ":";
1869
1870 // Token: 0x0400171F RID: 5919
1871 internal const string IgnorablePeriod = ".";
1872
1873 // Token: 0x04001720 RID: 5920
1874 internal const string IgnorableComma = ",";
1875
1876 // Token: 0x04001721 RID: 5921
1877 internal const string CJKYearSuff = "年";
1878
1879 // Token: 0x04001722 RID: 5922
1880 internal const string CJKMonthSuff = "月";
1881
1882 // Token: 0x04001723 RID: 5923
1883 internal const string CJKDaySuff = "日";
1884
1885 // Token: 0x04001724 RID: 5924
1886 internal const string KoreanYearSuff = "년";
1887
1888 // Token: 0x04001725 RID: 5925
1889 internal const string KoreanMonthSuff = "월";
1890
1891 // Token: 0x04001726 RID: 5926
1892 internal const string KoreanDaySuff = "일";
1893
1894 // Token: 0x04001727 RID: 5927
1895 internal const string KoreanHourSuff = "시";
1896
1897 // Token: 0x04001728 RID: 5928
1898 internal const string KoreanMinuteSuff = "분";
1899
1900 // Token: 0x04001729 RID: 5929
1901 internal const string KoreanSecondSuff = "초";
1902
1903 // Token: 0x0400172A RID: 5930
1904 internal const string CJKHourSuff = "時";
1905
1906 // Token: 0x0400172B RID: 5931
1907 internal const string ChineseHourSuff = "时";
1908
1909 // Token: 0x0400172C RID: 5932
1910 internal const string CJKMinuteSuff = "分";
1911
1912 // Token: 0x0400172D RID: 5933
1913 internal const string CJKSecondSuff = "秒";
1914
1915 // Token: 0x0400172E RID: 5934
1916 internal const string JapaneseEraStart = "元";
1917
1918 // Token: 0x0400172F RID: 5935
1919 internal const string LocalTimeMark = "T";
1920
1921 // Token: 0x04001730 RID: 5936
1922 internal const string GMTName = "GMT";
1923
1924 // Token: 0x04001731 RID: 5937
1925 internal const string ZuluName = "Z";
1926
1927 // Token: 0x04001732 RID: 5938
1928 internal const string KoreanLangName = "ko";
1929
1930 // Token: 0x04001733 RID: 5939
1931 internal const string JapaneseLangName = "ja";
1932
1933 // Token: 0x04001734 RID: 5940
1934 internal const string EnglishLangName = "en";
1935
1936 // Token: 0x04001735 RID: 5941
1938
1939 // Token: 0x04001736 RID: 5942
1941
1942 // Token: 0x02000589 RID: 1417
1943 internal class TokenHashValue
1944 {
1945 // Token: 0x06002B09 RID: 11017 RVA: 0x0005E0F4 File Offset: 0x0005C2F4
1951
1952 // Token: 0x04001737 RID: 5943
1953 internal string tokenString;
1954
1955 // Token: 0x04001738 RID: 5944
1957
1958 // Token: 0x04001739 RID: 5945
1959 internal int tokenValue;
1960 }
1961 }
1962}
class f__AnonymousType0<< Count > j__TPar
static CompareInfo GetCompareInfo(string name)
static CultureData GetCultureData(string cultureName, bool useUserOverride)
static CultureInfo CurrentCulture
static CultureInfo InvariantCulture
static CultureInfo GetCultureInfo(int culture)
TokenHashValue(string tokenString, TokenType tokenType, int tokenValue)
static string[] GetCombinedPatterns(string[] patterns1, string[] patterns2, string connectString)
bool CompareStringIgnoreCaseOptimized(string string1, int offset1, int length1, string string2, int offset2, int length2)
bool Tokenize(TokenType TokenMask, [Out] TokenType tokenType, [Out] int tokenValue, __DTString str)
bool YearMonthAdjustment(int year, int month, bool parsedMonthName)
static bool TryParseHebrewNumber(__DTString str, [Out] bool badFormat, [Out] int number)
DateTimeFormatInfo(CultureData cultureData, Calendar cal)
static string[] GetMergedPatterns(string[] patterns, string defaultPattern)
string GetAbbreviatedDayName(DayOfWeek dayofweek)
static DateTimeFormatInfo GetTaiwanCalendarDTFI()
string internalGetMonthName(int month, MonthNameStyles style, bool abbreviated)
DateTimeFormatInfo.TokenHashValue[] CreateTokenHashTable()
void InsertAtCurrentHashNode(DateTimeFormatInfo.TokenHashValue[] hashTable, string str, char ch, TokenType tokenType, int tokenValue, int pos, int hashcode, int hashProbe)
static DateTimeFormatInfo ReadOnly(DateTimeFormatInfo dtfi)
void PopulateSpecialTokenHashTable(DateTimeFormatInfo.TokenHashValue[] temp, bool useDateSepAsIgnorableSymbol)
void InitializeOverridableProperties(CultureData cultureData, int calendarId)
void AddMonthNames(DateTimeFormatInfo.TokenHashValue[] temp, string monthPostfix)
static DateTimeFormatInfo GetInstance(IFormatProvider provider)
static bool IsJapaneseCalendar(Calendar calendar)
static DateTimeFormatInfo GetJapaneseCalendarDTFI()
string[] internalGetGenitiveMonthNames(bool abbreviated)
bool IsAllowedJapaneseTokenFollowedByNonSpaceLetter(string tokenString, char nextCh)
void InsertHash(DateTimeFormatInfo.TokenHashValue[] hashTable, string str, TokenType tokenType, int tokenValue)
static void ValidateStyles(DateTimeStyles style, string parameterName)
DateTimeFormatInfo.TokenHashValue[] _dtfiTokenHash
static void ThrowArgumentOutOfRangeException()
DayOfWeek
Definition DayOfWeek.cs:7
TokenType
Definition TokenType.cs:7