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
XmlBaseConverter.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml.Schema
5{
6 // Token: 0x0200015D RID: 349
7 internal abstract class XmlBaseConverter : XmlValueConverter
8 {
9 // Token: 0x06000B5B RID: 2907 RVA: 0x0001EA00 File Offset: 0x0001CC00
24
25 // Token: 0x06000B5C RID: 2908 RVA: 0x0001EA44 File Offset: 0x0001CC44
27 {
28 if (!true)
29 {
30 }
31 }
32
33 // Token: 0x06000B5D RID: 2909 RVA: 0x0001EA7C File Offset: 0x0001CC7C
35 {
37 long num = 0L;
41 Type type = Array.CreateInstance(converterAtomic.clrTypeDefault, (int)num).GetType();
43 }
44
45 // Token: 0x06000B5E RID: 2910 RVA: 0x0001EAC8 File Offset: 0x0001CCC8
54
55 // Token: 0x06000B5F RID: 2911 RVA: 0x0001EB00 File Offset: 0x0001CD00
56 public override bool ToBoolean(DateTime value)
57 {
58 throw new InvalidCastException();
59 }
60
61 // Token: 0x06000B60 RID: 2912 RVA: 0x0001EB14 File Offset: 0x0001CD14
62 public override bool ToBoolean(double value)
63 {
64 throw new InvalidCastException();
65 }
66
67 // Token: 0x06000B61 RID: 2913 RVA: 0x0001EB28 File Offset: 0x0001CD28
68 public override bool ToBoolean(int value)
69 {
70 throw new InvalidCastException();
71 }
72
73 // Token: 0x06000B62 RID: 2914 RVA: 0x0001EB3C File Offset: 0x0001CD3C
74 public override bool ToBoolean(long value)
75 {
76 throw new InvalidCastException();
77 }
78
79 // Token: 0x06000B63 RID: 2915 RVA: 0x0001EB50 File Offset: 0x0001CD50
80 public override bool ToBoolean(string value)
81 {
82 if (!true)
83 {
84 }
85 throw new InvalidCastException();
86 }
87
88 // Token: 0x06000B64 RID: 2916 RVA: 0x0001EB68 File Offset: 0x0001CD68
89 public override bool ToBoolean(object value)
90 {
91 if (!true)
92 {
93 }
94 throw new InvalidCastException();
95 }
96
97 // Token: 0x06000B65 RID: 2917 RVA: 0x0001EB80 File Offset: 0x0001CD80
98 public override DateTime ToDateTime(bool value)
99 {
100 throw new InvalidCastException();
101 }
102
103 // Token: 0x06000B66 RID: 2918 RVA: 0x0001EB94 File Offset: 0x0001CD94
105 {
106 throw new InvalidCastException();
107 }
108
109 // Token: 0x06000B67 RID: 2919 RVA: 0x0001EBA8 File Offset: 0x0001CDA8
110 public override DateTime ToDateTime(double value)
111 {
112 throw new InvalidCastException();
113 }
114
115 // Token: 0x06000B68 RID: 2920 RVA: 0x0001EBBC File Offset: 0x0001CDBC
116 public override DateTime ToDateTime(int value)
117 {
118 throw new InvalidCastException();
119 }
120
121 // Token: 0x06000B69 RID: 2921 RVA: 0x0001EBD0 File Offset: 0x0001CDD0
122 public override DateTime ToDateTime(long value)
123 {
124 throw new InvalidCastException();
125 }
126
127 // Token: 0x06000B6A RID: 2922 RVA: 0x0001EBE4 File Offset: 0x0001CDE4
128 public override DateTime ToDateTime(string value)
129 {
130 if (!true)
131 {
132 }
133 throw new InvalidCastException();
134 }
135
136 // Token: 0x06000B6B RID: 2923 RVA: 0x0001EBFC File Offset: 0x0001CDFC
137 public override DateTime ToDateTime(object value)
138 {
139 return 1;
140 }
141
142 // Token: 0x06000B6C RID: 2924 RVA: 0x0001EC14 File Offset: 0x0001CE14
144 {
145 throw new InvalidCastException();
146 }
147
148 // Token: 0x06000B6D RID: 2925 RVA: 0x0001EC28 File Offset: 0x0001CE28
149 public override DateTimeOffset ToDateTimeOffset(string value)
150 {
151 if (!true)
152 {
153 }
154 throw new InvalidCastException();
155 }
156
157 // Token: 0x06000B6E RID: 2926 RVA: 0x0001EC40 File Offset: 0x0001CE40
158 public override DateTimeOffset ToDateTimeOffset(object value)
159 {
160 if (!true)
161 {
162 }
163 throw new InvalidCastException();
164 }
165
166 // Token: 0x06000B6F RID: 2927 RVA: 0x0001EC58 File Offset: 0x0001CE58
167 public override decimal ToDecimal(string value)
168 {
169 if (!true)
170 {
171 }
172 throw new InvalidCastException();
173 }
174
175 // Token: 0x06000B70 RID: 2928 RVA: 0x0001EC70 File Offset: 0x0001CE70
176 public override decimal ToDecimal(object value)
177 {
178 if (!true)
179 {
180 }
181 throw new InvalidCastException();
182 }
183
184 // Token: 0x06000B71 RID: 2929 RVA: 0x0001EC88 File Offset: 0x0001CE88
185 public override double ToDouble(bool value)
186 {
187 throw new InvalidCastException();
188 }
189
190 // Token: 0x06000B72 RID: 2930 RVA: 0x0001EC9C File Offset: 0x0001CE9C
191 public override double ToDouble(DateTime value)
192 {
193 throw new InvalidCastException();
194 }
195
196 // Token: 0x06000B73 RID: 2931 RVA: 0x0001ECB0 File Offset: 0x0001CEB0
197 public override double ToDouble(int value)
198 {
199 throw new InvalidCastException();
200 }
201
202 // Token: 0x06000B74 RID: 2932 RVA: 0x0001ECC4 File Offset: 0x0001CEC4
203 public override double ToDouble(long value)
204 {
205 throw new InvalidCastException();
206 }
207
208 // Token: 0x06000B75 RID: 2933 RVA: 0x0001ECD8 File Offset: 0x0001CED8
209 public override double ToDouble(string value)
210 {
211 if (!true)
212 {
213 }
214 throw new InvalidCastException();
215 }
216
217 // Token: 0x06000B76 RID: 2934 RVA: 0x0001ECF0 File Offset: 0x0001CEF0
218 public override double ToDouble(object value)
219 {
220 if (!true)
221 {
222 }
223 throw new InvalidCastException();
224 }
225
226 // Token: 0x06000B77 RID: 2935 RVA: 0x0001ED08 File Offset: 0x0001CF08
227 public override int ToInt32(bool value)
228 {
229 throw new InvalidCastException();
230 }
231
232 // Token: 0x06000B78 RID: 2936 RVA: 0x0001ED1C File Offset: 0x0001CF1C
233 public override int ToInt32(DateTime value)
234 {
235 throw new InvalidCastException();
236 }
237
238 // Token: 0x06000B79 RID: 2937 RVA: 0x0001ED30 File Offset: 0x0001CF30
239 public override int ToInt32(double value)
240 {
241 throw new InvalidCastException();
242 }
243
244 // Token: 0x06000B7A RID: 2938 RVA: 0x0001ED44 File Offset: 0x0001CF44
245 public override int ToInt32(long value)
246 {
247 throw new InvalidCastException();
248 }
249
250 // Token: 0x06000B7B RID: 2939 RVA: 0x0001ED58 File Offset: 0x0001CF58
251 public override int ToInt32(string value)
252 {
253 if ("Invalid File" == null)
254 {
255 }
256 throw new InvalidCastException();
257 }
258
259 // Token: 0x06000B7C RID: 2940 RVA: 0x0001ED74 File Offset: 0x0001CF74
260 public override int ToInt32(object value)
261 {
262 if (!true)
263 {
264 }
265 throw new InvalidCastException();
266 }
267
268 // Token: 0x06000B7D RID: 2941 RVA: 0x0001ED8C File Offset: 0x0001CF8C
269 public override long ToInt64(bool value)
270 {
271 throw new InvalidCastException();
272 }
273
274 // Token: 0x06000B7E RID: 2942 RVA: 0x0001EDA0 File Offset: 0x0001CFA0
275 public override long ToInt64(DateTime value)
276 {
277 throw new InvalidCastException();
278 }
279
280 // Token: 0x06000B7F RID: 2943 RVA: 0x0001EDB4 File Offset: 0x0001CFB4
281 public override long ToInt64(double value)
282 {
283 throw new InvalidCastException();
284 }
285
286 // Token: 0x06000B80 RID: 2944 RVA: 0x0001EDC8 File Offset: 0x0001CFC8
287 public override long ToInt64(int value)
288 {
289 throw new InvalidCastException();
290 }
291
292 // Token: 0x06000B81 RID: 2945 RVA: 0x0001EDDC File Offset: 0x0001CFDC
293 public override long ToInt64(string value)
294 {
295 if (!true)
296 {
297 }
298 throw new InvalidCastException();
299 }
300
301 // Token: 0x06000B82 RID: 2946 RVA: 0x0001EDF4 File Offset: 0x0001CFF4
302 public override long ToInt64(object value)
303 {
304 if (!true)
305 {
306 }
307 throw new InvalidCastException();
308 }
309
310 // Token: 0x06000B83 RID: 2947 RVA: 0x0001EE0C File Offset: 0x0001D00C
311 public override float ToSingle(double value)
312 {
313 throw new InvalidCastException();
314 }
315
316 // Token: 0x06000B84 RID: 2948 RVA: 0x0001EE20 File Offset: 0x0001D020
317 public override float ToSingle(string value)
318 {
319 if (!true)
320 {
321 }
322 throw new InvalidCastException();
323 }
324
325 // Token: 0x06000B85 RID: 2949 RVA: 0x0001EE38 File Offset: 0x0001D038
326 public override float ToSingle(object value)
327 {
328 if (!true)
329 {
330 }
331 throw new InvalidCastException();
332 }
333
334 // Token: 0x06000B86 RID: 2950 RVA: 0x0001EE50 File Offset: 0x0001D050
335 public override string ToString(bool value)
336 {
337 if (this != null)
338 {
339 }
340 throw new InvalidCastException();
341 }
342
343 // Token: 0x06000B87 RID: 2951 RVA: 0x0001EE68 File Offset: 0x0001D068
344 public override string ToString(DateTime value)
345 {
346 if (this != null)
347 {
348 }
349 throw new InvalidCastException();
350 }
351
352 // Token: 0x06000B88 RID: 2952 RVA: 0x0001EE80 File Offset: 0x0001D080
353 public override string ToString(DateTimeOffset value)
354 {
355 if (this != null)
356 {
357 }
358 throw new InvalidCastException();
359 }
360
361 // Token: 0x06000B89 RID: 2953 RVA: 0x0001EE98 File Offset: 0x0001D098
362 public override string ToString(decimal value)
363 {
364 if (this != null)
365 {
366 }
367 throw new InvalidCastException();
368 }
369
370 // Token: 0x06000B8A RID: 2954 RVA: 0x0001EEB0 File Offset: 0x0001D0B0
371 public override string ToString(double value)
372 {
373 if (this != null)
374 {
375 }
376 throw new InvalidCastException();
377 }
378
379 // Token: 0x06000B8B RID: 2955 RVA: 0x0001EEC8 File Offset: 0x0001D0C8
380 public override string ToString(int value)
381 {
382 if (this != null)
383 {
384 }
385 throw new InvalidCastException();
386 }
387
388 // Token: 0x06000B8C RID: 2956 RVA: 0x0001EEE0 File Offset: 0x0001D0E0
389 public override string ToString(long value)
390 {
391 if (this != null)
392 {
393 }
394 throw new InvalidCastException();
395 }
396
397 // Token: 0x06000B8D RID: 2957 RVA: 0x0001EEF8 File Offset: 0x0001D0F8
398 public override string ToString(float value)
399 {
400 if (this != null)
401 {
402 }
403 throw new InvalidCastException();
404 }
405
406 // Token: 0x06000B8E RID: 2958 RVA: 0x0001EF10 File Offset: 0x0001D110
407 public override string ToString(object value, IXmlNamespaceResolver nsResolver)
408 {
409 if (!true)
410 {
411 }
412 if (this != null)
413 {
414 }
415 throw new InvalidCastException();
416 }
417
418 // Token: 0x06000B8F RID: 2959 RVA: 0x00003FFD File Offset: 0x000021FD
419 public override string ToString(object value)
420 {
421 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
422 }
423
424 // Token: 0x06000B90 RID: 2960 RVA: 0x00003FFD File Offset: 0x000021FD
425 public override object ChangeType(bool value, Type destinationType)
426 {
427 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
428 }
429
430 // Token: 0x06000B91 RID: 2961 RVA: 0x00003FFD File Offset: 0x000021FD
432 {
433 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
434 }
435
436 // Token: 0x06000B92 RID: 2962 RVA: 0x00003FFD File Offset: 0x000021FD
437 public override object ChangeType(decimal value, Type destinationType)
438 {
439 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
440 }
441
442 // Token: 0x06000B93 RID: 2963 RVA: 0x00003FFD File Offset: 0x000021FD
443 public override object ChangeType(double value, Type destinationType)
444 {
445 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
446 }
447
448 // Token: 0x06000B94 RID: 2964 RVA: 0x00003FFD File Offset: 0x000021FD
449 public override object ChangeType(int value, Type destinationType)
450 {
451 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
452 }
453
454 // Token: 0x06000B95 RID: 2965 RVA: 0x00003FFD File Offset: 0x000021FD
455 public override object ChangeType(long value, Type destinationType)
456 {
457 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
458 }
459
460 // Token: 0x06000B96 RID: 2966 RVA: 0x00003FFD File Offset: 0x000021FD
462 {
463 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
464 }
465
466 // Token: 0x06000B97 RID: 2967 RVA: 0x00003FFD File Offset: 0x000021FD
467 public override object ChangeType(object value, Type destinationType)
468 {
469 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
470 }
471
472 // Token: 0x17000336 RID: 822
473 // (get) Token: 0x06000B98 RID: 2968 RVA: 0x0001EF28 File Offset: 0x0001D128
475 {
476 get
477 {
478 return this.schemaType;
479 }
480 }
481
482 // Token: 0x17000337 RID: 823
483 // (get) Token: 0x06000B99 RID: 2969 RVA: 0x0001EF3C File Offset: 0x0001D13C
485 {
486 get
487 {
488 return this.typeCode;
489 }
490 }
491
492 // Token: 0x17000338 RID: 824
493 // (get) Token: 0x06000B9A RID: 2970 RVA: 0x0001EF50 File Offset: 0x0001D150
494 protected string XmlTypeName
495 {
496 get
497 {
498 int num = 1;
500 XmlQualifiedName qname;
501 string text;
502 if (xmlSchemaType != null)
503 {
504 bool isEmpty = xmlSchemaType.qname.IsEmpty;
505 qname = xmlSchemaType.baseSchemaType.qname;
506 if (num == 0)
507 {
508 }
510 return text;
511 }
512 string ns = qname.ns;
513 return text;
514 }
515 }
516
517 // Token: 0x17000339 RID: 825
518 // (get) Token: 0x06000B9B RID: 2971 RVA: 0x0001EFA4 File Offset: 0x0001D1A4
520 {
521 get
522 {
523 return this.clrTypeDefault;
524 }
525 }
526
527 // Token: 0x06000B9C RID: 2972 RVA: 0x0001EFB8 File Offset: 0x0001D1B8
528 protected static bool IsDerivedFrom(Type derivedType, Type baseType)
529 {
530 if (!true)
531 {
532 }
533 if (!true)
534 {
535 }
536 bool flag;
537 return flag;
538 }
539
540 // Token: 0x06000B9D RID: 2973 RVA: 0x0001EFD0 File Offset: 0x0001D1D0
542 {
543 if (!true)
544 {
545 }
546 bool flag = sourceType == destinationType;
547 string xmlTypeName = this.XmlTypeName;
548 if ((xmlTypeName == null || xmlTypeName != null) && (sourceType == null || sourceType != null))
549 {
550 string xmlTypeName2 = this.XmlTypeName;
551 if ((xmlTypeName2 != null && xmlTypeName2 == null) || (sourceType != null && sourceType == null) || xmlTypeName == null || xmlTypeName != null)
552 {
553 }
554 }
555 throw new ArrayTypeMismatchException();
556 }
557
558 // Token: 0x06000B9E RID: 2974 RVA: 0x0001F01C File Offset: 0x0001D21C
559 protected static string QNameToString(XmlQualifiedName name)
560 {
561 if (true)
562 {
563 bool flag = "http://www.w3.org/2001/XMLSchema" == "http://www.w3.org/2001/XMLSchema";
564 }
565 return "xdt:" + "http://www.w3.org/2003/11/xpath-datatypes";
566 }
567
568 // Token: 0x06000B9F RID: 2975 RVA: 0x0001F050 File Offset: 0x0001D250
570 {
571 /*
572An exception occurred when decompiling this method (06000B9F)
573
574ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Xml.Schema.XmlBaseConverter::ChangeListType(System.Object,System.Type,System.Xml.IXmlNamespaceResolver)
575
576 ---> System.Exception: Basic block has to end with unconditional control flow.
577{
578 Block_0:
579 stloc:Type(var_0_06, call:Type(object::GetType, ldloc:object(value)))
580 stloc:Exception(var_1_0F, call:Exception(XmlBaseConverter::CreateInvalidClrMappingException, ldloc:XmlBaseConverter(this), ldloc:Type(var_0_06), ldloc:Type(destinationType)))
581}
582
583 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
584 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
585 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
586 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
587 --- End of inner exception stack trace ---
588 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
589 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
590*/;
591 }
592
593 // Token: 0x06000BA0 RID: 2976 RVA: 0x0001F06C File Offset: 0x0001D26C
594 protected static byte[] StringToBase64Binary(string value)
595 {
596 if (!true)
597 {
598 }
599 string text;
601 }
602
603 // Token: 0x06000BA1 RID: 2977 RVA: 0x0001F084 File Offset: 0x0001D284
604 protected static DateTime StringToDate(string value)
605 {
606 if (!true)
607 {
608 }
609 return 1;
610 }
611
612 // Token: 0x06000BA2 RID: 2978 RVA: 0x0001F098 File Offset: 0x0001D298
613 protected static DateTime StringToDateTime(string value)
614 {
615 if (!true)
616 {
617 }
618 return 1;
619 }
620
621 // Token: 0x06000BA3 RID: 2979 RVA: 0x0001F0AC File Offset: 0x0001D2AC
622 protected static TimeSpan StringToDayTimeDuration(string value)
623 {
625 return timeSpan;
626 }
627
628 // Token: 0x06000BA4 RID: 2980 RVA: 0x0001F0BC File Offset: 0x0001D2BC
629 protected static TimeSpan StringToDuration(string value)
630 {
632 return timeSpan;
633 }
634
635 // Token: 0x06000BA5 RID: 2981 RVA: 0x0001F0CC File Offset: 0x0001D2CC
636 protected static DateTime StringToGDay(string value)
637 {
638 if (!true)
639 {
640 }
641 return 1;
642 }
643
644 // Token: 0x06000BA6 RID: 2982 RVA: 0x0001F0E0 File Offset: 0x0001D2E0
645 protected static DateTime StringToGMonth(string value)
646 {
647 if (!true)
648 {
649 }
650 return 1;
651 }
652
653 // Token: 0x06000BA7 RID: 2983 RVA: 0x0001F0F4 File Offset: 0x0001D2F4
654 protected static DateTime StringToGMonthDay(string value)
655 {
656 if (!true)
657 {
658 }
659 return 1;
660 }
661
662 // Token: 0x06000BA8 RID: 2984 RVA: 0x0001F108 File Offset: 0x0001D308
663 protected static DateTime StringToGYear(string value)
664 {
665 if (!true)
666 {
667 }
668 return 1;
669 }
670
671 // Token: 0x06000BA9 RID: 2985 RVA: 0x0001F11C File Offset: 0x0001D31C
672 protected static DateTime StringToGYearMonth(string value)
673 {
674 if (!true)
675 {
676 }
677 return 1;
678 }
679
680 // Token: 0x06000BAA RID: 2986 RVA: 0x0001F130 File Offset: 0x0001D330
681 protected static DateTimeOffset StringToDateOffset(string value)
682 {
683 if (!true)
684 {
685 }
686 return 1;
687 }
688
689 // Token: 0x06000BAB RID: 2987 RVA: 0x0001F144 File Offset: 0x0001D344
691 {
692 if (!true)
693 {
694 }
695 return 1;
696 }
697
698 // Token: 0x06000BAC RID: 2988 RVA: 0x0001F158 File Offset: 0x0001D358
699 protected static DateTimeOffset StringToGDayOffset(string value)
700 {
701 if (!true)
702 {
703 }
704 return 1;
705 }
706
707 // Token: 0x06000BAD RID: 2989 RVA: 0x0001F16C File Offset: 0x0001D36C
709 {
710 if (!true)
711 {
712 }
713 return 1;
714 }
715
716 // Token: 0x06000BAE RID: 2990 RVA: 0x0001F180 File Offset: 0x0001D380
718 {
719 if (!true)
720 {
721 }
722 return 1;
723 }
724
725 // Token: 0x06000BAF RID: 2991 RVA: 0x0001F194 File Offset: 0x0001D394
726 protected static DateTimeOffset StringToGYearOffset(string value)
727 {
728 if (!true)
729 {
730 }
731 return 1;
732 }
733
734 // Token: 0x06000BB0 RID: 2992 RVA: 0x0001F1A8 File Offset: 0x0001D3A8
736 {
737 if (!true)
738 {
739 }
740 return 1;
741 }
742
743 // Token: 0x06000BB1 RID: 2993 RVA: 0x0001F1BC File Offset: 0x0001D3BC
744 protected static byte[] StringToHexBinary(string value)
745 {
746 if (!true)
747 {
748 }
749 long num = 0L;
750 string text;
751 return XmlConvert.FromBinHexString(text, num != 0L);
752 }
753
754 // Token: 0x06000BB2 RID: 2994 RVA: 0x0001F1E0 File Offset: 0x0001D3E0
756 {
757 if (value == null || value != null)
758 {
759 }
760 throw new ArrayTypeMismatchException();
761 }
762
763 // Token: 0x06000BB3 RID: 2995 RVA: 0x0001F204 File Offset: 0x0001D404
764 protected static DateTime StringToTime(string value)
765 {
766 if (!true)
767 {
768 }
769 return 1;
770 }
771
772 // Token: 0x06000BB4 RID: 2996 RVA: 0x0001F218 File Offset: 0x0001D418
773 protected static DateTimeOffset StringToTimeOffset(string value)
774 {
775 if (!true)
776 {
777 }
778 return 1;
779 }
780
781 // Token: 0x06000BB5 RID: 2997 RVA: 0x0001F22C File Offset: 0x0001D42C
782 protected static TimeSpan StringToYearMonthDuration(string value)
783 {
785 return timeSpan;
786 }
787
788 // Token: 0x06000BB6 RID: 2998 RVA: 0x0001F23C File Offset: 0x0001D43C
789 protected static string AnyUriToString(Uri value)
790 {
791 string text;
792 return text;
793 }
794
795 // Token: 0x06000BB7 RID: 2999 RVA: 0x0001F24C File Offset: 0x0001D44C
796 protected static string Base64BinaryToString(byte[] value)
797 {
798 if (!true)
799 {
800 }
801 string text;
802 return text;
803 }
804
805 // Token: 0x06000BB8 RID: 3000 RVA: 0x0001F260 File Offset: 0x0001D460
806 protected static string DateToString(DateTime value)
807 {
808 string text;
809 return text;
810 }
811
812 // Token: 0x06000BB9 RID: 3001 RVA: 0x0001F270 File Offset: 0x0001D470
813 protected static string DateTimeToString(DateTime value)
814 {
815 string text;
816 return text;
817 }
818
819 // Token: 0x06000BBA RID: 3002 RVA: 0x0001F280 File Offset: 0x0001D480
820 protected static string DayTimeDurationToString(TimeSpan value)
821 {
822 string text;
823 return text;
824 }
825
826 // Token: 0x06000BBB RID: 3003 RVA: 0x0001F290 File Offset: 0x0001D490
827 protected static string DurationToString(TimeSpan value)
828 {
829 string text;
830 return text;
831 }
832
833 // Token: 0x06000BBC RID: 3004 RVA: 0x0001F2A0 File Offset: 0x0001D4A0
834 protected static string GDayToString(DateTime value)
835 {
836 string text;
837 return text;
838 }
839
840 // Token: 0x06000BBD RID: 3005 RVA: 0x0001F2B0 File Offset: 0x0001D4B0
841 protected static string GMonthToString(DateTime value)
842 {
843 string text;
844 return text;
845 }
846
847 // Token: 0x06000BBE RID: 3006 RVA: 0x0001F2C0 File Offset: 0x0001D4C0
848 protected static string GMonthDayToString(DateTime value)
849 {
850 string text;
851 return text;
852 }
853
854 // Token: 0x06000BBF RID: 3007 RVA: 0x0001F2D0 File Offset: 0x0001D4D0
855 protected static string GYearToString(DateTime value)
856 {
857 string text;
858 return text;
859 }
860
861 // Token: 0x06000BC0 RID: 3008 RVA: 0x0001F2E0 File Offset: 0x0001D4E0
862 protected static string GYearMonthToString(DateTime value)
863 {
864 string text;
865 return text;
866 }
867
868 // Token: 0x06000BC1 RID: 3009 RVA: 0x0001F2F0 File Offset: 0x0001D4F0
869 protected static string DateOffsetToString(DateTimeOffset value)
870 {
871 string text;
872 return text;
873 }
874
875 // Token: 0x06000BC2 RID: 3010 RVA: 0x0001F300 File Offset: 0x0001D500
877 {
878 string text;
879 return text;
880 }
881
882 // Token: 0x06000BC3 RID: 3011 RVA: 0x0001F310 File Offset: 0x0001D510
883 protected static string GDayOffsetToString(DateTimeOffset value)
884 {
885 string text;
886 return text;
887 }
888
889 // Token: 0x06000BC4 RID: 3012 RVA: 0x0001F320 File Offset: 0x0001D520
891 {
892 string text;
893 return text;
894 }
895
896 // Token: 0x06000BC5 RID: 3013 RVA: 0x0001F330 File Offset: 0x0001D530
898 {
899 string text;
900 return text;
901 }
902
903 // Token: 0x06000BC6 RID: 3014 RVA: 0x0001F340 File Offset: 0x0001D540
904 protected static string GYearOffsetToString(DateTimeOffset value)
905 {
906 string text;
907 return text;
908 }
909
910 // Token: 0x06000BC7 RID: 3015 RVA: 0x0001F350 File Offset: 0x0001D550
912 {
913 string text;
914 return text;
915 }
916
917 // Token: 0x06000BC8 RID: 3016 RVA: 0x0001F360 File Offset: 0x0001D560
919 {
920 if (qname != null)
921 {
922 }
923 string text;
924 return text;
925 }
926
927 // Token: 0x06000BC9 RID: 3017 RVA: 0x0001F394 File Offset: 0x0001D594
928 protected static string TimeToString(DateTime value)
929 {
930 string text;
931 return text;
932 }
933
934 // Token: 0x06000BCA RID: 3018 RVA: 0x0001F3A4 File Offset: 0x0001D5A4
935 protected static string TimeOffsetToString(DateTimeOffset value)
936 {
937 string text;
938 return text;
939 }
940
941 // Token: 0x06000BCB RID: 3019 RVA: 0x0001F3B4 File Offset: 0x0001D5B4
942 protected static string YearMonthDurationToString(TimeSpan value)
943 {
944 string text;
945 return text;
946 }
947
948 // Token: 0x06000BCC RID: 3020 RVA: 0x0001F3C4 File Offset: 0x0001D5C4
950 {
951 DateTime localDateTime = value.LocalDateTime;
952 DateTime dateTime;
953 return dateTime;
954 }
955
956 // Token: 0x06000BCD RID: 3021 RVA: 0x0001F3DC File Offset: 0x0001D5DC
957 internal static int DecimalToInt32(decimal value)
958 {
959 if (!true)
960 {
961 }
962 if (!true)
963 {
964 }
965 if (!true)
966 {
967 }
968 int num;
969 return num;
970 }
971
972 // Token: 0x06000BCE RID: 3022 RVA: 0x0001F400 File Offset: 0x0001D600
973 protected static long DecimalToInt64(decimal value)
974 {
975 if (!true)
976 {
977 }
978 if (!true)
979 {
980 }
981 if (!true)
982 {
983 }
984 long num;
985 return num;
986 }
987
988 // Token: 0x06000BCF RID: 3023 RVA: 0x0001F424 File Offset: 0x0001D624
989 protected static ulong DecimalToUInt64(decimal value)
990 {
991 if ("uriScheme" == null)
992 {
993 }
994 if ("uriScheme" == null)
995 {
996 }
997 ulong num;
998 return num;
999 }
1000
1001 // Token: 0x06000BD0 RID: 3024 RVA: 0x0001F44C File Offset: 0x0001D64C
1002 protected static byte Int32ToByte(int value)
1003 {
1004 string text = XmlConvert.ToString(42191000);
1005 throw new ArrayTypeMismatchException();
1006 }
1007
1008 // Token: 0x06000BD1 RID: 3025 RVA: 0x0001F470 File Offset: 0x0001D670
1009 protected static short Int32ToInt16(int value)
1010 {
1011 string text = XmlConvert.ToString(42191000);
1012 throw new ArrayTypeMismatchException();
1013 }
1014
1015 // Token: 0x06000BD2 RID: 3026 RVA: 0x0001F494 File Offset: 0x0001D694
1016 protected static sbyte Int32ToSByte(int value)
1017 {
1018 string text = XmlConvert.ToString(42191000);
1019 throw new ArrayTypeMismatchException();
1020 }
1021
1022 // Token: 0x06000BD3 RID: 3027 RVA: 0x0001F4B8 File Offset: 0x0001D6B8
1023 protected static ushort Int32ToUInt16(int value)
1024 {
1025 string text = XmlConvert.ToString(42191000);
1026 throw new ArrayTypeMismatchException();
1027 }
1028
1029 // Token: 0x06000BD4 RID: 3028 RVA: 0x0001F4DC File Offset: 0x0001D6DC
1030 protected static int Int64ToInt32(long value)
1031 {
1032 throw new ArrayTypeMismatchException();
1033 }
1034
1035 // Token: 0x06000BD5 RID: 3029 RVA: 0x0001F4F4 File Offset: 0x0001D6F4
1036 protected static uint Int64ToUInt32(long value)
1037 {
1038 throw new ArrayTypeMismatchException();
1039 }
1040
1041 // Token: 0x06000BD6 RID: 3030 RVA: 0x0001F50C File Offset: 0x0001D70C
1042 protected static DateTime UntypedAtomicToDateTime(string value)
1043 {
1044 if (!true)
1045 {
1046 }
1047 return 1;
1048 }
1049
1050 // Token: 0x06000BD7 RID: 3031 RVA: 0x0001F520 File Offset: 0x0001D720
1052 {
1053 if (!true)
1054 {
1055 }
1056 return 1;
1057 }
1058
1059 // Token: 0x06000BD8 RID: 3032 RVA: 0x0001F534 File Offset: 0x0001D734
1060 // Note: this type is marked as 'beforefieldinit'.
1062 {
1063 if (!true)
1064 {
1065 }
1066 }
1067
1068 // Token: 0x04000608 RID: 1544
1070
1071 // Token: 0x04000609 RID: 1545
1073
1074 // Token: 0x0400060A RID: 1546
1076
1077 // Token: 0x0400060B RID: 1547
1079
1080 // Token: 0x0400060C RID: 1548
1082
1083 // Token: 0x0400060D RID: 1549
1084 protected static readonly Type IListType;
1085
1086 // Token: 0x0400060E RID: 1550
1088
1089 // Token: 0x0400060F RID: 1551
1091
1092 // Token: 0x04000610 RID: 1552
1094
1095 // Token: 0x04000611 RID: 1553
1096 protected static readonly Type DecimalType;
1097
1098 // Token: 0x04000612 RID: 1554
1099 protected static readonly Type Int32Type;
1100
1101 // Token: 0x04000613 RID: 1555
1102 protected static readonly Type Int64Type;
1103
1104 // Token: 0x04000614 RID: 1556
1105 protected static readonly Type StringType;
1106
1107 // Token: 0x04000615 RID: 1557
1109
1110 // Token: 0x04000616 RID: 1558
1111 protected static readonly Type ObjectType;
1112
1113 // Token: 0x04000617 RID: 1559
1114 protected static readonly Type ByteType;
1115
1116 // Token: 0x04000618 RID: 1560
1117 protected static readonly Type Int16Type;
1118
1119 // Token: 0x04000619 RID: 1561
1120 protected static readonly Type SByteType;
1121
1122 // Token: 0x0400061A RID: 1562
1123 protected static readonly Type UInt16Type;
1124
1125 // Token: 0x0400061B RID: 1563
1126 protected static readonly Type UInt32Type;
1127
1128 // Token: 0x0400061C RID: 1564
1129 protected static readonly Type UInt64Type;
1130
1131 // Token: 0x0400061D RID: 1565
1132 protected static readonly Type XPathItemType;
1133
1134 // Token: 0x0400061E RID: 1566
1135 protected static readonly Type DoubleType;
1136
1137 // Token: 0x0400061F RID: 1567
1138 protected static readonly Type SingleType;
1139
1140 // Token: 0x04000620 RID: 1568
1141 protected static readonly Type DateTimeType;
1142
1143 // Token: 0x04000621 RID: 1569
1145
1146 // Token: 0x04000622 RID: 1570
1147 protected static readonly Type BooleanType;
1148
1149 // Token: 0x04000623 RID: 1571
1150 protected static readonly Type ByteArrayType;
1151
1152 // Token: 0x04000624 RID: 1572
1154
1155 // Token: 0x04000625 RID: 1573
1156 protected static readonly Type UriType;
1157
1158 // Token: 0x04000626 RID: 1574
1159 protected static readonly Type TimeSpanType;
1160
1161 // Token: 0x04000627 RID: 1575
1163 }
1164}
class f__AnonymousType0<< Count > j__TPar
static Array CreateInstance(Type elementType, params long[] lengths)
Definition Array.cs:16
static byte[] FromBase64String(string s)
Definition Convert.cs:2736
override double ToDouble(DateTime value)
override string ToString(float value)
override DateTime ToDateTime(long value)
override object ChangeType(string value, Type destinationType, IXmlNamespaceResolver nsResolver)
override int ToInt32(string value)
static ushort Int32ToUInt16(int value)
override string ToString(DateTimeOffset value)
override string ToString(object value, IXmlNamespaceResolver nsResolver)
override float ToSingle(double value)
static string QNameToString(XmlQualifiedName qname, IXmlNamespaceResolver nsResolver)
static DateTimeOffset StringToGYearMonthOffset(string value)
static DateTime StringToDate(string value)
override float ToSingle(string value)
static DateTime StringToGDay(string value)
static DateTime StringToTime(string value)
XmlBaseConverter(XmlBaseConverter converterAtomic, Type clrTypeDefault)
static string GDayOffsetToString(DateTimeOffset value)
override float ToSingle(object value)
static string DayTimeDurationToString(TimeSpan value)
static string DurationToString(TimeSpan value)
static string GYearMonthOffsetToString(DateTimeOffset value)
override string ToString(double value)
static TimeSpan StringToYearMonthDuration(string value)
override decimal ToDecimal(object value)
override DateTimeOffset ToDateTimeOffset(DateTime value)
override bool ToBoolean(string value)
override DateTime ToDateTime(double value)
override object ChangeType(DateTime value, Type destinationType)
static uint Int64ToUInt32(long value)
override object ChangeType(long value, Type destinationType)
static DateTimeOffset UntypedAtomicToDateTimeOffset(string value)
static string QNameToString(XmlQualifiedName name)
override int ToInt32(object value)
virtual object ChangeListType(object value, Type destinationType, IXmlNamespaceResolver nsResolver)
static string DateToString(DateTime value)
override double ToDouble(string value)
XmlBaseConverter(XmlTypeCode typeCode)
override double ToDouble(long value)
override string ToString(int value)
static readonly Type XmlAtomicValueArrayType
override string ToString(long value)
override string ToString(bool value)
static string DateTimeToString(DateTime value)
static DateTimeOffset StringToGYearOffset(string value)
static DateTime StringToGMonth(string value)
static XmlQualifiedName StringToQName(string value, IXmlNamespaceResolver nsResolver)
override DateTime ToDateTime(bool value)
static string TimeOffsetToString(DateTimeOffset value)
override bool ToBoolean(int value)
override decimal ToDecimal(string value)
static string DateOffsetToString(DateTimeOffset value)
static DateTimeOffset StringToGMonthOffset(string value)
override DateTime ToDateTime(string value)
static DateTime UntypedAtomicToDateTime(string value)
static DateTime StringToGYear(string value)
override DateTimeOffset ToDateTimeOffset(string value)
override double ToDouble(int value)
override int ToInt32(DateTime value)
override bool ToBoolean(double value)
override long ToInt64(DateTime value)
override object ChangeType(double value, Type destinationType)
static DateTimeOffset StringToTimeOffset(string value)
static string GYearOffsetToString(DateTimeOffset value)
override double ToDouble(bool value)
static string DateTimeOffsetToString(DateTimeOffset value)
static DateTime StringToGMonthDay(string value)
static DateTimeOffset StringToGMonthDayOffset(string value)
static string Base64BinaryToString(byte[] value)
override bool ToBoolean(object value)
static DateTimeOffset StringToDateTimeOffset(string value)
override object ChangeType(bool value, Type destinationType)
static string YearMonthDurationToString(TimeSpan value)
override string ToString(object value)
override DateTime ToDateTime(object value)
override long ToInt64(double value)
static int DecimalToInt32(decimal value)
override int ToInt32(double value)
static string GYearMonthToString(DateTime value)
static DateTimeOffset StringToDateOffset(string value)
override double ToDouble(object value)
static string GMonthToString(DateTime value)
static string AnyUriToString(Uri value)
static DateTime StringToDateTime(string value)
static string GMonthDayOffsetToString(DateTimeOffset value)
override long ToInt64(object value)
static ulong DecimalToUInt64(decimal value)
static byte[] StringToBase64Binary(string value)
static string GMonthOffsetToString(DateTimeOffset value)
static string GYearToString(DateTime value)
static TimeSpan StringToDayTimeDuration(string value)
override long ToInt64(bool value)
override bool ToBoolean(DateTime value)
override long ToInt64(string value)
override DateTime ToDateTime(DateTimeOffset value)
static string TimeToString(DateTime value)
override bool ToBoolean(long value)
override object ChangeType(object value, Type destinationType)
XmlBaseConverter(XmlSchemaType schemaType)
static byte[] StringToHexBinary(string value)
override object ChangeType(int value, Type destinationType)
override DateTimeOffset ToDateTimeOffset(object value)
static DateTime StringToGYearMonth(string value)
static string GDayToString(DateTime value)
Exception CreateInvalidClrMappingException(Type sourceType, Type destinationType)
static string GMonthDayToString(DateTime value)
static long DecimalToInt64(decimal value)
override DateTime ToDateTime(int value)
static DateTimeOffset StringToGDayOffset(string value)
XmlBaseConverter(XmlBaseConverter converterAtomic)
static DateTime DateTimeOffsetToDateTime(DateTimeOffset value)
override string ToString(decimal value)
static bool IsDerivedFrom(Type derivedType, Type baseType)
override object ChangeType(decimal value, Type destinationType)
override string ToString(DateTime value)
static TimeSpan StringToDuration(string value)
static string ToString(bool value)
static byte[] FromBinHexString(string s, bool allowOddCount)
TypeCode
Definition TypeCode.cs:7