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

◆ InternalGetNumericValue()

static double System.Globalization.CharUnicodeInfo.InternalGetNumericValue ( int ch)
inlinestaticpackage

Definition at line 16 of file CharUnicodeInfo.cs.

17 {
18 /*
19An exception occurred when decompiling this method (06002A51)
20
21ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Double System.Globalization.CharUnicodeInfo::InternalGetNumericValue(System.Int32)
22
23 ---> System.Exception: Basic block has to end with unconditional control flow.
24{
25 Block_0:
26 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_0_05, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel1Index))
27 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_1_0B, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel1Index))
28 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_2_11, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel2Index))
29 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_3_17, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericLevel3Index))
30 stloc:valuetype System.ReadOnlySpan`1<uint8>(var_4_1D, callgetter:ReadOnlySpan`1[exp:valuetype System.ReadOnlySpan`1<uint8>](CharUnicodeInfo::get_NumericValues))
31 stloc:uint8(var_6_26, ldfld:uint8(uint8::m_value, ldloc:uint8[exp:uint8&](var_5)))
32}
33
34 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
35 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
36 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
37 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
38 --- End of inner exception stack trace ---
39 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
40 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
41*/;
42 }