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

◆ GetChars()

int System.Xml.XmlTextReaderImpl.GetChars ( int maxCharsCount)
inlineprivate

Definition at line 1880 of file XmlTextReaderImpl.cs.

1881 {
1882 /*
1883An exception occurred when decompiling this method (060002BB)
1884
1885ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Xml.XmlTextReaderImpl::GetChars(System.Int32)
1886
1887 ---> System.Exception: Basic block has to end with unconditional control flow.
1888{
1889 Block_0:
1890 stloc:int32(var_0_0B, ldfld:int32(ParsingState::bytePos, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1891 stloc:TextReader(var_1_17, ldfld:TextReader(ParsingState::textReader, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1892 stloc:Decoder(var_2_23, ldfld:Decoder(ParsingState::decoder, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1893 stloc:uint8[](var_3_2F, ldfld:uint8[](ParsingState::bytes, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1894 stloc:ParsingState(var_4_36, ldfld:ParsingState(XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this)))
1895 stloc:int32(var_5_43, ldfld:int32(ParsingState::charsUsed, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1896 stloc:int32(var_6_50, ldfld:int32(ParsingState::bytePos, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1897 stfld:int32(ParsingState::bytePos, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this)), ldloc:int32(var_6_50))
1898 stloc:int32(var_7_6A, ldfld:int32(ParsingState::charsUsed, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this))))
1899 stfld:int32(ParsingState::charsUsed, ldfld:ParsingState[exp:valuetype System.Xml.XmlTextReaderImpl/ParsingState&](XmlTextReaderImpl::ps, ldloc:XmlTextReaderImpl(this)), ldloc:int32(var_7_6A))
1900}
1901
1902 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
1903 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
1904 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
1905 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
1906 --- End of inner exception stack trace ---
1907 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
1908 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
1909*/;
1910 }