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
XmlAtomicValue.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Xml.Schema
7{
8 // Token: 0x02000138 RID: 312
9 public sealed class XmlAtomicValue : XPathItem, ICloneable
10 {
11 // Token: 0x06000AA0 RID: 2720 RVA: 0x0001DA5C File Offset: 0x0001BC5C
13 {
14 do
15 {
16 base..ctor();
17 }
18 while (xmlType == null);
20 this.clrType = TypeCode.Boolean;
21 }
22
23 // Token: 0x06000AA1 RID: 2721 RVA: 0x0001DA80 File Offset: 0x0001BC80
25 {
26 do
27 {
28 base..ctor();
29 }
30 while (xmlType == null);
32 this.clrType = TypeCode.DateTime;
34 }
35
36 // Token: 0x06000AA2 RID: 2722 RVA: 0x0001DAAC File Offset: 0x0001BCAC
38 {
39 do
40 {
41 base..ctor();
42 }
43 while (xmlType == null);
45 this.clrType = TypeCode.Double;
47 }
48
49 // Token: 0x06000AA3 RID: 2723 RVA: 0x0001DAE0 File Offset: 0x0001BCE0
51 {
52 do
53 {
54 base..ctor();
55 }
56 while (xmlType == null);
58 this.clrType = TypeCode.Int32;
60 }
61
62 // Token: 0x06000AA4 RID: 2724 RVA: 0x0001DB0C File Offset: 0x0001BD0C
64 {
65 do
66 {
67 base..ctor();
68 }
69 while (xmlType == null);
71 this.clrType = TypeCode.Int64;
73 }
74
75 // Token: 0x06000AA5 RID: 2725 RVA: 0x0001DB38 File Offset: 0x0001BD38
77 {
78 do
79 {
80 base..ctor();
81 if (value == null)
82 {
83 return;
84 }
85 }
86 while (xmlType == null);
89 }
90
91 // Token: 0x06000AA6 RID: 2726 RVA: 0x0001DB60 File Offset: 0x0001BD60
93 {
94 do
95 {
96 base..ctor();
97 if (value == null)
98 {
99 return;
100 }
101 }
102 while (xmlType == null);
105 if (nsResolver != null)
106 {
107 XmlTypeCode typeCode = xmlType.TypeCode;
109 return;
110 }
111 }
112
113 // Token: 0x06000AA7 RID: 2727 RVA: 0x0001DB9C File Offset: 0x0001BD9C
115 {
116 do
117 {
118 base..ctor();
119 if (value == null)
120 {
121 return;
122 }
123 }
124 while (xmlType == null);
125 }
126
127 // Token: 0x06000AA8 RID: 2728 RVA: 0x0001DBB8 File Offset: 0x0001BDB8
129 {
130 do
131 {
132 base..ctor();
133 if (value == null)
134 {
135 return;
136 }
137 }
138 while (xmlType == null);
141 if (nsResolver != null)
142 {
143 XmlTypeCode typeCode = xmlType.TypeCode;
145 object obj = this.objVal;
146 return;
147 }
148 }
149
150 // Token: 0x06000AA9 RID: 2729 RVA: 0x00003FFD File Offset: 0x000021FD
152 {
153 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
154 }
155
156 // Token: 0x17000305 RID: 773
157 // (get) Token: 0x06000AAA RID: 2730 RVA: 0x0001DBFC File Offset: 0x0001BDFC
158 public override XmlSchemaType XmlType
159 {
160 get
161 {
162 return this.xmlType;
163 }
164 }
165
166 // Token: 0x17000306 RID: 774
167 // (get) Token: 0x06000AAB RID: 2731 RVA: 0x0001DC10 File Offset: 0x0001BE10
168 public override Type ValueType
169 {
170 get
171 {
172 /*
173An exception occurred when decompiling this method (06000AAB)
174
175ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Type System.Xml.Schema.XmlAtomicValue::get_ValueType()
176
177 ---> System.Exception: Basic block has to end with unconditional control flow.
178{
179 Block_0:
180 stloc:XmlSchemaDatatype(var_0_0B, ldfld:XmlSchemaDatatype(XmlSchemaType::datatype, ldfld:XmlSchemaType(XmlAtomicValue::xmlType, ldloc:XmlAtomicValue(this))))
181}
182
183 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
184 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
185 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
186 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
187 --- End of inner exception stack trace ---
188 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
189 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
190*/;
191 }
192 }
193
194 // Token: 0x17000307 RID: 775
195 // (get) Token: 0x06000AAC RID: 2732 RVA: 0x0001DC28 File Offset: 0x0001BE28
196 public override object TypedValue
197 {
198 get
199 {
200 /*
201An exception occurred when decompiling this method (06000AAC)
202
203ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Xml.Schema.XmlAtomicValue::get_TypedValue()
204
205 ---> System.Exception: Basic block has to end with unconditional control flow.
206{
207 IL_001B:
208 stloc:TypeCode(var_2_21, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
209 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
210 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
211 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
212 stloc:bool(var_6_44, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
213}
214
215 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
216 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
217 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
218 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
219 --- End of inner exception stack trace ---
220 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
221 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
222*/;
223 }
224 }
225
226 // Token: 0x17000308 RID: 776
227 // (get) Token: 0x06000AAD RID: 2733 RVA: 0x0001DC7C File Offset: 0x0001BE7C
228 public override bool ValueAsBoolean
229 {
230 get
231 {
232 /*
233An exception occurred when decompiling this method (06000AAD)
234
235ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Xml.Schema.XmlAtomicValue::get_ValueAsBoolean()
236
237 ---> System.Exception: Basic block has to end with unconditional control flow.
238{
239 IL_0014:
240 stloc:TypeCode(var_1_1A, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
241 stloc:Union(var_2_21, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
242 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
243 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
244 stloc:bool(var_5_3C, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
245}
246
247 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
248 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
249 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
250 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
251 --- End of inner exception stack trace ---
252 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
253 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
254*/;
255 }
256 }
257
258 // Token: 0x17000309 RID: 777
259 // (get) Token: 0x06000AAE RID: 2734 RVA: 0x0001DCC8 File Offset: 0x0001BEC8
260 public override DateTime ValueAsDateTime
261 {
262 get
263 {
264 /*
265An exception occurred when decompiling this method (06000AAE)
266
267ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime System.Xml.Schema.XmlAtomicValue::get_ValueAsDateTime()
268
269 ---> System.Exception: Basic block has to end with unconditional control flow.
270{
271 IL_0014:
272 stloc:TypeCode(var_1_1A, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
273 stloc:Union(var_2_21, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
274 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
275 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
276 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
277 stloc:bool(var_6_44, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
278}
279
280 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
281 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
282 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
283 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
284 --- End of inner exception stack trace ---
285 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
286 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
287*/;
288 }
289 }
290
291 // Token: 0x1700030A RID: 778
292 // (get) Token: 0x06000AAF RID: 2735 RVA: 0x0001DD1C File Offset: 0x0001BF1C
293 public override double ValueAsDouble
294 {
295 get
296 {
297 /*
298An exception occurred when decompiling this method (06000AAF)
299
300ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.Xml.Schema.XmlAtomicValue::get_ValueAsDouble()
301
302 ---> System.Exception: Basic block has to end with unconditional control flow.
303{
304 IL_0014:
305 stloc:TypeCode(var_1_1A, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
306 stloc:Union(var_2_21, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
307 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
308 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
309 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
310 stloc:bool(var_6_44, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
311}
312
313 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
314 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
315 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
316 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
317 --- End of inner exception stack trace ---
318 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
319 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
320*/;
321 }
322 }
323
324 // Token: 0x1700030B RID: 779
325 // (get) Token: 0x06000AB0 RID: 2736 RVA: 0x0001DD70 File Offset: 0x0001BF70
326 public override int ValueAsInt
327 {
328 get
329 {
330 /*
331An exception occurred when decompiling this method (06000AB0)
332
333ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Xml.Schema.XmlAtomicValue::get_ValueAsInt()
334
335 ---> System.Exception: Basic block has to end with unconditional control flow.
336{
337 IL_0014:
338 stloc:TypeCode(var_1_1A, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
339 stloc:Union(var_2_21, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
340 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
341 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
342 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
343 stloc:bool(var_6_44, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
344}
345
346 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
347 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
348 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
349 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
350 --- End of inner exception stack trace ---
351 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
352 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
353*/;
354 }
355 }
356
357 // Token: 0x1700030C RID: 780
358 // (get) Token: 0x06000AB1 RID: 2737 RVA: 0x0001DDC4 File Offset: 0x0001BFC4
359 public override long ValueAsLong
360 {
361 get
362 {
363 /*
364An exception occurred when decompiling this method (06000AB1)
365
366ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Xml.Schema.XmlAtomicValue::get_ValueAsLong()
367
368 ---> System.Exception: Basic block has to end with unconditional control flow.
369{
370 IL_0014:
371 stloc:TypeCode(var_1_1A, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
372 stloc:Union(var_2_21, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
373 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
374 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
375 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
376 stloc:bool(var_6_44, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
377}
378
379 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
380 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
381 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
382 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
383 --- End of inner exception stack trace ---
384 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
385 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
386*/;
387 }
388 }
389
390 // Token: 0x06000AB2 RID: 2738 RVA: 0x0001DE18 File Offset: 0x0001C018
391 public override object ValueAs(Type type, IXmlNamespaceResolver nsResolver)
392 {
393 /*
394An exception occurred when decompiling this method (06000AB2)
395
396ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object System.Xml.Schema.XmlAtomicValue::ValueAs(System.Type,System.Xml.IXmlNamespaceResolver)
397
398 ---> System.Exception: Basic block has to end with unconditional control flow.
399{
400 IL_0025:
401 stloc:TypeCode(var_5_2B, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
402 stloc:Union(var_6_33, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
403 stloc:Union(var_7_3B, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
404 stloc:Union(var_8_43, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
405 stloc:Union(var_9_4B, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
406 stloc:bool(var_10_58, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
407}
408
409 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
410 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
411 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
412 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
413 --- End of inner exception stack trace ---
414 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
415 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
416*/;
417 }
418
419 // Token: 0x1700030D RID: 781
420 // (get) Token: 0x06000AB3 RID: 2739 RVA: 0x0001DE80 File Offset: 0x0001C080
421 public override string Value
422 {
423 get
424 {
425 /*
426An exception occurred when decompiling this method (06000AB3)
427
428ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.Schema.XmlAtomicValue::get_Value()
429
430 ---> System.Exception: Basic block has to end with unconditional control flow.
431{
432 IL_001B:
433 stloc:TypeCode(var_2_21, ldfld:TypeCode(XmlAtomicValue::clrType, ldloc:XmlAtomicValue(this)))
434 stloc:Union(var_3_28, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
435 stloc:Union(var_4_2F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
436 stloc:Union(var_5_37, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
437 stloc:Union(var_6_3F, ldfld:Union(XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this)))
438 stloc:bool(var_7_4C, ldfld:bool(Union::boolVal, ldfld:Union[exp:valuetype System.Xml.Schema.XmlAtomicValue/Union&](XmlAtomicValue::unionVal, ldloc:XmlAtomicValue(this))))
439}
440
441 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
442 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
443 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
444 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
445 --- End of inner exception stack trace ---
446 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
447 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
448*/;
449 }
450 }
451
452 // Token: 0x06000AB4 RID: 2740 RVA: 0x00003FFD File Offset: 0x000021FD
453 public override string ToString()
454 {
455 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
456 }
457
458 // Token: 0x06000AB5 RID: 2741 RVA: 0x0001DEDC File Offset: 0x0001C0DC
459 private string GetPrefixFromQName(string value)
460 {
461 if (!true)
462 {
463 }
464 int num;
465 string text;
466 if (num != 0)
467 {
468 int stringLength = value._stringLength;
469 return text;
470 }
471 return text;
472 }
473
474 // Token: 0x04000563 RID: 1379
476
477 // Token: 0x04000564 RID: 1380
478 private object objVal;
479
480 // Token: 0x04000565 RID: 1381
482
483 // Token: 0x04000566 RID: 1382
485
486 // Token: 0x04000567 RID: 1383
488
489 // Token: 0x02000139 RID: 313
490 [StructLayout(2, Pack = 1)]
491 private struct Union
492 {
493 // Token: 0x04000568 RID: 1384
494 public bool boolVal;
495
496 // Token: 0x04000569 RID: 1385
497 public double dblVal;
498
499 // Token: 0x0400056A RID: 1386
500 public long i64Val;
501
502 // Token: 0x0400056B RID: 1387
503 public int i32Val;
504
505 // Token: 0x0400056C RID: 1388
507 }
508
509 // Token: 0x0200013A RID: 314
511 {
512 // Token: 0x06000AB6 RID: 2742 RVA: 0x0001DEFC File Offset: 0x0001C0FC
513 public NamespacePrefixForQName(string prefix, string ns)
514 {
516 this.ns = ns;
517 }
518
519 // Token: 0x06000AB7 RID: 2743 RVA: 0x0001DF20 File Offset: 0x0001C120
520 public string LookupNamespace(string prefix)
521 {
522 string text = this.prefix;
523 bool flag = prefix == text;
524 return this.ns;
525 }
526
527 // Token: 0x06000AB8 RID: 2744 RVA: 0x0001DF44 File Offset: 0x0001C144
528 public string LookupPrefix(string namespaceName)
529 {
530 bool flag = this.ns == namespaceName;
531 return this.prefix;
532 }
533
534 // Token: 0x0400056D RID: 1389
535 public string prefix;
536
537 // Token: 0x0400056E RID: 1390
538 public string ns;
539 }
540 }
541}
class f__AnonymousType0<< Count > j__TPar
XmlAtomicValue(XmlSchemaType xmlType, object value, IXmlNamespaceResolver nsResolver)
XmlAtomicValue(XmlSchemaType xmlType, string value)
XmlAtomicValue(XmlSchemaType xmlType, string value, IXmlNamespaceResolver nsResolver)
XmlAtomicValue.NamespacePrefixForQName nsPrefix
XmlAtomicValue(XmlSchemaType xmlType, DateTime value)
XmlAtomicValue(XmlSchemaType xmlType, object value)
override object ValueAs(Type type, IXmlNamespaceResolver nsResolver)
string GetPrefixFromQName(string value)
XmlAtomicValue(XmlSchemaType xmlType, bool value)
XmlAtomicValue(XmlSchemaType xmlType, int value)
XmlAtomicValue(XmlSchemaType xmlType, double value)
XmlAtomicValue(XmlSchemaType xmlType, long value)
override XmlSchemaType XmlType
TypeCode
Definition TypeCode.cs:7