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

◆ ParseZone()

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

Definition at line 111 of file DateTimeParser.cs.

112 {
113 /*
114An exception occurred when decompiling this method (060002B4)
115
116ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.Utilities.DateTimeParser::ParseZone(System.Int32)
117
118 ---> System.Exception: Basic block has to end with unconditional control flow.
119{
120 IL_0021:
121 stloc:char[](var_4_27, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
122 stfld:int32(DateTimeParser::ZoneHour, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this), ldloc:char[][exp:int32](var_4_27))
123 stloc:int32(var_6_3B, ldfld:int32(DateTimeParser::_end, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
124 stloc:char[](var_7_43, ldfld:char[](DateTimeParser::_text, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this)))
125 stfld:int32(DateTimeParser::ZoneMinute, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this), ldloc:char[][exp:int32](var_7_43))
126 stfld:int32(DateTimeParser::ZoneMinute, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this), ldloc:int32(var_2_0F))
127 stloc:int32(var_8_55, ldc.i4:int32(3))
128 stfld:ParserTimeZone(DateTimeParser::Zone, ldloc:valuetype Newtonsoft.Json.Utilities.DateTimeParser&(this), ldloc:int32[exp:ParserTimeZone](var_8_55))
129 brtrue(IL_0000, ldloc:int32[exp:bool](var_8_55))
130}
131
132 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
133 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
134 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
135 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
136 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
137 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
138 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
139 --- End of inner exception stack trace ---
140 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
141 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
142*/;
143 }

Referenced by Newtonsoft.Json.Utilities.DateTimeParser.ParseTimeAndZoneAndWhitespace().