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

◆ Match()

bool Newtonsoft.Json.Linq.JsonPath.JPath.Match ( string s)
inlineprivate

Definition at line 327 of file JPath.cs.

328 {
329 /*
330An exception occurred when decompiling this method (060009CB)
331
332ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.Linq.JsonPath.JPath::Match(System.String)
333
334 ---> System.Exception: Basic block has to end with unconditional control flow.
335{
336 Block_0:
337 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(s)))
338 stloc:int32(var_1_0D, ldfld:int32(JPath::_currentIndex, ldloc:JPath(this)))
339 stloc:int64(var_2_0F, ldc.i4:int64(0))
340 stloc:char(var_3_17, callgetter:char(string::get_Chars, ldloc:string(s), ldloc:int64[exp:int32](var_2_0F)))
341 stloc:string(var_4_1E, ldfld:string(JPath::_expression, ldloc:JPath(this)))
342 stloc:int32(var_5_27, ldfld:int32(string::_stringLength, ldloc:string(var_4_1E)))
343 stloc:char(var_6_31, callgetter:char(string::get_Chars, ldloc:string(var_4_1E), ldloc:int64[exp:int32](var_2_0F)))
344 stloc:int32(var_7_39, ldfld:int32(string::_stringLength, ldloc:string(s)))
345 stfld:int32(JPath::_currentIndex, ldloc:JPath(this), ldloc:int32(var_1_0D))
346}
347
348 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
349 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
350 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
351 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
352 --- End of inner exception stack trace ---
353 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
354 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
355*/;
356 }

Referenced by Newtonsoft.Json.Linq.JsonPath.JPath.ParseExpression(), and Newtonsoft.Json.Linq.JsonPath.JPath.ParseOperator().