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

◆ ParseQuery()

PathFilter Newtonsoft.Json.Linq.JsonPath.JPath.ParseQuery ( char indexerCloseChar)
inlineprivate

Definition at line 167 of file JPath.cs.

168 {
169 /*
170An exception occurred when decompiling this method (060009C7)
171
172ICSharpCode.Decompiler.DecompilerException: Error decompiling Newtonsoft.Json.Linq.JsonPath.PathFilter Newtonsoft.Json.Linq.JsonPath.JPath::ParseQuery(System.Char)
173
174 ---> System.Exception: Basic block has to end with unconditional control flow.
175{
176 Block_0:
177 stloc:int32(var_0_06, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
178 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:int32(var_0_06))
179 call:void(JPath::EnsureLength, ldloc:JPath(this), ldstr:string("Path ended with open indexer."))
180 stloc:string(var_1_1F, ldfld:string(JPath::_expression, ldloc:JPath(this)))
181 stloc:int32(var_2_26, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
182 stloc:char(var_3_2E, callgetter:char(string::get_Chars, ldloc:string(var_1_1F), ldloc:int32(var_2_26)))
183 stloc:int32(var_4_35, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
184 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:int32(var_4_35))
185 stloc:QueryExpression(var_5_45, call:QueryExpression(JPath::ParseExpression, ldloc:JPath(this)))
186 stloc:int32(var_6_4D, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
187 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:int32(var_6_4D))
188 call:void(JPath::EnsureLength, ldloc:JPath(this), ldstr:string("Path ended with open indexer."))
189 call:void(JPath::EatWhitespace, ldloc:JPath(this))
190 stloc:string(var_7_6E, ldfld:string(JPath::_expression, ldloc:JPath(this)))
191 stloc:int32(var_8_76, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
192 stloc:char(var_9_81, callgetter:char(string::get_Chars, ldloc:string(var_7_6E), ldloc:int32(var_8_76)))
193 stloc:string(var_12_8D, call:string(char::ToString, ldloc:char[exp:char&](var_11)))
194 stloc:string(var_13_9B, call:string(string::Concat, ldstr:string("Unexpected character while parsing path indexer: "), ldloc:string(var_12_8D)))
195}
196
197 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
198 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
199 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
200 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
201 --- End of inner exception stack trace ---
202 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
203 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
204*/;
205 }