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

◆ AppendSpan() [2/2]

Span< char > System.Text.ValueStringBuilder.AppendSpan ( int length)
inline

Definition at line 135 of file ValueStringBuilder.cs.

136 {
137 /*
138An exception occurred when decompiling this method (0600004A)
139
140ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Span`1<System.Char> System.Text.ValueStringBuilder::AppendSpan(System.Int32)
141
142 ---> System.Exception: Basic block has to end with unconditional control flow.
143{
144 Block_0:
145 stloc:int32(var_0_0B, ldfld:int32(Span`1::_length, ldfld:valuetype [mscorlib]System.Span`1<char>[exp:valuetype [mscorlib]System.Span`1&](ValueStringBuilder::_chars, ldloc:valuetype System.Text.ValueStringBuilder&(this))))
146 call:void(ValueStringBuilder::Grow, ldloc:valuetype System.Text.ValueStringBuilder&(this), ldloc:int32(length))
147 stloc:int32(var_1_1E, ldfld:int32(Span`1::_length, ldfld:valuetype [mscorlib]System.Span`1<char>[exp:valuetype [mscorlib]System.Span`1&](ValueStringBuilder::_chars, ldloc:valuetype System.Text.ValueStringBuilder&(this))))
148 call:void(ThrowHelper::ThrowArgumentOutOfRangeException)
149 stloc:valuetype [mscorlib]System.Span`1<char>(var_3_2C, ldfld:valuetype [mscorlib]System.Span`1<char>(ValueStringBuilder::_chars, ldloc:valuetype System.Text.ValueStringBuilder&(this)))
150}
151
152 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
153 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
154 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
155 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
156 --- End of inner exception stack trace ---
157 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
158 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
159*/;
160 }