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

◆ EncodeSurrogate()

static unsafe char * System.Xml.XmlEncodedRawTextWriter.EncodeSurrogate ( char * pSrc,
char * pSrcEnd,
char * pDst )
inlinestaticprivateinherited

Definition at line 776 of file XmlEncodedRawTextWriter.cs.

777 {
778 /*
779An exception occurred when decompiling this method (06000177)
780
781ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Char* System.Xml.XmlEncodedRawTextWriter::EncodeSurrogate(System.Char*,System.Char*,System.Char*)
782
783 ---> System.Exception: Basic block has to end with unconditional control flow.
784{
785 Block_0:
786 stloc:int32(var_0_01, ldc.i4:int32(1))
787 stfld:char(char::m_value, ldloc:char*[exp:char&](pSrcEnd), ldloc:int32[exp:char](var_0_01))
788 stloc:Exception(var_1_10, call:Exception(XmlConvert::CreateInvalidSurrogatePairException, ldloc:char*[exp:char](pSrcEnd), ldloc:int32[exp:char](var_0_01)))
789 stloc:Exception(var_2_17, call:Exception(XmlConvert::CreateInvalidHighSurrogateCharException, ldloc:int32[exp:char](var_0_01)))
790 stloc:string(var_3_22, call:string(Res::GetString, ldstr:string("The surrogate pair is invalid. Missing a low surrogate character.")))
791}
792
793 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
794 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
795 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
796 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
797 --- End of inner exception stack trace ---
798 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
799 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
800*/;
801 }