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

◆ ParseDate()

bool Newtonsoft.Json.Utilities.DateTimeParser.ParseDate ( int start)
inlineprivate

Definition at line 43 of file DateTimeParser.cs.

44 {
45 /*
46An exception occurred when decompiling this method (060002B1)
47
48ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.Utilities.DateTimeParser::ParseDate(System.Int32)
49
50 ---> System.Exception: Basic block has to end with unconditional control flow.
51{
52 IL_0003:
53 stloc:int32(var_1_09, ldfld:int32(DateTimeParser::_end, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
54 stloc:char[](var_2_10, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
55 stloc:char[](var_3_17, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
56 stloc:int32(var_4_1E, ldfld:int32(DateTimeParser::_end, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
57 stloc:char[](var_5_26, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
58 stloc:int32(var_6_2E, ldfld:int32(DateTimeParser::_end, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
59 stloc:char[](var_7_36, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
60 stloc:int32(var_8_3E, ldfld:int32(DateTimeParser::Year, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
61 stloc:int32(var_9_46, ldfld:int32(DateTimeParser::Day, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
62 stloc:int32(var_10_51, call:int32(DateTime::DaysInMonth, ldloc:int32(var_8_3E), ldloc:int32(var_9_46)))
63}
64
65 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
66 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
67 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
68 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
69 --- End of inner exception stack trace ---
70 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
71 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
72*/;
73 }