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
BigInteger.cs
Go to the documentation of this file.
1using System;
5
6namespace System.Numerics
7{
8 // Token: 0x02000002 RID: 2
10 public readonly struct BigInteger : IFormattable, IComparable, IComparable<BigInteger>, IEquatable<BigInteger>
11 {
12 // Token: 0x06000001 RID: 1 RVA: 0x00002050 File Offset: 0x00000250
13 public BigInteger(int value)
14 {
15 if (32768 == 0)
16 {
17 }
18 this._sign = 32768;
19 }
20
21 // Token: 0x06000002 RID: 2 RVA: 0x00002070 File Offset: 0x00000270
22 public BigInteger(long value)
23 {
24 if (-2147483648 == 0)
25 {
26 }
27 }
28
29 // Token: 0x06000003 RID: 3 RVA: 0x00002098 File Offset: 0x00000298
30 [CLSCompliant(false)]
31 public BigInteger(byte[] value)
32 {
33 while (value == null)
34 {
35 }
36 }
37
38 // Token: 0x06000004 RID: 4 RVA: 0x000020A8 File Offset: 0x000002A8
39 public BigInteger(ReadOnlySpan<byte> value, bool isUnsigned = false, bool isBigEndian = false)
40 {
41 }
42
43 // Token: 0x06000005 RID: 5 RVA: 0x00002158 File Offset: 0x00000358
44 internal BigInteger(int n, uint[] rgu)
45 {
46 this._sign = n;
48 }
49
50 // Token: 0x06000006 RID: 6 RVA: 0x00002174 File Offset: 0x00000374
51 internal BigInteger(uint[] value, bool negative)
52 {
53 while (value == null)
54 {
55 }
56 }
57
58 // Token: 0x17000001 RID: 1
59 // (get) Token: 0x06000007 RID: 7 RVA: 0x00002190 File Offset: 0x00000390
60 public static BigInteger MinusOne
61 {
62 get
63 {
64 if (!true)
65 {
66 }
67 return 1;
68 }
69 }
70
71 // Token: 0x06000008 RID: 8 RVA: 0x000021A4 File Offset: 0x000003A4
72 public override int GetHashCode()
73 {
74 /*
75An exception occurred when decompiling this method (06000008)
76
77ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Numerics.BigInteger::GetHashCode()
78
79 ---> System.Exception: Basic block has to end with unconditional control flow.
80{
81 IL_0000:
82 brtrue(IL_0000, logicnot:bool(ldfld:uint32[][exp:bool](BigInteger::_bits, ldloc:valuetype System.Numerics.BigInteger&(this))))
83}
84
85 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
86 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
87 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
88 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
89 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
90 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
91 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
92 --- End of inner exception stack trace ---
93 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
94 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
95*/;
96 }
97
98 // Token: 0x06000009 RID: 9 RVA: 0x000021B8 File Offset: 0x000003B8
99 public override bool Equals(object obj)
100 {
101 if (obj != null)
102 {
103 }
104 bool flag;
105 return flag;
106 }
107
108 // Token: 0x0600000A RID: 10 RVA: 0x000021CC File Offset: 0x000003CC
110 {
111 while (this._bits == null)
112 {
113 }
114 }
115
116 // Token: 0x0600000B RID: 11 RVA: 0x000021E8 File Offset: 0x000003E8
118 {
119 /*
120An exception occurred when decompiling this method (0600000B)
121
122ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Numerics.BigInteger::CompareTo(System.Numerics.BigInteger)
123
124 ---> System.Exception: Basic block has to end with unconditional control flow.
125{
126 IL_000A:
127 stloc:uint32[](var_1_10, ldfld:uint32[](BigInteger::_bits, ldloc:valuetype System.Numerics.BigInteger&(this)))
128}
129
130 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
131 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
132 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
133 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
134 --- End of inner exception stack trace ---
135 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
136 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
137*/;
138 }
139
140 // Token: 0x0600000C RID: 12 RVA: 0x00002208 File Offset: 0x00000408
141 public int CompareTo(object obj)
142 {
143 if (obj != null)
144 {
145 int num;
146 return num;
147 }
148 return 1;
149 }
150
151 // Token: 0x0600000D RID: 13 RVA: 0x0000221C File Offset: 0x0000041C
152 public bool TryWriteBytes(Span<byte> destination, [Out] int bytesWritten, bool isUnsigned = false, bool isBigEndian = false)
153 {
154 byte[] array;
155 return array == null || true;
156 }
157
158 // Token: 0x0600000E RID: 14 RVA: 0x0000222F File Offset: 0x0000042F
159 internal bool TryWriteOrCountBytes(Span<byte> destination, [Out] int bytesWritten, bool isUnsigned = false, bool isBigEndian = false)
160 {
161 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
162 }
163
164 // Token: 0x0600000F RID: 15 RVA: 0x0000223C File Offset: 0x0000043C
166 {
167 uint[] bits = this._bits;
168 long num;
169 if (bits != null)
170 {
171 num = 0L;
172 if (mode != BigInteger.GetBytesMode.AllocateArray)
173 {
174 goto IL_0068;
175 }
176 }
177 while (num == 0L)
178 {
179 }
180 int num2 = 255;
181 int num3 = 2;
182 if (bits != null)
183 {
184 }
185 if (mode == BigInteger.GetBytesMode.AllocateArray)
186 {
187 }
188 long num4;
189 if (bits != null)
190 {
191 num4 = 0L;
192 }
193 Span span;
194 if (num3 != 0)
195 {
198 }
199 if (!isUnsigned)
200 {
201 goto IL_0076;
202 }
204 long num5 = 0L;
205 IL_0068:
206 int num6 = 1;
207 if (num5 == 0L || num6 == 0)
208 {
209 }
210 IL_0076:
211 throw new OverflowException();
212 }
213
214 // Token: 0x06000010 RID: 16 RVA: 0x000022C4 File Offset: 0x000004C4
215 public override string ToString()
216 {
217 int sign = this._sign;
218 uint[] bits = this._bits;
220 string text;
221 return text;
222 }
223
224 // Token: 0x06000011 RID: 17 RVA: 0x000022EC File Offset: 0x000004EC
225 public string ToString(string format, IFormatProvider provider)
226 {
227 int sign = this._sign;
228 uint[] bits = this._bits;
229 NumberFormatInfo instance = NumberFormatInfo.GetInstance(provider);
230 string text;
231 return text;
232 }
233
234 // Token: 0x06000012 RID: 18 RVA: 0x00002310 File Offset: 0x00000510
235 private static BigInteger Add(uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
236 {
237 /*
238An exception occurred when decompiling this method (06000012)
239
240ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Numerics.BigInteger System.Numerics.BigInteger::Add(System.UInt32[],System.Int32,System.UInt32[],System.Int32)
241
242 ---> System.Exception: Basic block has to end with unconditional control flow.
243{
244 IL_0009:
245 stloc:uint32[](var_0_10, call:uint32[](BigIntegerCalculator::Add, ldloc:uint32[](leftBits), ldloc:uint32[][exp:uint32](rightBits)))
246 stloc:uint32[](var_1_18, call:uint32[](BigIntegerCalculator::Add, ldloc:uint32[](leftBits), ldloc:uint32[](rightBits)))
247}
248
249 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
250 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
251 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
252 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
253 --- End of inner exception stack trace ---
254 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
255 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
256*/;
257 }
258
259 // Token: 0x06000013 RID: 19 RVA: 0x00002338 File Offset: 0x00000538
260 private static BigInteger Subtract(uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
261 {
262 /*
263An exception occurred when decompiling this method (06000013)
264
265ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Numerics.BigInteger System.Numerics.BigInteger::Subtract(System.UInt32[],System.Int32,System.UInt32[],System.Int32)
266
267 ---> System.Exception: Basic block has to end with unconditional control flow.
268{
269 IL_0013:
270 stloc:uint32[](var_2_1A, call:uint32[](BigIntegerCalculator::Subtract, ldloc:uint32[](leftBits), ldloc:uint32[][exp:uint32](rightBits)))
271 stloc:uint32[](var_3_22, call:uint32[](BigIntegerCalculator::Subtract, ldloc:uint32[](leftBits), ldloc:uint32[](rightBits)))
272 stloc:uint32[](var_4_2A, call:uint32[](BigIntegerCalculator::Subtract, ldloc:uint32[](rightBits), ldloc:uint32[](leftBits)))
273}
274
275 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
276 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
277 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
278 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
279 --- End of inner exception stack trace ---
280 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
281 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
282*/;
283 }
284
285 // Token: 0x06000014 RID: 20 RVA: 0x00002370 File Offset: 0x00000570
286 public static implicit operator BigInteger(byte value)
287 {
289 return bigInteger;
290 }
291
292 // Token: 0x06000015 RID: 21 RVA: 0x00002380 File Offset: 0x00000580
293 public static implicit operator BigInteger(int value)
294 {
296 return bigInteger;
297 }
298
299 // Token: 0x06000016 RID: 22 RVA: 0x00002390 File Offset: 0x00000590
300 public static implicit operator BigInteger(long value)
301 {
303 return bigInteger;
304 }
305
306 // Token: 0x06000017 RID: 23 RVA: 0x000023A0 File Offset: 0x000005A0
307 public static explicit operator int(BigInteger value)
308 {
309 while (value == null)
310 {
311 }
312 throw new OverflowException();
313 }
314
315 // Token: 0x06000018 RID: 24 RVA: 0x000023BC File Offset: 0x000005BC
316 public static BigInteger operator <<(BigInteger value, int shift)
317 {
318 /*
319An exception occurred when decompiling this method (06000018)
320
321ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Numerics.BigInteger System.Numerics.BigInteger::op_LeftShift(System.Numerics.BigInteger,System.Int32)
322
323 ---> System.Exception: Basic block has to end with unconditional control flow.
324{
325 IL_0011:
326 stloc:BigInteger(var_3_18, call:BigInteger(BigInteger::op_RightShift, ldloc:BigInteger(value), ldloc:bool[exp:int32](var_2)))
327}
328
329 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
330 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
331 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
332 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
333 --- End of inner exception stack trace ---
334 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
335 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
336*/;
337 }
338
339 // Token: 0x06000019 RID: 25 RVA: 0x000023E4 File Offset: 0x000005E4
340 public static BigInteger operator >>(BigInteger value, int shift)
341 {
342 /*
343An exception occurred when decompiling this method (06000019)
344
345ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Numerics.BigInteger System.Numerics.BigInteger::op_RightShift(System.Numerics.BigInteger,System.Int32)
346
347 ---> System.Exception: Basic block has to end with unconditional control flow.
348{
349 IL_0021:
350 brtrue(IL_0000, ldc.i4:bool(1))
351}
352
353 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
354 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
355 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
356 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
357 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
358 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
359 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
360 --- End of inner exception stack trace ---
361 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
362 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
363*/;
364 }
365
366 // Token: 0x0600001A RID: 26 RVA: 0x00002414 File Offset: 0x00000614
367 public static BigInteger operator +(BigInteger left, BigInteger right)
368 {
369 if (true)
370 {
371 return 1;
372 }
373 return 1;
374 }
375
376 // Token: 0x0600001B RID: 27 RVA: 0x00002428 File Offset: 0x00000628
377 private static bool GetPartsForBitManipulation(BigInteger x, [Out] uint[] xd, [Out] int xl)
378 {
379 /*
380An exception occurred when decompiling this method (0600001B)
381
382ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean System.Numerics.BigInteger::GetPartsForBitManipulation(System.Numerics.BigInteger,System.UInt32[],System.Int32)
383
384 ---> System.Exception: Basic block has to end with unconditional control flow.
385{
386 IL_000A:
387 stfld:uint32(uint32::m_value, ldloc:uint32[][exp:uint32&](xd), ldc.i4:uint32(1))
388}
389
390 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
391 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
392 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
393 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
394 --- End of inner exception stack trace ---
395 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
396 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
397*/;
398 }
399
400 // Token: 0x0600001C RID: 28 RVA: 0x00002448 File Offset: 0x00000648
401 internal static int GetDiffLength(uint[] rgu1, uint[] rgu2, int cu)
402 {
403 }
404
405 // Token: 0x0600001D RID: 29 RVA: 0x00002458 File Offset: 0x00000658
406 // Note: this type is marked as 'beforefieldinit'.
407 static BigInteger()
408 {
409 }
410
411 // Token: 0x04000001 RID: 1
412 internal readonly int _sign;
413
414 // Token: 0x04000002 RID: 2
415 internal readonly uint[] _bits;
416
417 // Token: 0x04000003 RID: 3
419
420 // Token: 0x04000004 RID: 4
422
423 // Token: 0x04000005 RID: 5
425
426 // Token: 0x04000006 RID: 6
428
429 // Token: 0x04000007 RID: 7
430 private static readonly byte[] s_success;
431
432 // Token: 0x02000003 RID: 3
433 private enum GetBytesMode
434 {
435 // Token: 0x04000009 RID: 9
437 // Token: 0x0400000A RID: 10
438 Count,
439 // Token: 0x0400000B RID: 11
440 Span
441 }
442 }
443}
class f__AnonymousType0<< Count > j__TPar
static NumberFormatInfo GetInstance(IFormatProvider formatProvider)
string ToString(string format, IFormatProvider provider)
bool TryWriteOrCountBytes(Span< byte > destination, [Out] int bytesWritten, bool isUnsigned=false, bool isBigEndian=false)
byte[] TryGetBytes(BigInteger.GetBytesMode mode, Span< byte > destination, bool isUnsigned, bool isBigEndian, int bytesWritten)
static readonly BigInteger s_bnMinusOneInt
static readonly BigInteger s_bnOneInt
int CompareTo(BigInteger other)
static BigInteger operator+(BigInteger left, BigInteger right)
static BigInteger operator<<(BigInteger value, int shift)
bool Equals(BigInteger other)
static readonly BigInteger s_bnZeroInt
override int GetHashCode()
Definition BigInteger.cs:72
override string ToString()
static bool GetPartsForBitManipulation(BigInteger x, [Out] uint[] xd, [Out] int xl)
static readonly BigInteger s_bnMinInt
BigInteger(uint[] value, bool negative)
Definition BigInteger.cs:51
override bool Equals(object obj)
Definition BigInteger.cs:99
BigInteger(ReadOnlySpan< byte > value, bool isUnsigned=false, bool isBigEndian=false)
Definition BigInteger.cs:39
static readonly byte[] s_success
static BigInteger MinusOne
Definition BigInteger.cs:61
int CompareTo(object obj)
static BigInteger operator>>(BigInteger value, int shift)
bool TryWriteBytes(Span< byte > destination, [Out] int bytesWritten, bool isUnsigned=false, bool isBigEndian=false)
static BigInteger Add(uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
BigInteger(int n, uint[] rgu)
Definition BigInteger.cs:44
static BigInteger Subtract(uint[] leftBits, int leftSign, uint[] rightBits, int rightSign)
static int GetDiffLength(uint[] rgu1, uint[] rgu2, int cu)