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
XmlMiscConverter.cs
Go to the documentation of this file.
1using System;
3
4namespace System.Xml.Schema
5{
6 // Token: 0x02000162 RID: 354
8 {
9 // Token: 0x06000C12 RID: 3090 RVA: 0x0001FD28 File Offset: 0x0001DF28
11 {
12 if (!true)
13 {
14 }
15 base..ctor(schemaType);
16 }
17
18 // Token: 0x06000C13 RID: 3091 RVA: 0x00003FFD File Offset: 0x000021FD
20 {
21 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
22 }
23
24 // Token: 0x06000C14 RID: 3092 RVA: 0x0001FD40 File Offset: 0x0001DF40
25 public override string ToString(object value, IXmlNamespaceResolver nsResolver)
26 {
27 if (value == null)
28 {
29 throw new InvalidCastException();
30 }
31 Type type = value.GetType();
32 if (this.typeCode == XmlTypeCode.None)
33 {
34 }
35 if (value != null)
36 {
37 string text;
38 return text;
39 }
40 throw new InvalidCastException();
41 }
42
43 // Token: 0x06000C15 RID: 3093 RVA: 0x0001FDA8 File Offset: 0x0001DFA8
45 {
46 if (value != null)
47 {
48 if (!true)
49 {
50 }
51 if (!true)
52 {
53 }
56 if (typeCode == XmlTypeCode.None)
57 {
58 }
60 if (typeCode == XmlTypeCode.None)
61 {
62 }
64 if (typeCode2 == XmlTypeCode.None)
65 {
66 }
68 if (typeCode2 == XmlTypeCode.None)
69 {
70 }
72 if (typeCode3 == XmlTypeCode.None)
73 {
74 }
76 if (typeCode3 == XmlTypeCode.None)
77 {
78 }
80 if (typeCode3 == XmlTypeCode.None)
81 {
82 }
86 object obj;
87 return obj;
88 }
89 return "value";
90 }
91
92 // Token: 0x06000C16 RID: 3094 RVA: 0x0001FE40 File Offset: 0x0001E040
94 {
95 int num = 1;
96 if (value == null)
97 {
98 return "value";
99 }
100 if (num == 0)
101 {
102 }
103 Type type = value.GetType();
106 if (value == null)
107 {
108 throw new InvalidCastException();
109 }
110 bool flag = clrTypeDefault == clrTypeDefault;
111 bool flag2 = type == clrTypeDefault;
112 throw new InvalidCastException();
113 }
114
115 // Token: 0x06000C17 RID: 3095 RVA: 0x0001FEA0 File Offset: 0x0001E0A0
117 {
118 Type type = value.GetType();
119 if (value != null)
120 {
121 }
122 return value;
123 }
124
125 // Token: 0x06000C18 RID: 3096 RVA: 0x0001FEC0 File Offset: 0x0001E0C0
127 {
128 if (!true)
129 {
130 }
131 if (this != null)
132 {
133 }
134 throw new InvalidCastException();
135 }
136 }
137}
class f__AnonymousType0<< Count > j__TPar
new Type GetType()
Definition Type.cs:287
static XmlQualifiedName StringToQName(string value, IXmlNamespaceResolver nsResolver)
static byte[] StringToBase64Binary(string value)
static TimeSpan StringToDayTimeDuration(string value)
static byte[] StringToHexBinary(string value)
override object ChangeType(object value, Type destinationType, IXmlNamespaceResolver nsResolver)
override string ToString(object value, IXmlNamespaceResolver nsResolver)
object ChangeTypeWildcardDestination(object value, Type destinationType, IXmlNamespaceResolver nsResolver)
override object ChangeType(string value, Type destinationType, IXmlNamespaceResolver nsResolver)
static XmlValueConverter Create(XmlSchemaType schemaType)
object ChangeTypeWildcardSource(object value, Type destinationType, IXmlNamespaceResolver nsResolver)
XmlMiscConverter(XmlSchemaType schemaType)
static Uri ToUri(string s)