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
Convert.cs
Go to the documentation of this file.
1using System;
6
7namespace System
8{
9 // Token: 0x02000097 RID: 151
10 public static class Convert
11 {
12 // Token: 0x060004AE RID: 1198 RVA: 0x0000D420 File Offset: 0x0000B620
13 private static bool TryDecodeFromUtf16(ReadOnlySpan<char> utf16, Span<byte> bytes, [Out] int consumed, [Out] int written)
14 {
15 /*
16An exception occurred when decompiling this method (060004AE)
17
18ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Convert::TryDecodeFromUtf16(System.ReadOnlySpan`1<System.Char>,System.Span`1<System.Byte>,System.Int32,System.Int32)
19
20 ---> System.Exception: Basic block has to end with unconditional control flow.
21{
22 IL_0020:
23 stloc:int32(var_8_2A, ldc.i4:int32(3))
24 stfld:uint8(uint8::m_value, ldloc:uint8[exp:uint8&](var_1_08), ldloc:int32[exp:uint8](var_8_2A))
25}
26
27 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
28 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
29 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
30 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
31 --- End of inner exception stack trace ---
32 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
33 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
34*/;
35 }
36
37 // Token: 0x060004AF RID: 1199 RVA: 0x0000207A File Offset: 0x0000027A
38 private static int Decode(char encodedChars, sbyte decodingMap)
39 {
40 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
41 }
42
43 // Token: 0x060004B0 RID: 1200 RVA: 0x0000D460 File Offset: 0x0000B660
44 private static void WriteThreeLowOrderBytes(byte destination, int value)
45 {
46 }
47
48 // Token: 0x060004B1 RID: 1201 RVA: 0x0000D470 File Offset: 0x0000B670
49 public static TypeCode GetTypeCode(object value)
50 {
51 /*
52An exception occurred when decompiling this method (060004B1)
53
54ICSharpCode.Decompiler.DecompilerException: Error decompiling System.TypeCode System.Convert::GetTypeCode(System.Object)
55
56 ---> System.Exception: Basic block has to end with unconditional control flow.
57{
58 Block_0:
59 stloc:int32(var_1_08, ldfld:int32(int32::m_value, ldc.i4:int32[exp:int32&](1)))
60}
61
62 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
63 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
64 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
65 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
66 --- End of inner exception stack trace ---
67 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
68 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
69*/;
70 }
71
72 // Token: 0x060004B2 RID: 1202 RVA: 0x0000D488 File Offset: 0x0000B688
73 public static object ChangeType(object value, TypeCode typeCode, IFormatProvider provider)
74 {
75 int num = 3;
76 if (num != 0)
77 {
78 }
79 if (num != 0)
80 {
81 }
82 if (num != 0)
83 {
84 }
85 if (num != 0)
86 {
87 }
88 if (num != 0)
89 {
90 }
91 if (num != 0)
92 {
93 }
94 if (num != 0)
95 {
96 }
97 if (num != 0)
98 {
99 }
100 if (num != 0)
101 {
102 }
103 if (num != 0)
104 {
105 }
106 if (num != 0)
107 {
108 }
109 if (num != 0)
110 {
111 }
112 if (num != 0)
113 {
114 }
115 return "Object cannot be cast to Empty.";
116 }
117
118 // Token: 0x060004B3 RID: 1203 RVA: 0x0000D4CC File Offset: 0x0000B6CC
120 {
121 int num = 1;
122 if (num == 0)
123 {
124 }
125 bool flag;
126 Type type = flag.GetType();
127 if (num == 0)
128 {
129 }
130 throw new InvalidCastException();
131 }
132
133 // Token: 0x060004B4 RID: 1204 RVA: 0x0000D4F0 File Offset: 0x0000B6F0
134 public static object ChangeType(object value, Type conversionType)
135 {
136 if (!true)
137 {
138 }
140 object obj;
141 return obj;
142 }
143
144 // Token: 0x060004B5 RID: 1205 RVA: 0x0000D50C File Offset: 0x0000B70C
145 public static object ChangeType(object value, Type conversionType, IFormatProvider provider)
146 {
147 int num;
148 do
149 {
150 num = 1;
151 }
152 while (value == null);
153 if (num == 0)
154 {
155 }
156 return "Null object cannot be converted to a value type.";
157 }
158
159 // Token: 0x060004B6 RID: 1206 RVA: 0x0000207A File Offset: 0x0000027A
160 private static void ThrowCharOverflowException()
161 {
162 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
163 }
164
165 // Token: 0x060004B7 RID: 1207 RVA: 0x0000207A File Offset: 0x0000027A
166 private static void ThrowByteOverflowException()
167 {
168 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
169 }
170
171 // Token: 0x060004B8 RID: 1208 RVA: 0x0000207A File Offset: 0x0000027A
172 private static void ThrowSByteOverflowException()
173 {
174 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
175 }
176
177 // Token: 0x060004B9 RID: 1209 RVA: 0x0000207A File Offset: 0x0000027A
178 private static void ThrowInt16OverflowException()
179 {
180 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
181 }
182
183 // Token: 0x060004BA RID: 1210 RVA: 0x0000207A File Offset: 0x0000027A
184 private static void ThrowUInt16OverflowException()
185 {
186 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
187 }
188
189 // Token: 0x060004BB RID: 1211 RVA: 0x0000207A File Offset: 0x0000027A
190 private static void ThrowInt32OverflowException()
191 {
192 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
193 }
194
195 // Token: 0x060004BC RID: 1212 RVA: 0x0000207A File Offset: 0x0000027A
196 private static void ThrowUInt32OverflowException()
197 {
198 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
199 }
200
201 // Token: 0x060004BD RID: 1213 RVA: 0x0000207A File Offset: 0x0000027A
202 private static void ThrowInt64OverflowException()
203 {
204 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
205 }
206
207 // Token: 0x060004BE RID: 1214 RVA: 0x0000207A File Offset: 0x0000027A
208 private static void ThrowUInt64OverflowException()
209 {
210 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
211 }
212
213 // Token: 0x060004BF RID: 1215 RVA: 0x0000D528 File Offset: 0x0000B728
214 public static bool ToBoolean(object value, IFormatProvider provider)
215 {
216 if (!false)
217 {
218 throw new InvalidCastException();
219 }
220 if (false)
221 {
222 return false;
223 }
224 throw new InvalidCastException();
225 }
226
227 // Token: 0x060004C0 RID: 1216 RVA: 0x0000207A File Offset: 0x0000027A
228 [CLSCompliant(false)]
229 public static bool ToBoolean(sbyte value)
230 {
231 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
232 }
233
234 // Token: 0x060004C1 RID: 1217 RVA: 0x0000207A File Offset: 0x0000027A
235 public static bool ToBoolean(byte value)
236 {
237 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
238 }
239
240 // Token: 0x060004C2 RID: 1218 RVA: 0x0000207A File Offset: 0x0000027A
241 public static bool ToBoolean(short value)
242 {
243 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
244 }
245
246 // Token: 0x060004C3 RID: 1219 RVA: 0x0000207A File Offset: 0x0000027A
247 [CLSCompliant(false)]
248 public static bool ToBoolean(ushort value)
249 {
250 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
251 }
252
253 // Token: 0x060004C4 RID: 1220 RVA: 0x0000207A File Offset: 0x0000027A
254 public static bool ToBoolean(int value)
255 {
256 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
257 }
258
259 // Token: 0x060004C5 RID: 1221 RVA: 0x0000207A File Offset: 0x0000027A
260 [CLSCompliant(false)]
261 public static bool ToBoolean(uint value)
262 {
263 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
264 }
265
266 // Token: 0x060004C6 RID: 1222 RVA: 0x0000207A File Offset: 0x0000027A
267 public static bool ToBoolean(long value)
268 {
269 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
270 }
271
272 // Token: 0x060004C7 RID: 1223 RVA: 0x0000207A File Offset: 0x0000027A
273 [CLSCompliant(false)]
274 public static bool ToBoolean(ulong value)
275 {
276 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
277 }
278
279 // Token: 0x060004C8 RID: 1224 RVA: 0x0000D554 File Offset: 0x0000B754
280 public static bool ToBoolean(string value, IFormatProvider provider)
281 {
282 bool flag;
283 return flag;
284 }
285
286 // Token: 0x060004C9 RID: 1225 RVA: 0x0000207A File Offset: 0x0000027A
287 public static bool ToBoolean(float value)
288 {
289 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
290 }
291
292 // Token: 0x060004CA RID: 1226 RVA: 0x0000207A File Offset: 0x0000027A
293 public static bool ToBoolean(double value)
294 {
295 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
296 }
297
298 // Token: 0x060004CB RID: 1227 RVA: 0x0000D564 File Offset: 0x0000B764
299 public static bool ToBoolean(decimal value)
300 {
301 if (!true)
302 {
303 }
304 bool flag;
305 return flag;
306 }
307
308 // Token: 0x060004CC RID: 1228 RVA: 0x0000D578 File Offset: 0x0000B778
309 public static char ToChar(object value, IFormatProvider provider)
310 {
311 long value2 = 0.m_value;
312 throw new InvalidCastException();
313 }
314
315 // Token: 0x060004CD RID: 1229 RVA: 0x0000D598 File Offset: 0x0000B798
316 [CLSCompliant(false)]
317 public static char ToChar(sbyte value)
318 {
319 /*
320An exception occurred when decompiling this method (060004CD)
321
322ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.SByte)
323
324 ---> System.Exception: Basic block has to end with unconditional control flow.
325{
326 Block_0:
327 call:void(Convert::ThrowCharOverflowException)
328}
329
330 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
331 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
332 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
333 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
334 --- End of inner exception stack trace ---
335 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
336 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
337*/;
338 }
339
340 // Token: 0x060004CE RID: 1230 RVA: 0x0000207A File Offset: 0x0000027A
341 public static char ToChar(byte value)
342 {
343 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
344 }
345
346 // Token: 0x060004CF RID: 1231 RVA: 0x0000D5AC File Offset: 0x0000B7AC
347 public static char ToChar(short value)
348 {
349 /*
350An exception occurred when decompiling this method (060004CF)
351
352ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.Int16)
353
354 ---> System.Exception: Basic block has to end with unconditional control flow.
355{
356 Block_0:
357 call:void(Convert::ThrowCharOverflowException)
358}
359
360 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
361 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
362 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
363 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
364 --- End of inner exception stack trace ---
365 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
366 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
367*/;
368 }
369
370 // Token: 0x060004D0 RID: 1232 RVA: 0x0000207A File Offset: 0x0000027A
371 [CLSCompliant(false)]
372 public static char ToChar(ushort value)
373 {
374 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
375 }
376
377 // Token: 0x060004D1 RID: 1233 RVA: 0x0000D5C0 File Offset: 0x0000B7C0
378 public static char ToChar(int value)
379 {
380 /*
381An exception occurred when decompiling this method (060004D1)
382
383ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.Int32)
384
385 ---> System.Exception: Basic block has to end with unconditional control flow.
386{
387 Block_0:
388 call:void(Convert::ThrowCharOverflowException)
389}
390
391 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
392 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
393 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
394 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
395 --- End of inner exception stack trace ---
396 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
397 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
398*/;
399 }
400
401 // Token: 0x060004D2 RID: 1234 RVA: 0x0000D5D4 File Offset: 0x0000B7D4
402 [CLSCompliant(false)]
403 public static char ToChar(uint value)
404 {
405 /*
406An exception occurred when decompiling this method (060004D2)
407
408ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.UInt32)
409
410 ---> System.Exception: Basic block has to end with unconditional control flow.
411{
412 Block_0:
413 call:void(Convert::ThrowCharOverflowException)
414}
415
416 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
417 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
418 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
419 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
420 --- End of inner exception stack trace ---
421 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
422 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
423*/;
424 }
425
426 // Token: 0x060004D3 RID: 1235 RVA: 0x0000D5E8 File Offset: 0x0000B7E8
427 public static char ToChar(long value)
428 {
429 /*
430An exception occurred when decompiling this method (060004D3)
431
432ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.Int64)
433
434 ---> System.Exception: Basic block has to end with unconditional control flow.
435{
436 Block_0:
437 call:void(Convert::ThrowCharOverflowException)
438}
439
440 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
441 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
442 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
443 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
444 --- End of inner exception stack trace ---
445 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
446 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
447*/;
448 }
449
450 // Token: 0x060004D4 RID: 1236 RVA: 0x0000D5FC File Offset: 0x0000B7FC
451 [CLSCompliant(false)]
452 public static char ToChar(ulong value)
453 {
454 /*
455An exception occurred when decompiling this method (060004D4)
456
457ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char System.Convert::ToChar(System.UInt64)
458
459 ---> System.Exception: Basic block has to end with unconditional control flow.
460{
461 Block_0:
462 call:void(Convert::ThrowCharOverflowException)
463}
464
465 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
466 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
467 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
468 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
469 --- End of inner exception stack trace ---
470 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
471 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
472*/;
473 }
474
475 // Token: 0x060004D5 RID: 1237 RVA: 0x0000D610 File Offset: 0x0000B810
476 public static char ToChar(string value, IFormatProvider provider)
477 {
478 char c;
479 return c;
480 }
481
482 // Token: 0x060004D6 RID: 1238 RVA: 0x0000D620 File Offset: 0x0000B820
483 [CLSCompliant(false)]
484 public static sbyte ToSByte(object value, IFormatProvider provider)
485 {
486 long value2 = 0.m_value;
487 throw new InvalidCastException();
488 }
489
490 // Token: 0x060004D7 RID: 1239 RVA: 0x0000207A File Offset: 0x0000027A
491 [CLSCompliant(false)]
492 public static sbyte ToSByte(bool value)
493 {
494 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
495 }
496
497 // Token: 0x060004D8 RID: 1240 RVA: 0x0000D640 File Offset: 0x0000B840
498 [CLSCompliant(false)]
499 public static sbyte ToSByte(char value)
500 {
501 /*
502An exception occurred when decompiling this method (060004D8)
503
504ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.Char)
505
506 ---> System.Exception: Basic block has to end with unconditional control flow.
507{
508 Block_0:
509 call:void(Convert::ThrowSByteOverflowException)
510}
511
512 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
513 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
514 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
515 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
516 --- End of inner exception stack trace ---
517 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
518 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
519*/;
520 }
521
522 // Token: 0x060004D9 RID: 1241 RVA: 0x0000D654 File Offset: 0x0000B854
523 [CLSCompliant(false)]
524 public static sbyte ToSByte(byte value)
525 {
526 /*
527An exception occurred when decompiling this method (060004D9)
528
529ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.Byte)
530
531 ---> System.Exception: Basic block has to end with unconditional control flow.
532{
533 Block_0:
534 call:void(Convert::ThrowSByteOverflowException)
535}
536
537 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
538 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
539 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
540 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
541 --- End of inner exception stack trace ---
542 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
543 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
544*/;
545 }
546
547 // Token: 0x060004DA RID: 1242 RVA: 0x0000D668 File Offset: 0x0000B868
548 [CLSCompliant(false)]
549 public static sbyte ToSByte(short value)
550 {
551 /*
552An exception occurred when decompiling this method (060004DA)
553
554ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.Int16)
555
556 ---> System.Exception: Basic block has to end with unconditional control flow.
557{
558 Block_0:
559 call:void(Convert::ThrowSByteOverflowException)
560}
561
562 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
563 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
564 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
565 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
566 --- End of inner exception stack trace ---
567 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
568 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
569*/;
570 }
571
572 // Token: 0x060004DB RID: 1243 RVA: 0x0000D67C File Offset: 0x0000B87C
573 [CLSCompliant(false)]
574 public static sbyte ToSByte(ushort value)
575 {
576 /*
577An exception occurred when decompiling this method (060004DB)
578
579ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.UInt16)
580
581 ---> System.Exception: Basic block has to end with unconditional control flow.
582{
583 Block_0:
584 call:void(Convert::ThrowSByteOverflowException)
585}
586
587 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
588 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
589 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
590 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
591 --- End of inner exception stack trace ---
592 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
593 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
594*/;
595 }
596
597 // Token: 0x060004DC RID: 1244 RVA: 0x0000D690 File Offset: 0x0000B890
598 [CLSCompliant(false)]
599 public static sbyte ToSByte(int value)
600 {
601 /*
602An exception occurred when decompiling this method (060004DC)
603
604ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.Int32)
605
606 ---> System.Exception: Basic block has to end with unconditional control flow.
607{
608 Block_0:
609 call:void(Convert::ThrowSByteOverflowException)
610}
611
612 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
613 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
614 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
615 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
616 --- End of inner exception stack trace ---
617 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
618 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
619*/;
620 }
621
622 // Token: 0x060004DD RID: 1245 RVA: 0x0000D6A4 File Offset: 0x0000B8A4
623 [CLSCompliant(false)]
624 public static sbyte ToSByte(uint value)
625 {
626 /*
627An exception occurred when decompiling this method (060004DD)
628
629ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.UInt32)
630
631 ---> System.Exception: Basic block has to end with unconditional control flow.
632{
633 Block_0:
634 call:void(Convert::ThrowSByteOverflowException)
635}
636
637 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
638 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
639 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
640 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
641 --- End of inner exception stack trace ---
642 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
643 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
644*/;
645 }
646
647 // Token: 0x060004DE RID: 1246 RVA: 0x0000D6B8 File Offset: 0x0000B8B8
648 [CLSCompliant(false)]
649 public static sbyte ToSByte(long value)
650 {
651 /*
652An exception occurred when decompiling this method (060004DE)
653
654ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.Int64)
655
656 ---> System.Exception: Basic block has to end with unconditional control flow.
657{
658 Block_0:
659 call:void(Convert::ThrowSByteOverflowException)
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: 0x060004DF RID: 1247 RVA: 0x0000D6CC File Offset: 0x0000B8CC
673 [CLSCompliant(false)]
674 public static sbyte ToSByte(ulong value)
675 {
676 /*
677An exception occurred when decompiling this method (060004DF)
678
679ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.UInt64)
680
681 ---> System.Exception: Basic block has to end with unconditional control flow.
682{
683 Block_0:
684 call:void(Convert::ThrowSByteOverflowException)
685}
686
687 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
688 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
689 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
690 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
691 --- End of inner exception stack trace ---
692 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
693 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
694*/;
695 }
696
697 // Token: 0x060004E0 RID: 1248 RVA: 0x0000D6E0 File Offset: 0x0000B8E0
698 [CLSCompliant(false)]
699 public static sbyte ToSByte(float value)
700 {
701 if (!true)
702 {
703 }
704 return Convert.ToSByte((double)value);
705 }
706
707 // Token: 0x060004E1 RID: 1249 RVA: 0x0000D6F8 File Offset: 0x0000B8F8
708 [CLSCompliant(false)]
709 public static sbyte ToSByte(double value)
710 {
711 if (!true)
712 {
713 }
715 }
716
717 // Token: 0x060004E2 RID: 1250 RVA: 0x0000D714 File Offset: 0x0000B914
718 [CLSCompliant(false)]
719 public static sbyte ToSByte(decimal value)
720 {
721 if (!true)
722 {
723 }
724 decimal num;
725 return decimal.ToSByte(num);
726 }
727
728 // Token: 0x060004E3 RID: 1251 RVA: 0x0000D72C File Offset: 0x0000B92C
729 [CLSCompliant(false)]
730 public static sbyte ToSByte(string value, IFormatProvider provider)
731 {
732 sbyte b;
733 return b;
734 }
735
736 // Token: 0x060004E4 RID: 1252 RVA: 0x0000D73C File Offset: 0x0000B93C
737 public static byte ToByte(object value, IFormatProvider provider)
738 {
739 long value2 = 0.m_value;
740 throw new InvalidCastException();
741 }
742
743 // Token: 0x060004E5 RID: 1253 RVA: 0x0000207A File Offset: 0x0000027A
744 public static byte ToByte(bool value)
745 {
746 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
747 }
748
749 // Token: 0x060004E6 RID: 1254 RVA: 0x0000D75C File Offset: 0x0000B95C
750 public static byte ToByte(char value)
751 {
752 /*
753An exception occurred when decompiling this method (060004E6)
754
755ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.Char)
756
757 ---> System.Exception: Basic block has to end with unconditional control flow.
758{
759 Block_0:
760 call:void(Convert::ThrowByteOverflowException)
761}
762
763 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
764 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
765 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
766 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
767 --- End of inner exception stack trace ---
768 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
769 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
770*/;
771 }
772
773 // Token: 0x060004E7 RID: 1255 RVA: 0x0000D770 File Offset: 0x0000B970
774 [CLSCompliant(false)]
775 public static byte ToByte(sbyte value)
776 {
777 /*
778An exception occurred when decompiling this method (060004E7)
779
780ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.SByte)
781
782 ---> System.Exception: Basic block has to end with unconditional control flow.
783{
784 Block_0:
785 call:void(Convert::ThrowByteOverflowException)
786}
787
788 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
789 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
790 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
791 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
792 --- End of inner exception stack trace ---
793 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
794 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
795*/;
796 }
797
798 // Token: 0x060004E8 RID: 1256 RVA: 0x0000D784 File Offset: 0x0000B984
799 public static byte ToByte(short value)
800 {
801 /*
802An exception occurred when decompiling this method (060004E8)
803
804ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.Int16)
805
806 ---> System.Exception: Basic block has to end with unconditional control flow.
807{
808 Block_0:
809 call:void(Convert::ThrowByteOverflowException)
810}
811
812 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
813 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
814 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
815 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
816 --- End of inner exception stack trace ---
817 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
818 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
819*/;
820 }
821
822 // Token: 0x060004E9 RID: 1257 RVA: 0x0000D798 File Offset: 0x0000B998
823 [CLSCompliant(false)]
824 public static byte ToByte(ushort value)
825 {
826 /*
827An exception occurred when decompiling this method (060004E9)
828
829ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.UInt16)
830
831 ---> System.Exception: Basic block has to end with unconditional control flow.
832{
833 Block_0:
834 call:void(Convert::ThrowByteOverflowException)
835}
836
837 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
838 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
839 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
840 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
841 --- End of inner exception stack trace ---
842 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
843 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
844*/;
845 }
846
847 // Token: 0x060004EA RID: 1258 RVA: 0x0000D7AC File Offset: 0x0000B9AC
848 public static byte ToByte(int value)
849 {
850 /*
851An exception occurred when decompiling this method (060004EA)
852
853ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.Int32)
854
855 ---> System.Exception: Basic block has to end with unconditional control flow.
856{
857 Block_0:
858 call:void(Convert::ThrowByteOverflowException)
859}
860
861 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
862 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
863 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
864 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
865 --- End of inner exception stack trace ---
866 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
867 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
868*/;
869 }
870
871 // Token: 0x060004EB RID: 1259 RVA: 0x0000D7C0 File Offset: 0x0000B9C0
872 [CLSCompliant(false)]
873 public static byte ToByte(uint value)
874 {
875 /*
876An exception occurred when decompiling this method (060004EB)
877
878ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.UInt32)
879
880 ---> System.Exception: Basic block has to end with unconditional control flow.
881{
882 Block_0:
883 call:void(Convert::ThrowByteOverflowException)
884}
885
886 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
887 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
888 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
889 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
890 --- End of inner exception stack trace ---
891 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
892 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
893*/;
894 }
895
896 // Token: 0x060004EC RID: 1260 RVA: 0x0000D7D4 File Offset: 0x0000B9D4
897 public static byte ToByte(long value)
898 {
899 /*
900An exception occurred when decompiling this method (060004EC)
901
902ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.Int64)
903
904 ---> System.Exception: Basic block has to end with unconditional control flow.
905{
906 Block_0:
907 call:void(Convert::ThrowByteOverflowException)
908}
909
910 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
911 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
912 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
913 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
914 --- End of inner exception stack trace ---
915 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
916 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
917*/;
918 }
919
920 // Token: 0x060004ED RID: 1261 RVA: 0x0000D7E8 File Offset: 0x0000B9E8
921 [CLSCompliant(false)]
922 public static byte ToByte(ulong value)
923 {
924 /*
925An exception occurred when decompiling this method (060004ED)
926
927ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.UInt64)
928
929 ---> System.Exception: Basic block has to end with unconditional control flow.
930{
931 Block_0:
932 call:void(Convert::ThrowByteOverflowException)
933}
934
935 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
936 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
937 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
938 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
939 --- End of inner exception stack trace ---
940 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
941 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
942*/;
943 }
944
945 // Token: 0x060004EE RID: 1262 RVA: 0x0000D7FC File Offset: 0x0000B9FC
946 public static byte ToByte(float value)
947 {
948 if (!true)
949 {
950 }
951 return Convert.ToByte((double)value);
952 }
953
954 // Token: 0x060004EF RID: 1263 RVA: 0x0000D814 File Offset: 0x0000BA14
955 public static byte ToByte(double value)
956 {
958 }
959
960 // Token: 0x060004F0 RID: 1264 RVA: 0x0000D82C File Offset: 0x0000BA2C
961 public static byte ToByte(decimal value)
962 {
963 if (!true)
964 {
965 }
966 decimal num;
967 return decimal.ToByte(num);
968 }
969
970 // Token: 0x060004F1 RID: 1265 RVA: 0x0000D844 File Offset: 0x0000BA44
971 public static byte ToByte(string value)
972 {
974 byte b;
975 return b;
976 }
977
978 // Token: 0x060004F2 RID: 1266 RVA: 0x0000D85C File Offset: 0x0000BA5C
979 public static byte ToByte(string value, IFormatProvider provider)
980 {
981 byte b;
982 return b;
983 }
984
985 // Token: 0x060004F3 RID: 1267 RVA: 0x0000D86C File Offset: 0x0000BA6C
986 public static short ToInt16(object value, IFormatProvider provider)
987 {
988 long value2 = 0.m_value;
989 throw new InvalidCastException();
990 }
991
992 // Token: 0x060004F4 RID: 1268 RVA: 0x0000207A File Offset: 0x0000027A
993 public static short ToInt16(bool value)
994 {
995 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
996 }
997
998 // Token: 0x060004F5 RID: 1269 RVA: 0x0000D88C File Offset: 0x0000BA8C
999 public static short ToInt16(char value)
1000 {
1001 /*
1002An exception occurred when decompiling this method (060004F5)
1003
1004ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.Char)
1005
1006 ---> System.Exception: Basic block has to end with unconditional control flow.
1007{
1008 Block_0:
1009 call:void(Convert::ThrowInt16OverflowException)
1010}
1011
1012 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
1013 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
1014 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
1015 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
1016 --- End of inner exception stack trace ---
1017 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
1018 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
1019*/;
1020 }
1021
1022 // Token: 0x060004F6 RID: 1270 RVA: 0x0000207A File Offset: 0x0000027A
1023 [CLSCompliant(false)]
1024 public static short ToInt16(sbyte value)
1025 {
1026 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1027 }
1028
1029 // Token: 0x060004F7 RID: 1271 RVA: 0x0000207A File Offset: 0x0000027A
1030 public static short ToInt16(byte value)
1031 {
1032 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1033 }
1034
1035 // Token: 0x060004F8 RID: 1272 RVA: 0x0000D8A0 File Offset: 0x0000BAA0
1036 [CLSCompliant(false)]
1037 public static short ToInt16(ushort value)
1038 {
1039 /*
1040An exception occurred when decompiling this method (060004F8)
1041
1042ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.UInt16)
1043
1044 ---> System.Exception: Basic block has to end with unconditional control flow.
1045{
1046 Block_0:
1047 call:void(Convert::ThrowInt16OverflowException)
1048}
1049
1050 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
1051 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
1052 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
1053 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
1054 --- End of inner exception stack trace ---
1055 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
1056 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
1057*/;
1058 }
1059
1060 // Token: 0x060004F9 RID: 1273 RVA: 0x0000D8B4 File Offset: 0x0000BAB4
1061 public static short ToInt16(int value)
1062 {
1063 /*
1064An exception occurred when decompiling this method (060004F9)
1065
1066ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.Int32)
1067
1068 ---> System.Exception: Basic block has to end with unconditional control flow.
1069{
1070 Block_0:
1071 call:void(Convert::ThrowInt16OverflowException)
1072}
1073
1074 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
1075 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
1076 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
1077 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
1078 --- End of inner exception stack trace ---
1079 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
1080 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
1081*/;
1082 }
1083
1084 // Token: 0x060004FA RID: 1274 RVA: 0x0000D8C8 File Offset: 0x0000BAC8
1085 [CLSCompliant(false)]
1086 public static short ToInt16(uint value)
1087 {
1088 /*
1089An exception occurred when decompiling this method (060004FA)
1090
1091ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.UInt32)
1092
1093 ---> System.Exception: Basic block has to end with unconditional control flow.
1094{
1095 Block_0:
1096 call:void(Convert::ThrowInt16OverflowException)
1097}
1098
1099 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
1100 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
1101 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
1102 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
1103 --- End of inner exception stack trace ---
1104 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
1105 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
1106*/;
1107 }
1108
1109 // Token: 0x060004FB RID: 1275 RVA: 0x0000D8DC File Offset: 0x0000BADC
1110 public static short ToInt16(long value)
1111 {
1112 /*
1113An exception occurred when decompiling this method (060004FB)
1114
1115ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.Int64)
1116
1117 ---> System.Exception: Basic block has to end with unconditional control flow.
1118{
1119 Block_0:
1120 call:void(Convert::ThrowInt16OverflowException)
1121}
1122
1123 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
1124 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
1125 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
1126 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
1127 --- End of inner exception stack trace ---
1128 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
1129 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
1130*/;
1131 }
1132
1133 // Token: 0x060004FC RID: 1276 RVA: 0x0000D8F0 File Offset: 0x0000BAF0
1134 [CLSCompliant(false)]
1135 public static short ToInt16(ulong value)
1136 {
1137 /*
1138An exception occurred when decompiling this method (060004FC)
1139
1140ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.UInt64)
1141
1142 ---> System.Exception: Basic block has to end with unconditional control flow.
1143{
1144 Block_0:
1145 call:void(Convert::ThrowInt16OverflowException)
1146}
1147
1148 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
1149 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
1150 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
1151 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
1152 --- End of inner exception stack trace ---
1153 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
1154 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
1155*/;
1156 }
1157
1158 // Token: 0x060004FD RID: 1277 RVA: 0x0000D904 File Offset: 0x0000BB04
1159 public static short ToInt16(float value)
1160 {
1161 if (!true)
1162 {
1163 }
1164 return Convert.ToInt16((double)value);
1165 }
1166
1167 // Token: 0x060004FE RID: 1278 RVA: 0x0000D91C File Offset: 0x0000BB1C
1168 public static short ToInt16(double value)
1169 {
1170 if (!true)
1171 {
1172 }
1174 }
1175
1176 // Token: 0x060004FF RID: 1279 RVA: 0x0000D938 File Offset: 0x0000BB38
1177 public static short ToInt16(decimal value)
1178 {
1179 if (!true)
1180 {
1181 }
1182 decimal num;
1183 return decimal.ToInt16(num);
1184 }
1185
1186 // Token: 0x06000500 RID: 1280 RVA: 0x0000D950 File Offset: 0x0000BB50
1187 public static short ToInt16(string value, IFormatProvider provider)
1188 {
1189 short num;
1190 return num;
1191 }
1192
1193 // Token: 0x06000501 RID: 1281 RVA: 0x0000D960 File Offset: 0x0000BB60
1194 [CLSCompliant(false)]
1195 public static ushort ToUInt16(object value, IFormatProvider provider)
1196 {
1197 long value2 = 0.m_value;
1198 throw new InvalidCastException();
1199 }
1200
1201 // Token: 0x06000502 RID: 1282 RVA: 0x0000207A File Offset: 0x0000027A
1202 [CLSCompliant(false)]
1203 public static ushort ToUInt16(bool value)
1204 {
1205 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1206 }
1207
1208 // Token: 0x06000503 RID: 1283 RVA: 0x0000207A File Offset: 0x0000027A
1209 [CLSCompliant(false)]
1210 public static ushort ToUInt16(char value)
1211 {
1212 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1213 }
1214
1215 // Token: 0x06000504 RID: 1284 RVA: 0x0000D980 File Offset: 0x0000BB80
1216 [CLSCompliant(false)]
1217 public static ushort ToUInt16(sbyte value)
1218 {
1219 /*
1220An exception occurred when decompiling this method (06000504)
1221
1222ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.SByte)
1223
1224 ---> System.Exception: Basic block has to end with unconditional control flow.
1225{
1226 Block_0:
1227 call:void(Convert::ThrowUInt16OverflowException)
1228}
1229
1230 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
1231 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
1232 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
1233 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
1234 --- End of inner exception stack trace ---
1235 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
1236 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
1237*/;
1238 }
1239
1240 // Token: 0x06000505 RID: 1285 RVA: 0x0000207A File Offset: 0x0000027A
1241 [CLSCompliant(false)]
1242 public static ushort ToUInt16(byte value)
1243 {
1244 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1245 }
1246
1247 // Token: 0x06000506 RID: 1286 RVA: 0x0000D994 File Offset: 0x0000BB94
1248 [CLSCompliant(false)]
1249 public static ushort ToUInt16(short value)
1250 {
1251 /*
1252An exception occurred when decompiling this method (06000506)
1253
1254ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.Int16)
1255
1256 ---> System.Exception: Basic block has to end with unconditional control flow.
1257{
1258 Block_0:
1259 call:void(Convert::ThrowUInt16OverflowException)
1260}
1261
1262 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
1263 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
1264 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
1265 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
1266 --- End of inner exception stack trace ---
1267 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
1268 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
1269*/;
1270 }
1271
1272 // Token: 0x06000507 RID: 1287 RVA: 0x0000D9A8 File Offset: 0x0000BBA8
1273 [CLSCompliant(false)]
1274 public static ushort ToUInt16(int value)
1275 {
1276 /*
1277An exception occurred when decompiling this method (06000507)
1278
1279ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.Int32)
1280
1281 ---> System.Exception: Basic block has to end with unconditional control flow.
1282{
1283 Block_0:
1284 call:void(Convert::ThrowUInt16OverflowException)
1285}
1286
1287 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
1288 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
1289 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
1290 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
1291 --- End of inner exception stack trace ---
1292 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
1293 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
1294*/;
1295 }
1296
1297 // Token: 0x06000508 RID: 1288 RVA: 0x0000D9BC File Offset: 0x0000BBBC
1298 [CLSCompliant(false)]
1299 public static ushort ToUInt16(uint value)
1300 {
1301 /*
1302An exception occurred when decompiling this method (06000508)
1303
1304ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.UInt32)
1305
1306 ---> System.Exception: Basic block has to end with unconditional control flow.
1307{
1308 Block_0:
1309 call:void(Convert::ThrowUInt16OverflowException)
1310}
1311
1312 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
1313 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
1314 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
1315 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
1316 --- End of inner exception stack trace ---
1317 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
1318 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
1319*/;
1320 }
1321
1322 // Token: 0x06000509 RID: 1289 RVA: 0x0000D9D0 File Offset: 0x0000BBD0
1323 [CLSCompliant(false)]
1324 public static ushort ToUInt16(long value)
1325 {
1326 /*
1327An exception occurred when decompiling this method (06000509)
1328
1329ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.Int64)
1330
1331 ---> System.Exception: Basic block has to end with unconditional control flow.
1332{
1333 Block_0:
1334 call:void(Convert::ThrowUInt16OverflowException)
1335}
1336
1337 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
1338 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
1339 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
1340 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
1341 --- End of inner exception stack trace ---
1342 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
1343 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
1344*/;
1345 }
1346
1347 // Token: 0x0600050A RID: 1290 RVA: 0x0000D9E4 File Offset: 0x0000BBE4
1348 [CLSCompliant(false)]
1349 public static ushort ToUInt16(ulong value)
1350 {
1351 /*
1352An exception occurred when decompiling this method (0600050A)
1353
1354ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.UInt64)
1355
1356 ---> System.Exception: Basic block has to end with unconditional control flow.
1357{
1358 Block_0:
1359 call:void(Convert::ThrowUInt16OverflowException)
1360}
1361
1362 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
1363 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
1364 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
1365 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
1366 --- End of inner exception stack trace ---
1367 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
1368 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
1369*/;
1370 }
1371
1372 // Token: 0x0600050B RID: 1291 RVA: 0x0000D9F8 File Offset: 0x0000BBF8
1373 [CLSCompliant(false)]
1374 public static ushort ToUInt16(float value)
1375 {
1376 if (!true)
1377 {
1378 }
1379 return Convert.ToUInt16((double)value);
1380 }
1381
1382 // Token: 0x0600050C RID: 1292 RVA: 0x0000DA10 File Offset: 0x0000BC10
1383 [CLSCompliant(false)]
1384 public static ushort ToUInt16(double value)
1385 {
1386 if (!true)
1387 {
1388 }
1390 }
1391
1392 // Token: 0x0600050D RID: 1293 RVA: 0x0000DA2C File Offset: 0x0000BC2C
1393 [CLSCompliant(false)]
1394 public static ushort ToUInt16(decimal value)
1395 {
1396 if (!true)
1397 {
1398 }
1399 decimal num;
1400 return decimal.ToUInt16(num);
1401 }
1402
1403 // Token: 0x0600050E RID: 1294 RVA: 0x0000DA44 File Offset: 0x0000BC44
1404 [CLSCompliant(false)]
1405 public static ushort ToUInt16(string value, IFormatProvider provider)
1406 {
1407 ushort num;
1408 return num;
1409 }
1410
1411 // Token: 0x0600050F RID: 1295 RVA: 0x0000DA54 File Offset: 0x0000BC54
1412 public static int ToInt32(object value)
1413 {
1414 long value2 = 0.m_value;
1415 throw new InvalidCastException();
1416 }
1417
1418 // Token: 0x06000510 RID: 1296 RVA: 0x0000DA74 File Offset: 0x0000BC74
1419 public static int ToInt32(object value, IFormatProvider provider)
1420 {
1421 long value2 = 0.m_value;
1422 throw new InvalidCastException();
1423 }
1424
1425 // Token: 0x06000511 RID: 1297 RVA: 0x0000207A File Offset: 0x0000027A
1426 public static int ToInt32(bool value)
1427 {
1428 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1429 }
1430
1431 // Token: 0x06000512 RID: 1298 RVA: 0x0000207A File Offset: 0x0000027A
1432 public static int ToInt32(char value)
1433 {
1434 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1435 }
1436
1437 // Token: 0x06000513 RID: 1299 RVA: 0x0000207A File Offset: 0x0000027A
1438 public static int ToInt32(byte value)
1439 {
1440 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1441 }
1442
1443 // Token: 0x06000514 RID: 1300 RVA: 0x0000207A File Offset: 0x0000027A
1444 public static int ToInt32(short value)
1445 {
1446 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1447 }
1448
1449 // Token: 0x06000515 RID: 1301 RVA: 0x0000207A File Offset: 0x0000027A
1450 [CLSCompliant(false)]
1451 public static int ToInt32(ushort value)
1452 {
1453 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1454 }
1455
1456 // Token: 0x06000516 RID: 1302 RVA: 0x0000DA94 File Offset: 0x0000BC94
1457 [CLSCompliant(false)]
1458 public static int ToInt32(uint value)
1459 {
1460 /*
1461An exception occurred when decompiling this method (06000516)
1462
1463ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Convert::ToInt32(System.UInt32)
1464
1465 ---> System.Exception: Basic block has to end with unconditional control flow.
1466{
1467 Block_0:
1468 call:void(Convert::ThrowInt32OverflowException)
1469}
1470
1471 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
1472 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
1473 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
1474 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
1475 --- End of inner exception stack trace ---
1476 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
1477 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
1478*/;
1479 }
1480
1481 // Token: 0x06000517 RID: 1303 RVA: 0x0000DAA8 File Offset: 0x0000BCA8
1482 public static int ToInt32(long value)
1483 {
1484 /*
1485An exception occurred when decompiling this method (06000517)
1486
1487ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Convert::ToInt32(System.Int64)
1488
1489 ---> System.Exception: Basic block has to end with unconditional control flow.
1490{
1491 Block_0:
1492 call:void(Convert::ThrowInt32OverflowException)
1493}
1494
1495 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
1496 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
1497 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
1498 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
1499 --- End of inner exception stack trace ---
1500 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
1501 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
1502*/;
1503 }
1504
1505 // Token: 0x06000518 RID: 1304 RVA: 0x0000DABC File Offset: 0x0000BCBC
1506 [CLSCompliant(false)]
1507 public static int ToInt32(ulong value)
1508 {
1509 /*
1510An exception occurred when decompiling this method (06000518)
1511
1512ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Convert::ToInt32(System.UInt64)
1513
1514 ---> System.Exception: Basic block has to end with unconditional control flow.
1515{
1516 IL_0003:
1517 call:void(Convert::ThrowInt32OverflowException)
1518}
1519
1520 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
1521 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
1522 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
1523 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
1524 --- End of inner exception stack trace ---
1525 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
1526 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
1527*/;
1528 }
1529
1530 // Token: 0x06000519 RID: 1305 RVA: 0x0000DAD0 File Offset: 0x0000BCD0
1531 public static int ToInt32(float value)
1532 {
1533 if (!true)
1534 {
1535 }
1536 return Convert.ToInt32((double)value);
1537 }
1538
1539 // Token: 0x0600051A RID: 1306 RVA: 0x0000207A File Offset: 0x0000027A
1540 public static int ToInt32(double value)
1541 {
1542 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1543 }
1544
1545 // Token: 0x0600051B RID: 1307 RVA: 0x0000DAE8 File Offset: 0x0000BCE8
1546 public static int ToInt32(decimal value)
1547 {
1548 if (!true)
1549 {
1550 }
1551 decimal num;
1552 return decimal.ToInt32(num);
1553 }
1554
1555 // Token: 0x0600051C RID: 1308 RVA: 0x0000DB00 File Offset: 0x0000BD00
1556 public static int ToInt32(string value)
1557 {
1559 int num;
1560 return num;
1561 }
1562
1563 // Token: 0x0600051D RID: 1309 RVA: 0x0000DB18 File Offset: 0x0000BD18
1564 public static int ToInt32(string value, IFormatProvider provider)
1565 {
1566 int num;
1567 return num;
1568 }
1569
1570 // Token: 0x0600051E RID: 1310 RVA: 0x0000DB28 File Offset: 0x0000BD28
1571 [CLSCompliant(false)]
1572 public static uint ToUInt32(object value)
1573 {
1574 long value2 = 0.m_value;
1575 throw new InvalidCastException();
1576 }
1577
1578 // Token: 0x0600051F RID: 1311 RVA: 0x0000DB48 File Offset: 0x0000BD48
1579 [CLSCompliant(false)]
1580 public static uint ToUInt32(object value, IFormatProvider provider)
1581 {
1582 long value2 = 0.m_value;
1583 throw new InvalidCastException();
1584 }
1585
1586 // Token: 0x06000520 RID: 1312 RVA: 0x0000207A File Offset: 0x0000027A
1587 [CLSCompliant(false)]
1588 public static uint ToUInt32(bool value)
1589 {
1590 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1591 }
1592
1593 // Token: 0x06000521 RID: 1313 RVA: 0x0000207A File Offset: 0x0000027A
1594 [CLSCompliant(false)]
1595 public static uint ToUInt32(char value)
1596 {
1597 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1598 }
1599
1600 // Token: 0x06000522 RID: 1314 RVA: 0x0000DB68 File Offset: 0x0000BD68
1601 [CLSCompliant(false)]
1602 public static uint ToUInt32(sbyte value)
1603 {
1604 /*
1605An exception occurred when decompiling this method (06000522)
1606
1607ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Convert::ToUInt32(System.SByte)
1608
1609 ---> System.Exception: Basic block has to end with unconditional control flow.
1610{
1611 Block_0:
1612 call:void(Convert::ThrowUInt32OverflowException)
1613}
1614
1615 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
1616 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
1617 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
1618 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
1619 --- End of inner exception stack trace ---
1620 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
1621 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
1622*/;
1623 }
1624
1625 // Token: 0x06000523 RID: 1315 RVA: 0x0000207A File Offset: 0x0000027A
1626 [CLSCompliant(false)]
1627 public static uint ToUInt32(byte value)
1628 {
1629 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1630 }
1631
1632 // Token: 0x06000524 RID: 1316 RVA: 0x0000DB7C File Offset: 0x0000BD7C
1633 [CLSCompliant(false)]
1634 public static uint ToUInt32(short value)
1635 {
1636 /*
1637An exception occurred when decompiling this method (06000524)
1638
1639ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Convert::ToUInt32(System.Int16)
1640
1641 ---> System.Exception: Basic block has to end with unconditional control flow.
1642{
1643 Block_0:
1644 call:void(Convert::ThrowUInt32OverflowException)
1645}
1646
1647 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
1648 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
1649 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
1650 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
1651 --- End of inner exception stack trace ---
1652 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
1653 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
1654*/;
1655 }
1656
1657 // Token: 0x06000525 RID: 1317 RVA: 0x0000207A File Offset: 0x0000027A
1658 [CLSCompliant(false)]
1659 public static uint ToUInt32(ushort value)
1660 {
1661 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1662 }
1663
1664 // Token: 0x06000526 RID: 1318 RVA: 0x0000DB90 File Offset: 0x0000BD90
1665 [CLSCompliant(false)]
1666 public static uint ToUInt32(int value)
1667 {
1668 /*
1669An exception occurred when decompiling this method (06000526)
1670
1671ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Convert::ToUInt32(System.Int32)
1672
1673 ---> System.Exception: Basic block has to end with unconditional control flow.
1674{
1675 Block_0:
1676 call:void(Convert::ThrowUInt32OverflowException)
1677}
1678
1679 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
1680 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
1681 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
1682 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
1683 --- End of inner exception stack trace ---
1684 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
1685 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
1686*/;
1687 }
1688
1689 // Token: 0x06000527 RID: 1319 RVA: 0x0000DBA4 File Offset: 0x0000BDA4
1690 [CLSCompliant(false)]
1691 public static uint ToUInt32(long value)
1692 {
1693 /*
1694An exception occurred when decompiling this method (06000527)
1695
1696ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Convert::ToUInt32(System.Int64)
1697
1698 ---> System.Exception: Basic block has to end with unconditional control flow.
1699{
1700 IL_0003:
1701 call:void(Convert::ThrowUInt32OverflowException)
1702}
1703
1704 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
1705 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
1706 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
1707 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
1708 --- End of inner exception stack trace ---
1709 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
1710 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
1711*/;
1712 }
1713
1714 // Token: 0x06000528 RID: 1320 RVA: 0x0000DBB8 File Offset: 0x0000BDB8
1715 [CLSCompliant(false)]
1716 public static uint ToUInt32(ulong value)
1717 {
1718 /*
1719An exception occurred when decompiling this method (06000528)
1720
1721ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt32 System.Convert::ToUInt32(System.UInt64)
1722
1723 ---> System.Exception: Basic block has to end with unconditional control flow.
1724{
1725 IL_0003:
1726 call:void(Convert::ThrowUInt32OverflowException)
1727}
1728
1729 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
1730 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
1731 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
1732 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
1733 --- End of inner exception stack trace ---
1734 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
1735 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
1736*/;
1737 }
1738
1739 // Token: 0x06000529 RID: 1321 RVA: 0x0000DBCC File Offset: 0x0000BDCC
1740 [CLSCompliant(false)]
1741 public static uint ToUInt32(float value)
1742 {
1743 if (!true)
1744 {
1745 }
1746 return Convert.ToUInt32((double)value);
1747 }
1748
1749 // Token: 0x0600052A RID: 1322 RVA: 0x0000207A File Offset: 0x0000027A
1750 [CLSCompliant(false)]
1751 public static uint ToUInt32(double value)
1752 {
1753 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1754 }
1755
1756 // Token: 0x0600052B RID: 1323 RVA: 0x0000DBE4 File Offset: 0x0000BDE4
1757 [CLSCompliant(false)]
1758 public static uint ToUInt32(decimal value)
1759 {
1760 if (!true)
1761 {
1762 }
1763 decimal num;
1764 return decimal.ToUInt32(num);
1765 }
1766
1767 // Token: 0x0600052C RID: 1324 RVA: 0x0000DBFC File Offset: 0x0000BDFC
1768 [CLSCompliant(false)]
1769 public static uint ToUInt32(string value, IFormatProvider provider)
1770 {
1771 uint num;
1772 return num;
1773 }
1774
1775 // Token: 0x0600052D RID: 1325 RVA: 0x0000DC0C File Offset: 0x0000BE0C
1776 public static long ToInt64(object value)
1777 {
1778 return 0L;
1779 }
1780
1781 // Token: 0x0600052E RID: 1326 RVA: 0x0000DC30 File Offset: 0x0000BE30
1782 public static long ToInt64(object value, IFormatProvider provider)
1783 {
1784 return 0L;
1785 }
1786
1787 // Token: 0x0600052F RID: 1327 RVA: 0x0000207A File Offset: 0x0000027A
1788 public static long ToInt64(bool value)
1789 {
1790 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1791 }
1792
1793 // Token: 0x06000530 RID: 1328 RVA: 0x0000207A File Offset: 0x0000027A
1794 public static long ToInt64(char value)
1795 {
1796 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1797 }
1798
1799 // Token: 0x06000531 RID: 1329 RVA: 0x0000207A File Offset: 0x0000027A
1800 [CLSCompliant(false)]
1801 public static long ToInt64(sbyte value)
1802 {
1803 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1804 }
1805
1806 // Token: 0x06000532 RID: 1330 RVA: 0x0000207A File Offset: 0x0000027A
1807 public static long ToInt64(byte value)
1808 {
1809 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1810 }
1811
1812 // Token: 0x06000533 RID: 1331 RVA: 0x0000207A File Offset: 0x0000027A
1813 public static long ToInt64(short value)
1814 {
1815 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1816 }
1817
1818 // Token: 0x06000534 RID: 1332 RVA: 0x0000207A File Offset: 0x0000027A
1819 [CLSCompliant(false)]
1820 public static long ToInt64(ushort value)
1821 {
1822 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1823 }
1824
1825 // Token: 0x06000535 RID: 1333 RVA: 0x0000207A File Offset: 0x0000027A
1826 public static long ToInt64(int value)
1827 {
1828 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1829 }
1830
1831 // Token: 0x06000536 RID: 1334 RVA: 0x0000207A File Offset: 0x0000027A
1832 [CLSCompliant(false)]
1833 public static long ToInt64(uint value)
1834 {
1835 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1836 }
1837
1838 // Token: 0x06000537 RID: 1335 RVA: 0x0000DC58 File Offset: 0x0000BE58
1839 [CLSCompliant(false)]
1840 public static long ToInt64(ulong value)
1841 {
1842 /*
1843An exception occurred when decompiling this method (06000537)
1844
1845ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int64 System.Convert::ToInt64(System.UInt64)
1846
1847 ---> System.Exception: Basic block has to end with unconditional control flow.
1848{
1849 Block_0:
1850 call:void(Convert::ThrowInt64OverflowException)
1851}
1852
1853 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
1854 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
1855 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
1856 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
1857 --- End of inner exception stack trace ---
1858 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
1859 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
1860*/;
1861 }
1862
1863 // Token: 0x06000538 RID: 1336 RVA: 0x0000DC6C File Offset: 0x0000BE6C
1864 public static long ToInt64(float value)
1865 {
1866 if (!true)
1867 {
1868 }
1869 return Convert.ToInt64((double)value);
1870 }
1871
1872 // Token: 0x06000539 RID: 1337 RVA: 0x0000DC84 File Offset: 0x0000BE84
1873 public static long ToInt64(double value)
1874 {
1875 if (!true)
1876 {
1877 }
1878 throw new OverflowException();
1879 }
1880
1881 // Token: 0x0600053A RID: 1338 RVA: 0x0000DC9C File Offset: 0x0000BE9C
1882 public static long ToInt64(decimal value)
1883 {
1884 if (!true)
1885 {
1886 }
1887 decimal num;
1888 return decimal.ToInt64(num);
1889 }
1890
1891 // Token: 0x0600053B RID: 1339 RVA: 0x0000DCB4 File Offset: 0x0000BEB4
1892 public static long ToInt64(string value)
1893 {
1895 long num;
1896 return num;
1897 }
1898
1899 // Token: 0x0600053C RID: 1340 RVA: 0x0000DCCC File Offset: 0x0000BECC
1900 public static long ToInt64(string value, IFormatProvider provider)
1901 {
1902 long num;
1903 return num;
1904 }
1905
1906 // Token: 0x0600053D RID: 1341 RVA: 0x0000DCDC File Offset: 0x0000BEDC
1907 [CLSCompliant(false)]
1908 public static ulong ToUInt64(object value)
1909 {
1910 throw new InvalidCastException();
1911 }
1912
1913 // Token: 0x0600053E RID: 1342 RVA: 0x0000DCF4 File Offset: 0x0000BEF4
1914 [CLSCompliant(false)]
1915 public static ulong ToUInt64(object value, IFormatProvider provider)
1916 {
1917 long value2 = 0.m_value;
1918 throw new InvalidCastException();
1919 }
1920
1921 // Token: 0x0600053F RID: 1343 RVA: 0x0000207A File Offset: 0x0000027A
1922 [CLSCompliant(false)]
1923 public static ulong ToUInt64(bool value)
1924 {
1925 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1926 }
1927
1928 // Token: 0x06000540 RID: 1344 RVA: 0x0000207A File Offset: 0x0000027A
1929 [CLSCompliant(false)]
1930 public static ulong ToUInt64(char value)
1931 {
1932 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1933 }
1934
1935 // Token: 0x06000541 RID: 1345 RVA: 0x0000DD14 File Offset: 0x0000BF14
1936 [CLSCompliant(false)]
1937 public static ulong ToUInt64(sbyte value)
1938 {
1939 /*
1940An exception occurred when decompiling this method (06000541)
1941
1942ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Convert::ToUInt64(System.SByte)
1943
1944 ---> System.Exception: Basic block has to end with unconditional control flow.
1945{
1946 Block_0:
1947 call:void(Convert::ThrowUInt64OverflowException)
1948}
1949
1950 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
1951 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
1952 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
1953 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
1954 --- End of inner exception stack trace ---
1955 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
1956 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
1957*/;
1958 }
1959
1960 // Token: 0x06000542 RID: 1346 RVA: 0x0000207A File Offset: 0x0000027A
1961 [CLSCompliant(false)]
1962 public static ulong ToUInt64(byte value)
1963 {
1964 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1965 }
1966
1967 // Token: 0x06000543 RID: 1347 RVA: 0x0000DD28 File Offset: 0x0000BF28
1968 [CLSCompliant(false)]
1969 public static ulong ToUInt64(short value)
1970 {
1971 /*
1972An exception occurred when decompiling this method (06000543)
1973
1974ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Convert::ToUInt64(System.Int16)
1975
1976 ---> System.Exception: Basic block has to end with unconditional control flow.
1977{
1978 Block_0:
1979 call:void(Convert::ThrowUInt64OverflowException)
1980}
1981
1982 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
1983 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
1984 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
1985 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
1986 --- End of inner exception stack trace ---
1987 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
1988 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
1989*/;
1990 }
1991
1992 // Token: 0x06000544 RID: 1348 RVA: 0x0000207A File Offset: 0x0000027A
1993 [CLSCompliant(false)]
1994 public static ulong ToUInt64(ushort value)
1995 {
1996 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
1997 }
1998
1999 // Token: 0x06000545 RID: 1349 RVA: 0x0000DD3C File Offset: 0x0000BF3C
2000 [CLSCompliant(false)]
2001 public static ulong ToUInt64(int value)
2002 {
2003 /*
2004An exception occurred when decompiling this method (06000545)
2005
2006ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Convert::ToUInt64(System.Int32)
2007
2008 ---> System.Exception: Basic block has to end with unconditional control flow.
2009{
2010 Block_0:
2011 call:void(Convert::ThrowUInt64OverflowException)
2012}
2013
2014 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
2015 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
2016 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
2017 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
2018 --- End of inner exception stack trace ---
2019 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
2020 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
2021*/;
2022 }
2023
2024 // Token: 0x06000546 RID: 1350 RVA: 0x0000207A File Offset: 0x0000027A
2025 [CLSCompliant(false)]
2026 public static ulong ToUInt64(uint value)
2027 {
2028 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2029 }
2030
2031 // Token: 0x06000547 RID: 1351 RVA: 0x0000DD50 File Offset: 0x0000BF50
2032 [CLSCompliant(false)]
2033 public static ulong ToUInt64(long value)
2034 {
2035 /*
2036An exception occurred when decompiling this method (06000547)
2037
2038ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt64 System.Convert::ToUInt64(System.Int64)
2039
2040 ---> System.Exception: Basic block has to end with unconditional control flow.
2041{
2042 Block_0:
2043 call:void(Convert::ThrowUInt64OverflowException)
2044}
2045
2046 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
2047 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
2048 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
2049 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
2050 --- End of inner exception stack trace ---
2051 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
2052 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
2053*/;
2054 }
2055
2056 // Token: 0x06000548 RID: 1352 RVA: 0x0000DD64 File Offset: 0x0000BF64
2057 [CLSCompliant(false)]
2058 public static ulong ToUInt64(float value)
2059 {
2060 if (!true)
2061 {
2062 }
2063 return Convert.ToUInt64((double)value);
2064 }
2065
2066 // Token: 0x06000549 RID: 1353 RVA: 0x0000DD7C File Offset: 0x0000BF7C
2067 [CLSCompliant(false)]
2068 public static ulong ToUInt64(double value)
2069 {
2070 if (!true)
2071 {
2072 }
2073 throw new OverflowException();
2074 }
2075
2076 // Token: 0x0600054A RID: 1354 RVA: 0x0000DD94 File Offset: 0x0000BF94
2077 [CLSCompliant(false)]
2078 public static ulong ToUInt64(decimal value)
2079 {
2080 if (!true)
2081 {
2082 }
2083 decimal num;
2084 return decimal.ToUInt64(num);
2085 }
2086
2087 // Token: 0x0600054B RID: 1355 RVA: 0x0000DDAC File Offset: 0x0000BFAC
2088 [CLSCompliant(false)]
2089 public static ulong ToUInt64(string value, IFormatProvider provider)
2090 {
2091 ulong num;
2092 return num;
2093 }
2094
2095 // Token: 0x0600054C RID: 1356 RVA: 0x0000DDBC File Offset: 0x0000BFBC
2096 public static float ToSingle(object value, IFormatProvider provider)
2097 {
2098 throw new InvalidCastException();
2099 }
2100
2101 // Token: 0x0600054D RID: 1357 RVA: 0x0000207A File Offset: 0x0000027A
2102 [CLSCompliant(false)]
2103 public static float ToSingle(sbyte value)
2104 {
2105 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2106 }
2107
2108 // Token: 0x0600054E RID: 1358 RVA: 0x0000207A File Offset: 0x0000027A
2109 public static float ToSingle(byte value)
2110 {
2111 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2112 }
2113
2114 // Token: 0x0600054F RID: 1359 RVA: 0x0000207A File Offset: 0x0000027A
2115 public static float ToSingle(short value)
2116 {
2117 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2118 }
2119
2120 // Token: 0x06000550 RID: 1360 RVA: 0x0000207A File Offset: 0x0000027A
2121 [CLSCompliant(false)]
2122 public static float ToSingle(ushort value)
2123 {
2124 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2125 }
2126
2127 // Token: 0x06000551 RID: 1361 RVA: 0x0000207A File Offset: 0x0000027A
2128 public static float ToSingle(int value)
2129 {
2130 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2131 }
2132
2133 // Token: 0x06000552 RID: 1362 RVA: 0x0000207A File Offset: 0x0000027A
2134 [CLSCompliant(false)]
2135 public static float ToSingle(uint value)
2136 {
2137 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2138 }
2139
2140 // Token: 0x06000553 RID: 1363 RVA: 0x0000207A File Offset: 0x0000027A
2141 public static float ToSingle(long value)
2142 {
2143 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2144 }
2145
2146 // Token: 0x06000554 RID: 1364 RVA: 0x0000207A File Offset: 0x0000027A
2147 [CLSCompliant(false)]
2148 public static float ToSingle(ulong value)
2149 {
2150 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2151 }
2152
2153 // Token: 0x06000555 RID: 1365 RVA: 0x0000207A File Offset: 0x0000027A
2154 public static float ToSingle(double value)
2155 {
2156 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2157 }
2158
2159 // Token: 0x06000556 RID: 1366 RVA: 0x0000DDD4 File Offset: 0x0000BFD4
2160 public static float ToSingle(decimal value)
2161 {
2162 /*
2163An exception occurred when decompiling this method (06000556)
2164
2165ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single System.Convert::ToSingle(System.Decimal)
2166
2167 ---> System.Exception: Basic block has to end with unconditional control flow.
2168{
2169 IL_0000:
2170 brtrue(IL_0000, ldc.i4:bool(1))
2171}
2172
2173 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
2174 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
2175 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
2176 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
2177 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
2178 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
2179 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
2180 --- End of inner exception stack trace ---
2181 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
2182 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
2183*/;
2184 }
2185
2186 // Token: 0x06000557 RID: 1367 RVA: 0x0000207A File Offset: 0x0000027A
2187 public static float ToSingle(string value, IFormatProvider provider)
2188 {
2189 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2190 }
2191
2192 // Token: 0x06000558 RID: 1368 RVA: 0x0000207A File Offset: 0x0000027A
2193 public static float ToSingle(bool value)
2194 {
2195 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2196 }
2197
2198 // Token: 0x06000559 RID: 1369 RVA: 0x0000DDE4 File Offset: 0x0000BFE4
2199 public static double ToDouble(object value, IFormatProvider provider)
2200 {
2201 throw new InvalidCastException();
2202 }
2203
2204 // Token: 0x0600055A RID: 1370 RVA: 0x0000207A File Offset: 0x0000027A
2205 [CLSCompliant(false)]
2206 public static double ToDouble(sbyte value)
2207 {
2208 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2209 }
2210
2211 // Token: 0x0600055B RID: 1371 RVA: 0x0000207A File Offset: 0x0000027A
2212 public static double ToDouble(byte value)
2213 {
2214 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2215 }
2216
2217 // Token: 0x0600055C RID: 1372 RVA: 0x0000207A File Offset: 0x0000027A
2218 public static double ToDouble(short value)
2219 {
2220 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2221 }
2222
2223 // Token: 0x0600055D RID: 1373 RVA: 0x0000207A File Offset: 0x0000027A
2224 [CLSCompliant(false)]
2225 public static double ToDouble(ushort value)
2226 {
2227 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2228 }
2229
2230 // Token: 0x0600055E RID: 1374 RVA: 0x0000207A File Offset: 0x0000027A
2231 public static double ToDouble(int value)
2232 {
2233 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2234 }
2235
2236 // Token: 0x0600055F RID: 1375 RVA: 0x0000207A File Offset: 0x0000027A
2237 [CLSCompliant(false)]
2238 public static double ToDouble(uint value)
2239 {
2240 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2241 }
2242
2243 // Token: 0x06000560 RID: 1376 RVA: 0x0000207A File Offset: 0x0000027A
2244 public static double ToDouble(long value)
2245 {
2246 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2247 }
2248
2249 // Token: 0x06000561 RID: 1377 RVA: 0x0000207A File Offset: 0x0000027A
2250 [CLSCompliant(false)]
2251 public static double ToDouble(ulong value)
2252 {
2253 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2254 }
2255
2256 // Token: 0x06000562 RID: 1378 RVA: 0x0000207A File Offset: 0x0000027A
2257 public static double ToDouble(float value)
2258 {
2259 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2260 }
2261
2262 // Token: 0x06000563 RID: 1379 RVA: 0x0000DDFC File Offset: 0x0000BFFC
2263 public static double ToDouble(decimal value)
2264 {
2265 /*
2266An exception occurred when decompiling this method (06000563)
2267
2268ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.Convert::ToDouble(System.Decimal)
2269
2270 ---> System.Exception: Basic block has to end with unconditional control flow.
2271{
2272 IL_0000:
2273 brtrue(IL_0000, ldc.i4:bool(1))
2274}
2275
2276 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
2277 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
2278 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
2279 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
2280 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
2281 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
2282 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
2283 --- End of inner exception stack trace ---
2284 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
2285 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
2286*/;
2287 }
2288
2289 // Token: 0x06000564 RID: 1380 RVA: 0x0000207A File Offset: 0x0000027A
2290 public static double ToDouble(string value, IFormatProvider provider)
2291 {
2292 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2293 }
2294
2295 // Token: 0x06000565 RID: 1381 RVA: 0x0000207A File Offset: 0x0000027A
2296 public static double ToDouble(bool value)
2297 {
2298 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2299 }
2300
2301 // Token: 0x06000566 RID: 1382 RVA: 0x0000DE0C File Offset: 0x0000C00C
2302 public static decimal ToDecimal(object value, IFormatProvider provider)
2303 {
2304 if (value == null || value == null || value != null)
2305 {
2306 throw new InvalidCastException();
2307 }
2308 throw new InvalidCastException();
2309 }
2310
2311 // Token: 0x06000567 RID: 1383 RVA: 0x0000DE30 File Offset: 0x0000C030
2312 [CLSCompliant(false)]
2313 public static decimal ToDecimal(sbyte value)
2314 {
2315 if (!true)
2316 {
2317 }
2318 decimal num = value;
2319 return 1;
2320 }
2321
2322 // Token: 0x06000568 RID: 1384 RVA: 0x0000DE48 File Offset: 0x0000C048
2323 public static decimal ToDecimal(byte value)
2324 {
2325 if (!true)
2326 {
2327 }
2328 decimal num = value;
2329 return 1;
2330 }
2331
2332 // Token: 0x06000569 RID: 1385 RVA: 0x0000DE60 File Offset: 0x0000C060
2333 public static decimal ToDecimal(short value)
2334 {
2335 if (!true)
2336 {
2337 }
2338 decimal num = value;
2339 return 1;
2340 }
2341
2342 // Token: 0x0600056A RID: 1386 RVA: 0x0000DE78 File Offset: 0x0000C078
2343 [CLSCompliant(false)]
2344 public static decimal ToDecimal(ushort value)
2345 {
2346 if (!true)
2347 {
2348 }
2349 decimal num = value;
2350 return 1;
2351 }
2352
2353 // Token: 0x0600056B RID: 1387 RVA: 0x0000DE90 File Offset: 0x0000C090
2354 public static decimal ToDecimal(int value)
2355 {
2356 if (!true)
2357 {
2358 }
2359 decimal num = value;
2360 return 1;
2361 }
2362
2363 // Token: 0x0600056C RID: 1388 RVA: 0x0000DEA8 File Offset: 0x0000C0A8
2364 [CLSCompliant(false)]
2365 public static decimal ToDecimal(uint value)
2366 {
2367 if (!true)
2368 {
2369 }
2370 decimal num = value;
2371 return 1;
2372 }
2373
2374 // Token: 0x0600056D RID: 1389 RVA: 0x0000DEC0 File Offset: 0x0000C0C0
2375 public static decimal ToDecimal(long value)
2376 {
2377 if (!true)
2378 {
2379 }
2380 decimal num = value;
2381 return 1;
2382 }
2383
2384 // Token: 0x0600056E RID: 1390 RVA: 0x0000DED8 File Offset: 0x0000C0D8
2385 [CLSCompliant(false)]
2386 public static decimal ToDecimal(ulong value)
2387 {
2388 if (!true)
2389 {
2390 }
2391 decimal num = value;
2392 return 1;
2393 }
2394
2395 // Token: 0x0600056F RID: 1391 RVA: 0x0000DEF0 File Offset: 0x0000C0F0
2396 public static decimal ToDecimal(float value)
2397 {
2398 if (!true)
2399 {
2400 }
2401 decimal num = (decimal)value;
2402 return 1;
2403 }
2404
2405 // Token: 0x06000570 RID: 1392 RVA: 0x0000DF0C File Offset: 0x0000C10C
2406 public static decimal ToDecimal(double value)
2407 {
2408 if (!true)
2409 {
2410 }
2411 decimal num = (decimal)value;
2412 return 1;
2413 }
2414
2415 // Token: 0x06000571 RID: 1393 RVA: 0x0000DF28 File Offset: 0x0000C128
2416 public static decimal ToDecimal(string value, IFormatProvider provider)
2417 {
2418 /*
2419An exception occurred when decompiling this method (06000571)
2420
2421ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Decimal System.Convert::ToDecimal(System.String,System.IFormatProvider)
2422
2423 ---> System.Exception: Basic block has to end with unconditional control flow.
2424{
2425 IL_0017:
2426 brtrue(IL_0017, ldloc:string[exp:bool](value))
2427}
2428
2429 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
2430 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
2431 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
2432 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
2433 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
2434 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
2435 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
2436 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
2437 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
2438 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
2439 --- End of inner exception stack trace ---
2440 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
2441 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
2442*/;
2443 }
2444
2445 // Token: 0x06000572 RID: 1394 RVA: 0x0000DF50 File Offset: 0x0000C150
2446 public static decimal ToDecimal(bool value)
2447 {
2448 if (!true)
2449 {
2450 }
2451 decimal num = (value ? 1 : 0);
2452 return 1;
2453 }
2454
2455 // Token: 0x06000573 RID: 1395 RVA: 0x0000DF68 File Offset: 0x0000C168
2456 public static DateTime ToDateTime(object value, IFormatProvider provider)
2457 {
2458 if (value == null || value == null || value != null)
2459 {
2460 throw new InvalidCastException();
2461 }
2462 throw new InvalidCastException();
2463 }
2464
2465 // Token: 0x06000574 RID: 1396 RVA: 0x0000DF8C File Offset: 0x0000C18C
2466 public static DateTime ToDateTime(string value, IFormatProvider provider)
2467 {
2468 /*
2469An exception occurred when decompiling this method (06000574)
2470
2471ICSharpCode.Decompiler.DecompilerException: Error decompiling System.DateTime System.Convert::ToDateTime(System.String,System.IFormatProvider)
2472
2473 ---> System.Exception: Basic block has to end with unconditional control flow.
2474{
2475 Block_0:
2476 stloc:DateTime(var_0_0A, call:DateTime(DateTime::Parse, ldloc:string(value), ldloc:IFormatProvider(provider)))
2477}
2478
2479 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
2480 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
2481 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
2482 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
2483 --- End of inner exception stack trace ---
2484 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
2485 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
2486*/;
2487 }
2488
2489 // Token: 0x06000575 RID: 1397 RVA: 0x0000207A File Offset: 0x0000027A
2490 public static string ToString(object value, IFormatProvider provider)
2491 {
2492 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
2493 }
2494
2495 // Token: 0x06000576 RID: 1398 RVA: 0x0000DFA4 File Offset: 0x0000C1A4
2496 public static string ToString(char value, IFormatProvider provider)
2497 {
2498 string text;
2499 return text;
2500 }
2501
2502 // Token: 0x06000577 RID: 1399 RVA: 0x0000DFB4 File Offset: 0x0000C1B4
2503 public static string ToString(int value)
2504 {
2505 if (!true)
2506 {
2507 }
2509 string text;
2510 return text;
2511 }
2512
2513 // Token: 0x06000578 RID: 1400 RVA: 0x0000DFD0 File Offset: 0x0000C1D0
2514 public static string ToString(int value, IFormatProvider provider)
2515 {
2516 string text;
2517 return text;
2518 }
2519
2520 // Token: 0x06000579 RID: 1401 RVA: 0x0000DFE0 File Offset: 0x0000C1E0
2521 public static byte ToByte(string value, int fromBase)
2522 {
2523 /*
2524An exception occurred when decompiling this method (06000579)
2525
2526ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte System.Convert::ToByte(System.String,System.Int32)
2527
2528 ---> System.Exception: Basic block has to end with unconditional control flow.
2529{
2530 Block_0:
2531 call:void(Convert::ThrowByteOverflowException)
2532}
2533
2534 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
2535 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
2536 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
2537 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
2538 --- End of inner exception stack trace ---
2539 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
2540 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
2541*/;
2542 }
2543
2544 // Token: 0x0600057A RID: 1402 RVA: 0x0000DFF8 File Offset: 0x0000C1F8
2545 [CLSCompliant(false)]
2546 public static sbyte ToSByte(string value, int fromBase)
2547 {
2548 /*
2549An exception occurred when decompiling this method (0600057A)
2550
2551ICSharpCode.Decompiler.DecompilerException: Error decompiling System.SByte System.Convert::ToSByte(System.String,System.Int32)
2552
2553 ---> System.Exception: Basic block has to end with unconditional control flow.
2554{
2555 Block_0:
2556 call:void(Convert::ThrowSByteOverflowException)
2557}
2558
2559 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
2560 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
2561 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
2562 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
2563 --- End of inner exception stack trace ---
2564 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
2565 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
2566*/;
2567 }
2568
2569 // Token: 0x0600057B RID: 1403 RVA: 0x0000E010 File Offset: 0x0000C210
2570 public static short ToInt16(string value, int fromBase)
2571 {
2572 /*
2573An exception occurred when decompiling this method (0600057B)
2574
2575ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int16 System.Convert::ToInt16(System.String,System.Int32)
2576
2577 ---> System.Exception: Basic block has to end with unconditional control flow.
2578{
2579 Block_0:
2580 call:void(Convert::ThrowInt16OverflowException)
2581}
2582
2583 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
2584 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
2585 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
2586 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
2587 --- End of inner exception stack trace ---
2588 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
2589 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
2590*/;
2591 }
2592
2593 // Token: 0x0600057C RID: 1404 RVA: 0x0000E028 File Offset: 0x0000C228
2594 [CLSCompliant(false)]
2595 public static ushort ToUInt16(string value, int fromBase)
2596 {
2597 /*
2598An exception occurred when decompiling this method (0600057C)
2599
2600ICSharpCode.Decompiler.DecompilerException: Error decompiling System.UInt16 System.Convert::ToUInt16(System.String,System.Int32)
2601
2602 ---> System.Exception: Basic block has to end with unconditional control flow.
2603{
2604 Block_0:
2605 call:void(Convert::ThrowUInt16OverflowException)
2606}
2607
2608 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
2609 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
2610 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
2611 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
2612 --- End of inner exception stack trace ---
2613 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
2614 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
2615*/;
2616 }
2617
2618 // Token: 0x0600057D RID: 1405 RVA: 0x0000E040 File Offset: 0x0000C240
2619 public static int ToInt32(string value, int fromBase)
2620 {
2621 int num;
2622 return num;
2623 }
2624
2625 // Token: 0x0600057E RID: 1406 RVA: 0x0000E050 File Offset: 0x0000C250
2626 [CLSCompliant(false)]
2627 public static uint ToUInt32(string value, int fromBase)
2628 {
2629 }
2630
2631 // Token: 0x0600057F RID: 1407 RVA: 0x0000E060 File Offset: 0x0000C260
2632 public static long ToInt64(string value, int fromBase)
2633 {
2634 long num;
2635 return num;
2636 }
2637
2638 // Token: 0x06000580 RID: 1408 RVA: 0x0000E070 File Offset: 0x0000C270
2639 [CLSCompliant(false)]
2640 public static ulong ToUInt64(string value, int fromBase)
2641 {
2642 }
2643
2644 // Token: 0x06000581 RID: 1409 RVA: 0x0000E080 File Offset: 0x0000C280
2645 public static string ToBase64String(byte[] inArray)
2646 {
2647 string text;
2648 return text;
2649 }
2650
2651 // Token: 0x06000582 RID: 1410 RVA: 0x0000E090 File Offset: 0x0000C290
2652 public static string ToBase64String(byte[] inArray, int offset, int length)
2653 {
2654 if (!true)
2655 {
2656 }
2657 string text;
2658 return text;
2659 }
2660
2661 // Token: 0x06000583 RID: 1411 RVA: 0x0000E0A4 File Offset: 0x0000C2A4
2662 public static string ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options)
2663 {
2664 int num = 1;
2666 if (num == 0)
2667 {
2668 }
2669 string text;
2670 return text;
2671 }
2672
2673 // Token: 0x06000584 RID: 1412 RVA: 0x0000E0CC File Offset: 0x0000C2CC
2675 {
2676 /*
2677An exception occurred when decompiling this method (06000584)
2678
2679ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Convert::ToBase64String(System.ReadOnlySpan`1<System.Byte>,System.Base64FormattingOptions)
2680
2681 ---> System.Exception: Basic block has to end with unconditional control flow.
2682{
2683 Block_1:
2684 stloc:int32(var_4_17, callgetter:int32(RuntimeHelpers::get_OffsetToStringData))
2685}
2686
2687 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
2688 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
2689 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
2690 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
2691 --- End of inner exception stack trace ---
2692 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
2693 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
2694*/;
2695 }
2696
2697 // Token: 0x06000585 RID: 1413 RVA: 0x0000E0F4 File Offset: 0x0000C2F4
2698 public static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut)
2699 {
2700 if (!true)
2701 {
2702 }
2703 int num;
2704 return num;
2705 }
2706
2707 // Token: 0x06000586 RID: 1414 RVA: 0x0000E108 File Offset: 0x0000C308
2709 {
2710 int num = 1;
2711 if (num != 0)
2712 {
2713 if (num == 0)
2714 {
2715 }
2716 if (num == 0)
2717 {
2718 }
2719 int num2;
2720 return num2;
2721 }
2722 return "inArray";
2723 }
2724
2725 // Token: 0x06000587 RID: 1415 RVA: 0x0000E148 File Offset: 0x0000C348
2726 private unsafe static int ConvertToBase64Array(char* outChars, byte* inData, int offset, int length, bool insertLineBreaks)
2727 {
2728 }
2729
2730 // Token: 0x06000588 RID: 1416 RVA: 0x0000E15C File Offset: 0x0000C35C
2734
2735 // Token: 0x06000589 RID: 1417 RVA: 0x0000E174 File Offset: 0x0000C374
2736 public static byte[] FromBase64String(string s)
2737 {
2739 byte[] array;
2740 return array;
2741 }
2742
2743 // Token: 0x0600058A RID: 1418 RVA: 0x0000E18C File Offset: 0x0000C38C
2744 public static bool TryFromBase64Chars(ReadOnlySpan<char> chars, Span<byte> bytes, [Out] int bytesWritten)
2745 {
2746 int num = 4;
2747 if (chars == null)
2748 {
2749 return;
2750 }
2751 if (num == 0)
2752 {
2753 }
2756 while (chars != null)
2757 {
2758 }
2763 if (21846 == 0)
2764 {
2765 }
2766 if (chars != null)
2767 {
2768 return;
2769 }
2770 }
2771
2772 // Token: 0x0600058B RID: 1419 RVA: 0x0000E1F0 File Offset: 0x0000C3F0
2774 {
2775 if (!true)
2776 {
2777 }
2778 }
2779
2780 // Token: 0x0600058C RID: 1420 RVA: 0x0000E20C File Offset: 0x0000C40C
2781 private static bool IsSpace(this char c)
2782 {
2783 return true;
2784 }
2785
2786 // Token: 0x0600058D RID: 1421 RVA: 0x0000E21C File Offset: 0x0000C41C
2787 public static byte[] FromBase64CharArray(char[] inArray, int offset, int length)
2788 {
2789 if (true)
2790 {
2791 byte[] array;
2792 return array;
2793 }
2794 return "Index was out of range. Must be non-negative and less than the size of the collection.";
2795 }
2796
2797 // Token: 0x0600058E RID: 1422 RVA: 0x0000E23C File Offset: 0x0000C43C
2798 private unsafe static byte[] FromBase64CharPtr(char* inputPtr, int inputLength)
2799 {
2800 /*
2801An exception occurred when decompiling this method (0600058E)
2802
2803ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Byte[] System.Convert::FromBase64CharPtr(System.Char*,System.Int32)
2804
2805 ---> System.Exception: Basic block has to end with unconditional control flow.
2806{
2807 Block_0:
2808 call:void(ThrowHelper::ThrowArgumentOutOfRangeException)
2809}
2810
2811 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
2812 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
2813 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
2814 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
2815 --- End of inner exception stack trace ---
2816 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
2817 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
2818*/;
2819 }
2820
2821 // Token: 0x0600058F RID: 1423 RVA: 0x0000E250 File Offset: 0x0000C450
2823 {
2824 }
2825
2826 // Token: 0x06000590 RID: 1424 RVA: 0x0000E260 File Offset: 0x0000C460
2827 // Note: this type is marked as 'beforefieldinit'.
2828 static Convert()
2829 {
2830 Type type;
2831 Type type2;
2832 Type type3;
2833 Type type4;
2834 Type type5;
2835 Type type6;
2836 Type type7;
2837 Type type8;
2838 Type type9;
2839 Type type10;
2840 Type type11;
2841 Type type12;
2842 Type type13;
2843 Type type14;
2844 Type type15;
2845 Type type16;
2846 Type type17;
2847 Type type18;
2848 Type type19;
2849 if ((type == null || type != null) && (type2 == null || type2 != null) && (type3 == null || type3 != null) && (type4 == null || type4 != null) && (type5 == null || type5 != null) && (type6 == null || type6 != null) && (type7 == null || type7 != null) && (type8 == null || type8 != null) && (type9 == null || type9 != null) && (type10 == null || type10 != null) && (type11 == null || type11 != null) && (type12 == null || type12 != null) && (type13 == null || type13 != null) && (type14 == null || type14 != null) && (type15 == null || type15 != null) && (type16 == null || type16 != null) && (type17 == null || type17 != null) && (type18 == null || type18 != null) && (type19 == null || type19 != null))
2850 {
2851 return;
2852 }
2853 throw new ArrayTypeMismatchException();
2854 }
2855
2856 // Token: 0x04000217 RID: 535
2857 private static readonly sbyte[] s_decodingMap;
2858
2859 // Token: 0x04000218 RID: 536
2860 internal static readonly Type[] ConvertTypes;
2861
2862 // Token: 0x04000219 RID: 537
2863 private static readonly Type EnumType;
2864
2865 // Token: 0x0400021A RID: 538
2866 internal static readonly char[] base64Table;
2867
2868 // Token: 0x0400021B RID: 539
2869 public static readonly object DBNull;
2870 }
2871}
class f__AnonymousType0<< Count > j__TPar
static ushort ToUInt16(char value)
Definition Convert.cs:1210
static float ToSingle(decimal value)
Definition Convert.cs:2160
static bool ToBoolean(float value)
Definition Convert.cs:287
static decimal ToDecimal(float value)
Definition Convert.cs:2396
static float ToSingle(bool value)
Definition Convert.cs:2193
static object ChangeType(object value, Type conversionType)
Definition Convert.cs:134
static void CopyToTempBufferWithoutWhiteSpace(ReadOnlySpan< char > chars, Span< char > tempBuffer, [Out] int consumed, [Out] int charsWritten)
Definition Convert.cs:2773
static sbyte ToSByte(float value)
Definition Convert.cs:699
static sbyte ToSByte(double value)
Definition Convert.cs:709
static short ToInt16(string value, int fromBase)
Definition Convert.cs:2570
static byte ToByte(decimal value)
Definition Convert.cs:961
static byte ToByte(string value, int fromBase)
Definition Convert.cs:2521
static float ToSingle(ulong value)
Definition Convert.cs:2148
static short ToInt16(ushort value)
Definition Convert.cs:1037
static uint ToUInt32(object value)
Definition Convert.cs:1572
static void ThrowInt32OverflowException()
Definition Convert.cs:190
static DateTime ToDateTime(string value, IFormatProvider provider)
Definition Convert.cs:2466
static byte ToByte(float value)
Definition Convert.cs:946
static ushort ToUInt16(float value)
Definition Convert.cs:1374
static decimal ToDecimal(bool value)
Definition Convert.cs:2446
static ushort ToUInt16(bool value)
Definition Convert.cs:1203
static byte ToByte(bool value)
Definition Convert.cs:744
static double ToDouble(float value)
Definition Convert.cs:2257
static char ToChar(sbyte value)
Definition Convert.cs:317
static uint ToUInt32(long value)
Definition Convert.cs:1691
static ulong ToUInt64(ushort value)
Definition Convert.cs:1994
static ushort ToUInt16(string value, IFormatProvider provider)
Definition Convert.cs:1405
static long ToInt64(string value, int fromBase)
Definition Convert.cs:2632
static long ToInt64(short value)
Definition Convert.cs:1813
static sbyte ToSByte(ushort value)
Definition Convert.cs:574
static uint ToUInt32(char value)
Definition Convert.cs:1595
static uint ToUInt32(ulong value)
Definition Convert.cs:1716
static ulong ToUInt64(long value)
Definition Convert.cs:2033
static short ToInt16(object value, IFormatProvider provider)
Definition Convert.cs:986
static sbyte ToSByte(char value)
Definition Convert.cs:499
static sbyte ToSByte(uint value)
Definition Convert.cs:624
static sbyte ToSByte(object value, IFormatProvider provider)
Definition Convert.cs:484
static double ToDouble(decimal value)
Definition Convert.cs:2263
static short ToInt16(char value)
Definition Convert.cs:999
static sbyte ToSByte(bool value)
Definition Convert.cs:492
static unsafe int FromBase64_ComputeResultLength(char *inputPtr, int inputLength)
Definition Convert.cs:2822
static ulong ToUInt64(decimal value)
Definition Convert.cs:2078
static uint ToUInt32(sbyte value)
Definition Convert.cs:1602
static long ToInt64(object value)
Definition Convert.cs:1776
static decimal ToDecimal(sbyte value)
Definition Convert.cs:2313
static byte ToByte(int value)
Definition Convert.cs:848
static string ToString(int value)
Definition Convert.cs:2503
static long ToInt64(double value)
Definition Convert.cs:1873
static float ToSingle(uint value)
Definition Convert.cs:2135
static decimal ToDecimal(int value)
Definition Convert.cs:2354
static ushort ToUInt16(object value, IFormatProvider provider)
Definition Convert.cs:1195
static uint ToUInt32(decimal value)
Definition Convert.cs:1758
static long ToInt64(string value)
Definition Convert.cs:1892
static ushort ToUInt16(string value, int fromBase)
Definition Convert.cs:2595
static double ToDouble(ulong value)
Definition Convert.cs:2251
static double ToDouble(string value, IFormatProvider provider)
Definition Convert.cs:2290
static ushort ToUInt16(byte value)
Definition Convert.cs:1242
static byte ToByte(short value)
Definition Convert.cs:799
static byte ToByte(long value)
Definition Convert.cs:897
static bool ToBoolean(sbyte value)
Definition Convert.cs:229
static double ToDouble(short value)
Definition Convert.cs:2218
static long ToInt64(float value)
Definition Convert.cs:1864
static ulong ToUInt64(string value, int fromBase)
Definition Convert.cs:2640
static decimal ToDecimal(ushort value)
Definition Convert.cs:2344
static string ToBase64String(byte[] inArray, int offset, int length, Base64FormattingOptions options)
Definition Convert.cs:2662
static string ToBase64String(byte[] inArray, int offset, int length)
Definition Convert.cs:2652
static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut)
Definition Convert.cs:2698
static int ToInt32(uint value)
Definition Convert.cs:1458
static short ToInt16(uint value)
Definition Convert.cs:1086
static uint ToUInt32(int value)
Definition Convert.cs:1666
static uint ToUInt32(string value, int fromBase)
Definition Convert.cs:2627
static int ToInt32(double value)
Definition Convert.cs:1540
static byte[] FromBase64CharArray(char[] inArray, int offset, int length)
Definition Convert.cs:2787
static int ToInt32(bool value)
Definition Convert.cs:1426
static bool ToBoolean(long value)
Definition Convert.cs:267
static void ThrowInt64OverflowException()
Definition Convert.cs:202
static int Decode(char encodedChars, sbyte decodingMap)
Definition Convert.cs:38
static char ToChar(ulong value)
Definition Convert.cs:452
static bool ToBoolean(ushort value)
Definition Convert.cs:248
static TypeCode GetTypeCode(object value)
Definition Convert.cs:49
static sbyte ToSByte(string value, int fromBase)
Definition Convert.cs:2546
static DateTime ToDateTime(object value, IFormatProvider provider)
Definition Convert.cs:2456
static ushort ToUInt16(decimal value)
Definition Convert.cs:1394
static short ToInt16(sbyte value)
Definition Convert.cs:1024
static object ChangeType(object value, TypeCode typeCode, IFormatProvider provider)
Definition Convert.cs:73
static ulong ToUInt64(int value)
Definition Convert.cs:2001
static string ToBase64String(ReadOnlySpan< byte > bytes, Base64FormattingOptions options=Base64FormattingOptions.None)
Definition Convert.cs:2674
static bool ToBoolean(short value)
Definition Convert.cs:241
static decimal ToDecimal(ulong value)
Definition Convert.cs:2386
static void ThrowByteOverflowException()
Definition Convert.cs:166
static readonly char[] base64Table
Definition Convert.cs:2866
static bool ToBoolean(object value, IFormatProvider provider)
Definition Convert.cs:214
static int ToInt32(decimal value)
Definition Convert.cs:1546
static int ToInt32(string value, IFormatProvider provider)
Definition Convert.cs:1564
static byte[] FromBase64String(string s)
Definition Convert.cs:2736
static string ToString(object value, IFormatProvider provider)
Definition Convert.cs:2490
static double ToDouble(ushort value)
Definition Convert.cs:2225
static void ThrowSByteOverflowException()
Definition Convert.cs:172
static readonly sbyte[] s_decodingMap
Definition Convert.cs:2857
static ulong ToUInt64(float value)
Definition Convert.cs:2058
static Convert()
Definition Convert.cs:2828
static ushort ToUInt16(short value)
Definition Convert.cs:1249
static double ToDouble(byte value)
Definition Convert.cs:2212
static short ToInt16(int value)
Definition Convert.cs:1061
static decimal ToDecimal(byte value)
Definition Convert.cs:2323
static double ToDouble(bool value)
Definition Convert.cs:2296
static void WriteThreeLowOrderBytes(byte destination, int value)
Definition Convert.cs:44
static float ToSingle(short value)
Definition Convert.cs:2115
static bool ToBoolean(string value, IFormatProvider provider)
Definition Convert.cs:280
static uint ToUInt32(byte value)
Definition Convert.cs:1627
static int ToInt32(object value)
Definition Convert.cs:1412
static double ToDouble(object value, IFormatProvider provider)
Definition Convert.cs:2199
static int ToBase64_CalculateAndValidateOutputLength(int inputLength, bool insertLineBreaks)
Definition Convert.cs:2731
static long ToInt64(uint value)
Definition Convert.cs:1833
static short ToInt16(double value)
Definition Convert.cs:1168
static uint ToUInt32(double value)
Definition Convert.cs:1751
static decimal ToDecimal(long value)
Definition Convert.cs:2375
static byte ToByte(char value)
Definition Convert.cs:750
static long ToInt64(sbyte value)
Definition Convert.cs:1801
static byte ToByte(sbyte value)
Definition Convert.cs:775
static int ToInt32(ushort value)
Definition Convert.cs:1451
static readonly Type EnumType
Definition Convert.cs:2863
static uint ToUInt32(ushort value)
Definition Convert.cs:1659
static char ToChar(ushort value)
Definition Convert.cs:372
static short ToInt16(long value)
Definition Convert.cs:1110
static int ToInt32(string value)
Definition Convert.cs:1556
static long ToInt64(decimal value)
Definition Convert.cs:1882
static sbyte ToSByte(byte value)
Definition Convert.cs:524
static uint ToUInt32(short value)
Definition Convert.cs:1634
static float ToSingle(double value)
Definition Convert.cs:2154
static byte ToByte(string value)
Definition Convert.cs:971
static bool ToBoolean(byte value)
Definition Convert.cs:235
static ushort ToUInt16(sbyte value)
Definition Convert.cs:1217
static bool ToBoolean(int value)
Definition Convert.cs:254
static ulong ToUInt64(char value)
Definition Convert.cs:1930
static ulong ToUInt64(short value)
Definition Convert.cs:1969
static short ToInt16(ulong value)
Definition Convert.cs:1135
static sbyte ToSByte(decimal value)
Definition Convert.cs:719
static char ToChar(uint value)
Definition Convert.cs:403
static byte ToByte(ushort value)
Definition Convert.cs:824
static int ToInt32(string value, int fromBase)
Definition Convert.cs:2619
static short ToInt16(string value, IFormatProvider provider)
Definition Convert.cs:1187
static object ChangeType(object value, Type conversionType, IFormatProvider provider)
Definition Convert.cs:145
static sbyte ToSByte(long value)
Definition Convert.cs:649
static char ToChar(short value)
Definition Convert.cs:347
static byte ToByte(double value)
Definition Convert.cs:955
static float ToSingle(byte value)
Definition Convert.cs:2109
static int ToInt32(float value)
Definition Convert.cs:1531
static bool IsSpace(this char c)
Definition Convert.cs:2781
static long ToInt64(byte value)
Definition Convert.cs:1807
static void ThrowCharOverflowException()
Definition Convert.cs:160
static sbyte ToSByte(ulong value)
Definition Convert.cs:674
static long ToInt64(ulong value)
Definition Convert.cs:1840
static long ToInt64(object value, IFormatProvider provider)
Definition Convert.cs:1782
static uint ToUInt32(bool value)
Definition Convert.cs:1588
static byte ToByte(uint value)
Definition Convert.cs:873
static ulong ToUInt64(string value, IFormatProvider provider)
Definition Convert.cs:2089
static uint ToUInt32(float value)
Definition Convert.cs:1741
static char ToChar(byte value)
Definition Convert.cs:341
static decimal ToDecimal(string value, IFormatProvider provider)
Definition Convert.cs:2416
static long ToInt64(bool value)
Definition Convert.cs:1788
static void ThrowUInt64OverflowException()
Definition Convert.cs:208
static short ToInt16(bool value)
Definition Convert.cs:993
static float ToSingle(object value, IFormatProvider provider)
Definition Convert.cs:2096
static sbyte ToSByte(int value)
Definition Convert.cs:599
static readonly Type[] ConvertTypes
Definition Convert.cs:2860
static sbyte ToSByte(string value, IFormatProvider provider)
Definition Convert.cs:730
static double ToDouble(long value)
Definition Convert.cs:2244
static byte ToByte(string value, IFormatProvider provider)
Definition Convert.cs:979
static uint ToUInt32(object value, IFormatProvider provider)
Definition Convert.cs:1580
static long ToInt64(char value)
Definition Convert.cs:1794
static ushort ToUInt16(double value)
Definition Convert.cs:1384
static short ToInt16(float value)
Definition Convert.cs:1159
static bool ToBoolean(double value)
Definition Convert.cs:293
static double ToDouble(uint value)
Definition Convert.cs:2238
static string ToBase64String(byte[] inArray)
Definition Convert.cs:2645
static ulong ToUInt64(object value, IFormatProvider provider)
Definition Convert.cs:1915
static int ToInt32(long value)
Definition Convert.cs:1482
static unsafe byte[] FromBase64CharPtr(char *inputPtr, int inputLength)
Definition Convert.cs:2798
static sbyte ToSByte(short value)
Definition Convert.cs:549
static ushort ToUInt16(long value)
Definition Convert.cs:1324
static double ToDouble(int value)
Definition Convert.cs:2231
static int ToInt32(ulong value)
Definition Convert.cs:1507
static int ToInt32(short value)
Definition Convert.cs:1444
static decimal ToDecimal(uint value)
Definition Convert.cs:2365
static bool ToBoolean(uint value)
Definition Convert.cs:261
static int ToInt32(char value)
Definition Convert.cs:1432
static int ToInt32(byte value)
Definition Convert.cs:1438
static float ToSingle(int value)
Definition Convert.cs:2128
static short ToInt16(decimal value)
Definition Convert.cs:1177
static long ToInt64(string value, IFormatProvider provider)
Definition Convert.cs:1900
static char ToChar(long value)
Definition Convert.cs:427
static bool ToBoolean(decimal value)
Definition Convert.cs:299
static int ToBase64CharArray(byte[] inArray, int offsetIn, int length, char[] outArray, int offsetOut, Base64FormattingOptions options)
Definition Convert.cs:2708
static char ToChar(string value, IFormatProvider provider)
Definition Convert.cs:476
static long ToInt64(int value)
Definition Convert.cs:1826
static double ToDouble(sbyte value)
Definition Convert.cs:2206
static byte ToByte(ulong value)
Definition Convert.cs:922
static ulong ToUInt64(sbyte value)
Definition Convert.cs:1937
static void ThrowUInt16OverflowException()
Definition Convert.cs:184
static bool TryDecodeFromUtf16(ReadOnlySpan< char > utf16, Span< byte > bytes, [Out] int consumed, [Out] int written)
Definition Convert.cs:13
static float ToSingle(sbyte value)
Definition Convert.cs:2103
static object DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
Definition Convert.cs:119
static decimal ToDecimal(object value, IFormatProvider provider)
Definition Convert.cs:2302
static void ThrowInt16OverflowException()
Definition Convert.cs:178
static ushort ToUInt16(uint value)
Definition Convert.cs:1299
static long ToInt64(ushort value)
Definition Convert.cs:1820
static uint ToUInt32(string value, IFormatProvider provider)
Definition Convert.cs:1769
static readonly object DBNull
Definition Convert.cs:2869
static char ToChar(int value)
Definition Convert.cs:378
static short ToInt16(byte value)
Definition Convert.cs:1030
static byte ToByte(object value, IFormatProvider provider)
Definition Convert.cs:737
static unsafe int ConvertToBase64Array(char *outChars, byte *inData, int offset, int length, bool insertLineBreaks)
Definition Convert.cs:2726
static int ToInt32(object value, IFormatProvider provider)
Definition Convert.cs:1419
static ulong ToUInt64(uint value)
Definition Convert.cs:2026
static ulong ToUInt64(double value)
Definition Convert.cs:2068
static bool ToBoolean(ulong value)
Definition Convert.cs:274
static decimal ToDecimal(short value)
Definition Convert.cs:2333
static string ToString(int value, IFormatProvider provider)
Definition Convert.cs:2514
static ulong ToUInt64(object value)
Definition Convert.cs:1908
static ulong ToUInt64(bool value)
Definition Convert.cs:1923
static ushort ToUInt16(ulong value)
Definition Convert.cs:1349
static ulong ToUInt64(byte value)
Definition Convert.cs:1962
static string ToString(char value, IFormatProvider provider)
Definition Convert.cs:2496
static bool TryFromBase64Chars(ReadOnlySpan< char > chars, Span< byte > bytes, [Out] int bytesWritten)
Definition Convert.cs:2744
static ushort ToUInt16(int value)
Definition Convert.cs:1274
static float ToSingle(ushort value)
Definition Convert.cs:2122
static char ToChar(object value, IFormatProvider provider)
Definition Convert.cs:309
static float ToSingle(long value)
Definition Convert.cs:2141
static float ToSingle(string value, IFormatProvider provider)
Definition Convert.cs:2187
static decimal ToDecimal(double value)
Definition Convert.cs:2406
static void ThrowUInt32OverflowException()
Definition Convert.cs:196
static CultureInfo CurrentCulture
static void ThrowArgumentOutOfRangeException()
TypeCode
Definition TypeCode.cs:7