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
XmlConvert.cs
Go to the documentation of this file.
1using System;
7
8namespace System.Xml
9{
10 // Token: 0x02000095 RID: 149
11 public class XmlConvert
12 {
13 // Token: 0x060006D6 RID: 1750 RVA: 0x0001790C File Offset: 0x00015B0C
14 public static string EncodeName(string name)
15 {
16 if (!true)
17 {
18 }
19 string text;
20 return text;
21 }
22
23 // Token: 0x060006D7 RID: 1751 RVA: 0x00017920 File Offset: 0x00015B20
24 public static string DecodeName(string name)
25 {
26 if (!true)
27 {
28 }
30 IEnumerator enumerator = matchCollection.GetEnumerator();
31 if (enumerator != null)
32 {
33 }
34 if (enumerator != null)
35 {
36 }
37 long num = 0L;
38 if (enumerator != null)
39 {
40 }
41 if (num == 0L)
42 {
43 }
44 if (42180112 == 0)
45 {
46 }
47 char c;
48 if (c != '\0')
49 {
50 }
51 throw new InvalidCastException();
52 }
53
54 // Token: 0x060006D8 RID: 1752 RVA: 0x00017964 File Offset: 0x00015B64
55 private static string EncodeName(string name, bool first, bool local)
56 {
57 int num = 1;
58 bool flag = string.IsNullOrEmpty("X4");
59 if (num == 0)
60 {
61 }
63 IEnumerator enumerator = matchCollection.GetEnumerator();
64 if (enumerator != null)
65 {
66 }
67 char c;
68 if (c == '\0')
69 {
70 }
71 long num2 = 0L;
72 long num3 = 0L;
73 if (c == '\0')
74 {
75 }
76 if (num3 == 0L)
77 {
78 }
79 if (enumerator != null)
80 {
81 }
82 int num4 = 64673;
83 if ("_x" == null)
84 {
85 }
87 if (num4 == 0)
88 {
89 }
91 if ("X8" != null)
92 {
93 }
94 if (num4 == 0)
95 {
96 }
98 if (num2 != 0L)
99 {
100 }
101 if (num4 != 0)
102 {
103 }
104 if (enumerator != null)
105 {
106 }
107 if (enumerator != null)
108 {
109 }
110 throw new InvalidCastException();
111 }
112
113 // Token: 0x060006D9 RID: 1753 RVA: 0x00003FFD File Offset: 0x000021FD
114 private static int FromHex(char digit)
115 {
116 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
117 }
118
119 // Token: 0x060006DA RID: 1754 RVA: 0x00017A18 File Offset: 0x00015C18
120 internal static byte[] FromBinHexString(string s, bool allowOddCount)
121 {
122 long num = 0L;
123 char[] array;
124 return BinHexDecoder.Decode(array, num != 0L);
125 }
126
127 // Token: 0x060006DB RID: 1755 RVA: 0x00017A30 File Offset: 0x00015C30
128 internal static string ToBinHexString(byte[] inArray)
129 {
130 string text;
131 return text;
132 }
133
134 // Token: 0x060006DC RID: 1756 RVA: 0x00017A40 File Offset: 0x00015C40
135 public static string VerifyName(string name)
136 {
137 /*
138An exception occurred when decompiling this method (060006DC)
139
140ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.XmlConvert::VerifyName(System.String)
141
142 ---> System.Exception: Basic block has to end with unconditional control flow.
143{
144 IL_0003:
145 stloc:Exception(var_1_13, call:Exception(XmlConvert::CreateInvalidNameCharException, ldstr:string("The empty string '' is not a valid name."), ldc.i4:int32(-1073741824), ldc.i4:ExceptionType(1)))
146}
147
148 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
149 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
150 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
151 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
152 --- End of inner exception stack trace ---
153 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
154 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
155*/;
156 }
157
158 // Token: 0x060006DD RID: 1757 RVA: 0x00017A60 File Offset: 0x00015C60
159 internal static Exception TryVerifyName(string name)
160 {
161 /*
162An exception occurred when decompiling this method (060006DD)
163
164ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.Xml.XmlConvert::TryVerifyName(System.String)
165
166 ---> System.Exception: Basic block has to end with unconditional control flow.
167{
168 IL_0000:
169 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(1)))
170}
171
172 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
173 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
174 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
175 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
176 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
177 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
178 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
179 --- End of inner exception stack trace ---
180 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
181 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
182*/;
183 }
184
185 // Token: 0x060006DE RID: 1758 RVA: 0x00017A70 File Offset: 0x00015C70
186 internal static string VerifyQName(string name, ExceptionType exceptionType)
187 {
188 /*
189An exception occurred when decompiling this method (060006DE)
190
191ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.XmlConvert::VerifyQName(System.String,System.Xml.ExceptionType)
192
193 ---> System.Exception: Basic block has to end with unconditional control flow.
194{
195 IL_0000:
196 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(1)))
197}
198
199 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
200 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
201 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
202 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
203 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
204 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
205 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
206 --- End of inner exception stack trace ---
207 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
208 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
209*/;
210 }
211
212 // Token: 0x060006DF RID: 1759 RVA: 0x00017A80 File Offset: 0x00015C80
213 public static string VerifyNCName(string name)
214 {
215 if (!true)
216 {
217 }
218 string text;
219 return text;
220 }
221
222 // Token: 0x060006E0 RID: 1760 RVA: 0x00017A94 File Offset: 0x00015C94
223 internal static string VerifyNCName(string name, ExceptionType exceptionType)
224 {
225 /*
226An exception occurred when decompiling this method (060006E0)
227
228ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Xml.XmlConvert::VerifyNCName(System.String,System.Xml.ExceptionType)
229
230 ---> System.Exception: Basic block has to end with unconditional control flow.
231{
232 IL_0000:
233 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(1)))
234}
235
236 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
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 1878
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 1846
240 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
241 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
242 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
243 --- End of inner exception stack trace ---
244 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
245 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
246*/;
247 }
248
249 // Token: 0x060006E1 RID: 1761 RVA: 0x00017AA4 File Offset: 0x00015CA4
250 internal static Exception TryVerifyNCName(string name)
251 {
252 if (!true)
253 {
254 }
255 int num;
256 if (num != 0)
257 {
258 }
259 if (!true)
260 {
261 }
262 Exception ex;
263 return ex;
264 }
265
266 // Token: 0x060006E2 RID: 1762 RVA: 0x00017AC0 File Offset: 0x00015CC0
267 internal static Exception TryVerifyTOKEN(string token)
268 {
269 int num = 1;
270 if (num == 0 || num == 0)
271 {
272 return;
273 }
274 }
275
276 // Token: 0x060006E3 RID: 1763 RVA: 0x00017ADC File Offset: 0x00015CDC
277 internal static Exception TryVerifyNMTOKEN(string name)
278 {
279 /*
280An exception occurred when decompiling this method (060006E3)
281
282ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.Xml.XmlConvert::TryVerifyNMTOKEN(System.String)
283
284 ---> System.Exception: Basic block has to end with unconditional control flow.
285{
286 IL_0000:
287 brtrue(IL_0000, logicnot:bool(ldc.i4:bool(1)))
288}
289
290 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
291 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
292 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
293 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
294 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
295 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
296 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
297 --- End of inner exception stack trace ---
298 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
299 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
300*/;
301 }
302
303 // Token: 0x060006E4 RID: 1764 RVA: 0x00017AEC File Offset: 0x00015CEC
304 internal static Exception TryVerifyNormalizedString(string str)
305 {
306 if (!true)
307 {
308 return;
309 }
310 }
311
312 // Token: 0x060006E5 RID: 1765 RVA: 0x00017B00 File Offset: 0x00015D00
313 public static string ToString(bool value)
314 {
315 return 1;
316 }
317
318 // Token: 0x060006E6 RID: 1766 RVA: 0x00017B10 File Offset: 0x00015D10
319 public static string ToString(decimal value)
320 {
322 string text;
323 return text;
324 }
325
326 // Token: 0x060006E7 RID: 1767 RVA: 0x00017B28 File Offset: 0x00015D28
327 [CLSCompliant(false)]
328 public static string ToString(sbyte value)
329 {
331 string text;
332 return text;
333 }
334
335 // Token: 0x060006E8 RID: 1768 RVA: 0x00017B40 File Offset: 0x00015D40
336 public static string ToString(short value)
337 {
339 string text;
340 return text;
341 }
342
343 // Token: 0x060006E9 RID: 1769 RVA: 0x00017B58 File Offset: 0x00015D58
344 public static string ToString(int value)
345 {
347 string text;
348 return text;
349 }
350
351 // Token: 0x060006EA RID: 1770 RVA: 0x00017B70 File Offset: 0x00015D70
352 public static string ToString(long value)
353 {
355 string text;
356 return text;
357 }
358
359 // Token: 0x060006EB RID: 1771 RVA: 0x00017B88 File Offset: 0x00015D88
360 public static string ToString(byte value)
361 {
363 string text;
364 return text;
365 }
366
367 // Token: 0x060006EC RID: 1772 RVA: 0x00017BA0 File Offset: 0x00015DA0
368 [CLSCompliant(false)]
369 public static string ToString(ushort value)
370 {
372 string text;
373 return text;
374 }
375
376 // Token: 0x060006ED RID: 1773 RVA: 0x00017BB8 File Offset: 0x00015DB8
377 [CLSCompliant(false)]
378 public static string ToString(uint value)
379 {
381 string text;
382 return text;
383 }
384
385 // Token: 0x060006EE RID: 1774 RVA: 0x00017BD0 File Offset: 0x00015DD0
386 [CLSCompliant(false)]
387 public static string ToString(ulong value)
388 {
390 string text;
391 return text;
392 }
393
394 // Token: 0x060006EF RID: 1775 RVA: 0x00017BE8 File Offset: 0x00015DE8
395 public static string ToString(float value)
396 {
397 return "INF";
398 }
399
400 // Token: 0x060006F0 RID: 1776 RVA: 0x00017C18 File Offset: 0x00015E18
401 public static string ToString(double value)
402 {
403 return "INF";
404 }
405
406 // Token: 0x060006F1 RID: 1777 RVA: 0x00017C48 File Offset: 0x00015E48
407 public static string ToString(TimeSpan value)
408 {
409 string text;
410 return text;
411 }
412
413 // Token: 0x060006F2 RID: 1778 RVA: 0x00017C58 File Offset: 0x00015E58
415 {
416 DateTime dateTime;
417 long ticks = dateTime.Ticks;
418 string text;
419 return text;
420 }
421
422 // Token: 0x060006F3 RID: 1779 RVA: 0x00017C7C File Offset: 0x00015E7C
423 public static string ToString(DateTimeOffset value)
424 {
425 string text;
426 return text;
427 }
428
429 // Token: 0x060006F4 RID: 1780 RVA: 0x00017C8C File Offset: 0x00015E8C
430 public static bool ToBoolean(string s)
431 {
432 if (!true)
433 {
434 }
435 string text;
436 bool flag = text == "1";
437 bool flag2 = text == "true";
438 return true;
439 }
440
441 // Token: 0x060006F5 RID: 1781 RVA: 0x00017CE0 File Offset: 0x00015EE0
442 internal static Exception TryToBoolean(string s, [Out] bool result)
443 {
444 if (!true)
445 {
446 }
447 string text;
448 bool flag = text == "0";
449 bool flag2 = text == "false";
450 long num = 0L;
451 if ((num != 0L && num == 0L) || "Boolean" == null || "Boolean" != null)
452 {
453 }
454 throw new ArrayTypeMismatchException();
455 }
456
457 // Token: 0x060006F6 RID: 1782 RVA: 0x00017D28 File Offset: 0x00015F28
458 public static char ToChar(string s)
459 {
460 char c;
461 return c;
462 }
463
464 // Token: 0x060006F7 RID: 1783 RVA: 0x00017D38 File Offset: 0x00015F38
465 internal static Exception TryToChar(string s, [Out] char result)
466 {
467 if (!true)
468 {
469 }
470 if ("Char" == null || "Char" != null)
471 {
472 }
473 throw new ArrayTypeMismatchException();
474 }
475
476 // Token: 0x060006F8 RID: 1784 RVA: 0x00017D5C File Offset: 0x00015F5C
477 public static decimal ToDecimal(string s)
478 {
479 /*
480An exception occurred when decompiling this method (060006F8)
481
482ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Decimal System.Xml.XmlConvert::ToDecimal(System.String)
483
484 ---> System.Exception: Basic block has to end with unconditional control flow.
485{
486 Block_0:
487 stloc:NumberFormatInfo(var_1_07, callgetter:NumberFormatInfo(NumberFormatInfo::get_InvariantInfo))
488 stloc:Decimal(var_2_11, call:Decimal(Decimal::Parse, ldloc:string(s), ldc.i4:NumberStyles(39), ldloc:NumberFormatInfo[exp:IFormatProvider](var_1_07)))
489}
490
491 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
492 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
493 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
494 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
495 --- End of inner exception stack trace ---
496 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
497 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
498*/;
499 }
500
501 // Token: 0x060006F9 RID: 1785 RVA: 0x00017D7C File Offset: 0x00015F7C
502 internal static Exception TryToDecimal(string s, [Out] decimal result)
503 {
505 if ("Decimal" == null || "Decimal" != null)
506 {
507 }
508 throw new ArrayTypeMismatchException();
509 }
510
511 // Token: 0x060006FA RID: 1786 RVA: 0x00017DA4 File Offset: 0x00015FA4
512 internal static decimal ToInteger(string s)
513 {
514 /*
515An exception occurred when decompiling this method (060006FA)
516
517ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Decimal System.Xml.XmlConvert::ToInteger(System.String)
518
519 ---> System.Exception: Basic block has to end with unconditional control flow.
520{
521 Block_0:
522 stloc:NumberFormatInfo(var_1_07, callgetter:NumberFormatInfo(NumberFormatInfo::get_InvariantInfo))
523 stloc:Decimal(var_2_10, call:Decimal(Decimal::Parse, ldloc:string(s), ldc.i4:NumberStyles(7), ldloc:NumberFormatInfo[exp:IFormatProvider](var_1_07)))
524}
525
526 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
527 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
528 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
529 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
530 --- End of inner exception stack trace ---
531 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
532 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
533*/;
534 }
535
536 // Token: 0x060006FB RID: 1787 RVA: 0x00017DC4 File Offset: 0x00015FC4
537 internal static Exception TryToInteger(string s, [Out] decimal result)
538 {
540 if ("Integer" == null || "Integer" != null)
541 {
542 }
543 throw new ArrayTypeMismatchException();
544 }
545
546 // Token: 0x060006FC RID: 1788 RVA: 0x00017DEC File Offset: 0x00015FEC
547 internal static Exception TryToSByte(string s, [Out] sbyte result)
548 {
550 if ("SByte" == null || "SByte" != null)
551 {
552 }
553 throw new ArrayTypeMismatchException();
554 }
555
556 // Token: 0x060006FD RID: 1789 RVA: 0x00017E14 File Offset: 0x00016014
557 internal static Exception TryToInt16(string s, [Out] short result)
558 {
560 if ("Int16" == null || "Int16" != null)
561 {
562 }
563 throw new ArrayTypeMismatchException();
564 }
565
566 // Token: 0x060006FE RID: 1790 RVA: 0x00017E3C File Offset: 0x0001603C
567 public static int ToInt32(string s)
568 {
570 int num;
571 return num;
572 }
573
574 // Token: 0x060006FF RID: 1791 RVA: 0x00017E54 File Offset: 0x00016054
575 internal static Exception TryToInt32(string s, [Out] int result)
576 {
578 if ("Int32" == null || "Int32" != null)
579 {
580 return "The string '{0}' is not a valid {1} value.";
581 }
582 throw new ArrayTypeMismatchException();
583 }
584
585 // Token: 0x06000700 RID: 1792 RVA: 0x00017E84 File Offset: 0x00016084
586 public static long ToInt64(string s)
587 {
589 long num;
590 return num;
591 }
592
593 // Token: 0x06000701 RID: 1793 RVA: 0x00017E9C File Offset: 0x0001609C
594 internal static Exception TryToInt64(string s, [Out] long result)
595 {
597 if ("Int64" == null || "Int64" != null)
598 {
599 }
600 throw new ArrayTypeMismatchException();
601 }
602
603 // Token: 0x06000702 RID: 1794 RVA: 0x00017EC4 File Offset: 0x000160C4
604 internal static Exception TryToByte(string s, [Out] byte result)
605 {
607 if ("Byte" == null || "Byte" != null)
608 {
609 }
610 throw new ArrayTypeMismatchException();
611 }
612
613 // Token: 0x06000703 RID: 1795 RVA: 0x00017EEC File Offset: 0x000160EC
614 internal static Exception TryToUInt16(string s, [Out] ushort result)
615 {
617 if ("UInt16" == null || "UInt16" != null)
618 {
619 }
620 throw new ArrayTypeMismatchException();
621 }
622
623 // Token: 0x06000704 RID: 1796 RVA: 0x00017F14 File Offset: 0x00016114
624 internal static Exception TryToUInt32(string s, [Out] uint result)
625 {
627 if ("UInt32" == null || "UInt32" != null)
628 {
629 }
630 throw new ArrayTypeMismatchException();
631 }
632
633 // Token: 0x06000705 RID: 1797 RVA: 0x00017F3C File Offset: 0x0001613C
634 internal static Exception TryToUInt64(string s, [Out] ulong result)
635 {
637 if ("UInt64" == null || "UInt64" != null)
638 {
639 }
640 throw new ArrayTypeMismatchException();
641 }
642
643 // Token: 0x06000706 RID: 1798 RVA: 0x00017F64 File Offset: 0x00016164
644 public static float ToSingle(string s)
645 {
646 /*
647An exception occurred when decompiling this method (06000706)
648
649ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single System.Xml.XmlConvert::ToSingle(System.String)
650
651 ---> System.Exception: Basic block has to end with unconditional control flow.
652{
653 IL_0003:
654 stloc:bool(var_1_0E, call:bool(string::op_Equality, ldloc:string(var_0), ldstr:string("-INF")))
655 stloc:bool(var_2_1A, call:bool(string::op_Equality, ldloc:string(var_0), ldstr:string("INF")))
656 stloc:NumberFormatInfo(var_4_22, callgetter:NumberFormatInfo(NumberFormatInfo::get_InvariantInfo))
657 stloc:float32(var_5_31, call:float32(float32::Parse, ldloc:string(var_0), ldc.i4:NumberStyles(164), ldloc:NumberFormatInfo[exp:IFormatProvider](var_4_22)))
658 stloc:int64(var_6_34, ldc.i4:int64(0))
659 stloc:char(var_7_3E, callgetter:char(string::get_Chars, ldloc:string(var_0), ldloc:int64[exp:int32](var_6_34)))
660}
661
662 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
663 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
664 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
665 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
666 --- End of inner exception stack trace ---
667 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
668 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
669*/;
670 }
671
672 // Token: 0x06000707 RID: 1799 RVA: 0x00017FB0 File Offset: 0x000161B0
673 internal static Exception TryToSingle(string s, [Out] float result)
674 {
675 if (!true)
676 {
677 }
678 string text;
679 bool flag = text == "-INF";
681 long num = 0L;
682 if ((num != 0L && num == 0L) || "Single" == null || "Single" != null)
683 {
684 }
685 throw new ArrayTypeMismatchException();
686 }
687
688 // Token: 0x06000708 RID: 1800 RVA: 0x00017FFC File Offset: 0x000161FC
689 public static double ToDouble(string s)
690 {
691 /*
692An exception occurred when decompiling this method (06000708)
693
694ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.Xml.XmlConvert::ToDouble(System.String)
695
696 ---> System.Exception: Basic block has to end with unconditional control flow.
697{
698 IL_0003:
699 stloc:bool(var_1_0E, call:bool(string::op_Equality, ldloc:string(var_0), ldstr:string("-INF")))
700 stloc:bool(var_2_1A, call:bool(string::op_Equality, ldloc:string(var_0), ldstr:string("INF")))
701 stloc:NumberFormatInfo(var_4_22, callgetter:NumberFormatInfo(NumberFormatInfo::get_InvariantInfo))
702 stloc:float64(var_5_31, call:float64(float64::Parse, ldloc:string(var_0), ldc.i4:NumberStyles(167), ldloc:NumberFormatInfo[exp:IFormatProvider](var_4_22)))
703 stloc:int64(var_6_34, ldc.i4:int64(0))
704 stloc:char(var_7_3E, callgetter:char(string::get_Chars, ldloc:string(var_0), ldloc:int64[exp:int32](var_6_34)))
705}
706
707 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
708 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
709 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
710 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
711 --- End of inner exception stack trace ---
712 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
713 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
714*/;
715 }
716
717 // Token: 0x06000709 RID: 1801 RVA: 0x00018048 File Offset: 0x00016248
718 internal static Exception TryToDouble(string s, [Out] double result)
719 {
720 if (!true)
721 {
722 }
723 string text;
724 bool flag = text == "-INF";
726 long num = 0L;
727 if ((num != 0L && num == 0L) || "Double" == null || "Double" != null)
728 {
729 }
730 throw new ArrayTypeMismatchException();
731 }
732
733 // Token: 0x0600070A RID: 1802 RVA: 0x00018094 File Offset: 0x00016294
734 internal static Exception TryToTimeSpan(string s, [Out] TimeSpan result)
735 {
736 Exception ex;
737 if (ex == null || !true)
738 {
739 }
741 return ex2;
742 }
743
744 // Token: 0x0600070B RID: 1803 RVA: 0x00003FFD File Offset: 0x000021FD
745 public static Guid ToGuid(string s)
746 {
747 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
748 }
749
750 // Token: 0x0600070C RID: 1804 RVA: 0x000180A8 File Offset: 0x000162A8
751 internal static Exception TryToGuid(string s, [Out] Guid result)
752 {
753 long num = 0L;
754 if ((num != 0L && num == 0L) || "Guid" == null || "Guid" != null)
755 {
756 }
757 throw new ArrayTypeMismatchException();
758 }
759
760 // Token: 0x0600070D RID: 1805 RVA: 0x000180D4 File Offset: 0x000162D4
762 {
763 DateTime dateTime;
764 if (value.Kind != DateTimeKind.Unspecified)
765 {
766 return dateTime;
767 }
768 return dateTime;
769 }
770
771 // Token: 0x0600070E RID: 1806 RVA: 0x000180F0 File Offset: 0x000162F0
773 {
774 DateTime dateTime;
775 if (value.Kind != DateTimeKind.Unspecified)
776 {
777 return dateTime;
778 }
779 return dateTime;
780 }
781
782 // Token: 0x0600070F RID: 1807 RVA: 0x0001810C File Offset: 0x0001630C
783 internal static Uri ToUri(string s)
784 {
785 string text;
786 if (text._stringLength != 0)
787 {
788 int num = text.IndexOf("##", StringComparison.Ordinal);
789 }
790 throw new ArrayTypeMismatchException();
791 }
792
793 // Token: 0x06000710 RID: 1808 RVA: 0x0001813C File Offset: 0x0001633C
794 internal static Exception TryToUri(string s, [Out] Uri result)
795 {
796 string text;
797 if (text._stringLength != 0)
798 {
799 int num = text.IndexOf("##", StringComparison.Ordinal);
800 }
801 if ((text != null && text == null) || "Uri" == null || "Uri" != null)
802 {
803 }
804 throw new ArrayTypeMismatchException();
805 }
806
807 // Token: 0x06000711 RID: 1809 RVA: 0x00018178 File Offset: 0x00016378
808 internal static bool StrEqual(char[] chars, int strPos1, int strLen1, string str2)
809 {
810 }
811
812 // Token: 0x06000712 RID: 1810 RVA: 0x0001818C File Offset: 0x0001638C
813 internal static string TrimString(string value)
814 {
815 if (!true)
816 {
817 }
818 string text;
819 return text;
820 }
821
822 // Token: 0x06000713 RID: 1811 RVA: 0x000181A0 File Offset: 0x000163A0
823 internal static string TrimStringStart(string value)
824 {
825 if (!true)
826 {
827 }
828 string text;
829 return text;
830 }
831
832 // Token: 0x06000714 RID: 1812 RVA: 0x000181B4 File Offset: 0x000163B4
833 internal static string TrimStringEnd(string value)
834 {
835 if (!true)
836 {
837 }
838 string text;
839 return text;
840 }
841
842 // Token: 0x06000715 RID: 1813 RVA: 0x000181C8 File Offset: 0x000163C8
843 internal static string[] SplitString(string value)
844 {
845 if (!true)
846 {
847 }
848 string[] array;
849 return array;
850 }
851
852 // Token: 0x06000716 RID: 1814 RVA: 0x000181DC File Offset: 0x000163DC
853 internal static bool IsNegativeZero(double value)
854 {
855 return true;
856 }
857
858 // Token: 0x06000717 RID: 1815 RVA: 0x00003FFD File Offset: 0x000021FD
859 private static long DoubleToInt64Bits(double value)
860 {
861 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
862 }
863
864 // Token: 0x06000718 RID: 1816 RVA: 0x000181EC File Offset: 0x000163EC
865 internal static Exception CreateException(string res, string arg, ExceptionType exceptionType, int lineNo, int linePos)
866 {
867 if (arg != null)
868 {
869 }
870 if (res == null || res != null)
871 {
872 }
873 throw new ArrayTypeMismatchException();
874 }
875
876 // Token: 0x06000719 RID: 1817 RVA: 0x00018208 File Offset: 0x00016408
877 internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType)
878 {
879 if (!true)
880 {
881 }
882 Exception ex;
883 return ex;
884 }
885
886 // Token: 0x0600071A RID: 1818 RVA: 0x0001821C File Offset: 0x0001641C
887 internal static Exception CreateException(string res, string[] args, ExceptionType exceptionType, int lineNo, int linePos)
888 {
889 /*
890An exception occurred when decompiling this method (0600071A)
891
892ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Exception System.Xml.XmlConvert::CreateException(System.String,System.String[],System.Xml.ExceptionType,System.Int32,System.Int32)
893
894 ---> System.Exception: Basic block has to end with unconditional control flow.
895{
896 IL_0003:
897 brtrue(IL_0000, logicnot:bool(ldloc:string[exp:bool](res)))
898}
899
900 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
901 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
902 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
903 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
904 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
905 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
906 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
907 --- End of inner exception stack trace ---
908 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
909 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
910*/;
911 }
912
913 // Token: 0x0600071B RID: 1819 RVA: 0x00018230 File Offset: 0x00016430
914 internal static Exception CreateInvalidSurrogatePairException(char low, char hi)
915 {
916 if (!true)
917 {
918 }
919 Exception ex;
920 return ex;
921 }
922
923 // Token: 0x0600071C RID: 1820 RVA: 0x00018244 File Offset: 0x00016444
925 {
926 if (!true)
927 {
928 }
929 Exception ex;
930 return ex;
931 }
932
933 // Token: 0x0600071D RID: 1821 RVA: 0x00018258 File Offset: 0x00016458
934 internal static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType, int lineNo, int linePos)
935 {
937 string text;
938 if (text == null || text != null)
939 {
941 string text2;
942 if (text2 == null || text2 != null)
943 {
944 Exception ex;
945 return ex;
946 }
947 }
948 throw new ArrayTypeMismatchException();
949 }
950
951 // Token: 0x0600071E RID: 1822 RVA: 0x0001828C File Offset: 0x0001648C
953 {
954 if (!true)
955 {
956 }
957 Exception ex;
958 return ex;
959 }
960
961 // Token: 0x0600071F RID: 1823 RVA: 0x000182A0 File Offset: 0x000164A0
963 {
964 if (!true)
965 {
966 }
967 Exception ex;
968 return ex;
969 }
970
971 // Token: 0x06000720 RID: 1824 RVA: 0x000182B4 File Offset: 0x000164B4
972 internal static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType, int lineNo, int linePos)
973 {
974 if (!true)
975 {
976 }
978 Exception ex;
979 return ex;
980 }
981
982 // Token: 0x06000721 RID: 1825 RVA: 0x000182D0 File Offset: 0x000164D0
984 {
985 if (!true)
986 {
987 }
988 Exception ex;
989 return ex;
990 }
991
992 // Token: 0x06000722 RID: 1826 RVA: 0x000182E4 File Offset: 0x000164E4
994 {
995 Exception ex;
996 return ex;
997 }
998
999 // Token: 0x06000723 RID: 1827 RVA: 0x000182F4 File Offset: 0x000164F4
1001 {
1002 Exception ex;
1003 return ex;
1004 }
1005
1006 // Token: 0x06000724 RID: 1828 RVA: 0x00003FFD File Offset: 0x000021FD
1008 {
1009 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1010 }
1011
1012 // Token: 0x06000725 RID: 1829 RVA: 0x00018304 File Offset: 0x00016504
1013 // Note: this type is marked as 'beforefieldinit'.
1014 static XmlConvert()
1015 {
1016 XmlCharType instance = XmlCharType.Instance;
1017 }
1018
1019 // Token: 0x040003A1 RID: 929
1020 private static XmlCharType xmlCharType;
1021
1022 // Token: 0x040003A2 RID: 930
1023 internal static char[] crt;
1024
1025 // Token: 0x040003A3 RID: 931
1026 private static readonly int c_EncodedCharLength;
1027
1028 // Token: 0x040003A4 RID: 932
1030
1031 // Token: 0x040003A5 RID: 933
1033
1034 // Token: 0x040003A6 RID: 934
1035 internal static readonly char[] WhitespaceChars;
1036 }
1037}
class f__AnonymousType0<< Count > j__TPar
static CultureInfo InvariantCulture
override int Decode(char[] chars, int startPos, int len)
static Regex c_EncodeCharPattern
static Exception TryVerifyNormalizedString(string str)
static bool ToBoolean(string s)
static string TrimStringEnd(string value)
static Exception TryVerifyTOKEN(string token)
static string TrimStringStart(string value)
static string VerifyNCName(string name, ExceptionType exceptionType)
static Exception CreateInvalidNameCharException(string name, int index, ExceptionType exceptionType)
static bool IsNegativeZero(double value)
static string ToString(sbyte value)
static string ToString(int value)
static string[] SplitString(string value)
static DateTime SwitchToUtcTime(DateTime value)
static string ToString(uint value)
static Exception CreateException(string res, string[] args, ExceptionType exceptionType)
static Exception TryToDecimal(string s, [Out] decimal result)
static Exception TryVerifyNMTOKEN(string name)
static string ToBinHexString(byte[] inArray)
static string ToString(long value)
static DateTime SwitchToLocalTime(DateTime value)
static string ToString(float value)
static int ToInt32(string s)
static string ToString(ushort value)
static string ToString(bool value)
static Exception TryToDouble(string s, [Out] double result)
static string TrimString(string value)
static byte[] FromBinHexString(string s, bool allowOddCount)
static Exception TryToBoolean(string s, [Out] bool result)
static string ToString(double value)
static float ToSingle(string s)
static Exception TryToByte(string s, [Out] byte result)
static ArgumentException CreateInvalidNameArgumentException(string name, string argumentName)
static string EncodeName(string name)
Definition XmlConvert.cs:14
static long DoubleToInt64Bits(double value)
static XmlCharType xmlCharType
static string ToString(DateTime value, XmlDateTimeSerializationMode dateTimeOption)
static string EncodeName(string name, bool first, bool local)
Definition XmlConvert.cs:55
static Exception TryToInteger(string s, [Out] decimal result)
static string VerifyName(string name)
static char ToChar(string s)
static readonly char[] WhitespaceChars
static Exception CreateInvalidCharException(char invChar, char nextChar)
static int FromHex(char digit)
static Exception TryToSByte(string s, [Out] sbyte result)
static string ToString(ulong value)
static string VerifyNCName(string name)
static double ToDouble(string s)
static string ToString(decimal value)
static string ToString(TimeSpan value)
static Exception CreateException(string res, string[] args, ExceptionType exceptionType, int lineNo, int linePos)
static Exception TryToUInt64(string s, [Out] ulong result)
static Exception TryToUInt32(string s, [Out] uint result)
static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType, int lineNo, int linePos)
static string ToString(DateTimeOffset value)
static Exception TryToInt64(string s, [Out] long result)
static string ToString(byte value)
static Guid ToGuid(string s)
static readonly int c_EncodedCharLength
static Uri ToUri(string s)
static Exception TryToInt32(string s, [Out] int result)
static Exception CreateInvalidSurrogatePairException(char low, char hi)
static Exception TryToChar(string s, [Out] char result)
static bool StrEqual(char[] chars, int strPos1, int strLen1, string str2)
static Exception CreateInvalidSurrogatePairException(char low, char hi, ExceptionType exceptionType)
static string ToString(short value)
static decimal ToDecimal(string s)
static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType)
static Exception TryToTimeSpan(string s, [Out] TimeSpan result)
static Exception TryToSingle(string s, [Out] float result)
static Exception TryToInt16(string s, [Out] short result)
static string DecodeName(string name)
Definition XmlConvert.cs:24
static Exception TryToUInt16(string s, [Out] ushort result)
static Exception CreateException(string res, string arg, ExceptionType exceptionType, int lineNo, int linePos)
static Exception CreateInvalidHighSurrogateCharException(char hi, ExceptionType exceptionType, int lineNo, int linePos)
static Regex c_DecodeCharPattern
static Exception TryVerifyName(string name)
static Exception CreateInvalidHighSurrogateCharException(char hi)
static decimal ToInteger(string s)
static Exception TryToUri(string s, [Out] Uri result)
static Exception CreateInvalidCharException(char invChar, char nextChar, ExceptionType exceptionType)
static string VerifyQName(string name, ExceptionType exceptionType)
static Exception TryVerifyNCName(string name)
static long ToInt64(string s)
static Exception TryToGuid(string s, [Out] Guid result)
static XmlCharType Instance