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

◆ ChangeType() [8/9]

override object System.Xml.Schema.XmlMiscConverter.ChangeType ( object value,
Type destinationType,
IXmlNamespaceResolver nsResolver )
inline

Definition at line 93 of file XmlMiscConverter.cs.

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();
105 XmlTypeCode typeCode = this.typeCode;
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 }
class f__AnonymousType0<< Count > j__TPar
new Type GetType()
Definition Type.cs:287

References System.Xml.Schema.XmlBaseConverter.clrTypeDefault, System.Type.GetType(), j__TPar, System.Xml.Schema.XmlBaseConverter.typeCode, and System.value.