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

◆ SmallPrimeSppTest()

static bool Mono.Math.Prime.PrimalityTests.SmallPrimeSppTest ( BigInteger bi,
ConfidenceFactor confidence )
inlinestatic

Definition at line 57 of file PrimalityTests.cs.

58 {
59 /*
60An exception occurred when decompiling this method (06000206)
61
62ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Mono.Math.Prime.PrimalityTests::SmallPrimeSppTest(Mono.Math.BigInteger,Mono.Math.Prime.ConfidenceFactor)
63
64 ---> System.Exception: Basic block has to end with unconditional control flow.
65{
66 Block_0:
67 stloc:BigInteger(var_1_06, call:BigInteger(BigInteger::op_Implicit, ldc.i4:int32(1)))
68 stloc:BigInteger(var_2_0E, call:BigInteger(BigInteger::op_Subtraction, ldloc:BigInteger(var_1_06), ldloc:BigInteger(var_1_06)))
69 stloc:int32(var_3_15, call:int32(BigInteger::LowestSetBit, ldloc:BigInteger(var_2_0E)))
70 stloc:BigInteger(var_4_1D, call:BigInteger(Kernel::RightShift, ldloc:BigInteger(var_2_0E), ldloc:int32(var_3_15)))
71 stloc:int32(var_7_23, ldc.i4:int32(1))
72 stloc:bool(var_8_2E, call:bool(BigInteger::op_Equality, ldloc:BigInteger(var_6), ldloc:int32[exp:uint32](var_7_23)))
73 stloc:bool(var_9_38, call:bool(BigInteger::op_Equality, ldloc:BigInteger(var_6), ldloc:BigInteger(var_2_0E)))
74 stloc:class Mono.Math.BigInteger[](var_10_4A, call:class Mono.Math.BigInteger[](Kernel::multiByteDivide, call:BigInteger(BigInteger::op_Multiply, ldloc:BigInteger(var_6), ldloc:BigInteger(var_6)), ldloc:BigInteger(var_6)))
75}
76
77 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
78 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
79 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
80 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
81 --- End of inner exception stack trace ---
82 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
83 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
84*/;
85 }