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

◆ ParseValue()

object Newtonsoft.Json.Linq.JsonPath.JPath.ParseValue ( )
inlineprivate

Definition at line 266 of file JPath.cs.

267 {
268 /*
269An exception occurred when decompiling this method (060009C9)
270
271ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Object Newtonsoft.Json.Linq.JsonPath.JPath::ParseValue()
272
273 ---> System.Exception: Basic block has to end with unconditional control flow.
274{
275 Block_0:
276 stloc:string(var_1_08, ldfld:string(JPath::_expression, ldloc:JPath(this)))
277 stloc:int32(var_2_0F, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
278 stloc:char(var_3_17, callgetter:char(string::get_Chars, ldloc:string(var_1_08), ldloc:int32(var_2_0F)))
279 stloc:string(var_4_1E, call:string(JPath::ReadQuotedString, ldloc:JPath(this)))
280 stloc:bool(var_6_2B, call:bool(JPath::Match, ldloc:JPath(this), ldstr:string("true")))
281 stloc:int32(var_8_33, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
282 stloc:string(var_9_3B, ldfld:string(JPath::_expression, ldloc:JPath(this)))
283 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:string[exp:int32](var_4_1E))
284 stloc:int32(var_10_4C, ldfld:int32(string::_stringLength, ldloc:string(var_9_3B)))
285 stloc:int32(var_13_54, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
286 stloc:string(var_14_5C, ldfld:string(JPath::_expression, ldloc:JPath(this)))
287 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:char[exp:int32](var_11))
288 stloc:int32(var_15_6D, ldfld:int32(string::_stringLength, ldloc:string(var_14_5C)))
289 stloc:CultureInfo(var_19_7A, callgetter:CultureInfo(CultureInfo::get_InvariantCulture))
290}
291
292 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
293 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
294 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
295 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
296 --- End of inner exception stack trace ---
297 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
298 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
299*/;
300 }

Referenced by Newtonsoft.Json.Linq.JsonPath.JPath.ParseExpression().