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

◆ MatchValue()

bool Newtonsoft.Json.JsonTextReader.MatchValue ( string value)
inlineprivate

Definition at line 754 of file JsonTextReader.cs.

755 {
756 /*
757An exception occurred when decompiling this method (060000DB)
758
759ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Newtonsoft.Json.JsonTextReader::MatchValue(System.String)
760
761 ---> System.Exception: Basic block has to end with unconditional control flow.
762{
763 Block_0:
764 stloc:int32(var_0_06, ldfld:int32(string::_stringLength, ldloc:string(value)))
765 stloc:int32(var_1_0D, ldfld:int32(JsonTextReader::_charsUsed, ldloc:JsonTextReader(this)))
766 stloc:int32(var_2_14, ldfld:int32(JsonTextReader::_lineStartPos, ldloc:JsonTextReader(this)))
767 stloc:int32(var_4_1B, ldfld:int32(string::_stringLength, ldloc:string(value)))
768 stloc:int64(var_5_1E, ldc.i4:int64(0))
769 stloc:int32(var_6_26, ldfld:int32(JsonTextReader::_charPos, ldloc:JsonTextReader(this)))
770 stloc:char[](var_7_2E, ldfld:char[](JsonTextReader::_chars, ldloc:JsonTextReader(this)))
771 stloc:char(var_8_38, callgetter:char(string::get_Chars, ldloc:string(value), ldloc:int64[exp:int32](var_5_1E)))
772 stloc:int32(var_9_40, ldfld:int32(string::_stringLength, ldloc:string(value)))
773 stloc:int32(var_13_51, ldfld:int32(JsonTextReader::_charPos, ldloc:JsonTextReader(this)))
774 stfld:int32(JsonTextReader::_charPos, ldloc:JsonTextReader(this), ldloc:int32(var_13_51))
775 stloc:int32(var_14_61, ldfld:int32(JsonTextReader::_charsUsed, ldloc:JsonTextReader(this)))
776 stfld:int32(JsonTextReader::_charPos, ldloc:JsonTextReader(this), ldloc:int32(var_14_61))
777 stloc:JsonReaderException(var_15_71, call:JsonReaderException(JsonReader::CreateUnexpectedEndException, ldloc:JsonTextReader[exp:JsonReader](this)))
778}
779
780 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
781 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
782 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
783 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
784 --- End of inner exception stack trace ---
785 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
786 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
787*/;
788 }