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

◆ ReadLine()

string System.Net.HttpConnection.ReadLine ( byte[] buffer,
int offset,
int len,
int used )
inlineprivate

Definition at line 359 of file HttpConnection.cs.

360 {
361 /*
362An exception occurred when decompiling this method (06000EBF)
363
364ICSharpCode.Decompiler.DecompilerException: Error decompiling System.String System.Net.HttpConnection::ReadLine(System.Byte[],System.Int32,System.Int32,System.Int32)
365
366 ---> System.Exception: Basic block has to end with unconditional control flow.
367{
368 IL_000E:
369 stloc:int32(var_1_0F, ldc.i4:int32(2))
370 stloc:int32(var_2_11, ldc.i4:int32(1))
371 stloc:LineState(var_3_18, ldfld:LineState(HttpConnection::line_state, ldloc:HttpConnection(this)))
372 stfld:LineState(HttpConnection::line_state, ldloc:HttpConnection(this), ldloc:int32[exp:LineState](var_2_11))
373 stfld:LineState(HttpConnection::line_state, ldloc:HttpConnection(this), ldloc:int32[exp:LineState](var_1_0F))
374 stloc:StringBuilder(var_4_2D, ldfld:StringBuilder(HttpConnection::current_line, ldloc:HttpConnection(this)))
375 stloc:LineState(var_6_35, ldfld:LineState(HttpConnection::line_state, ldloc:HttpConnection(this)))
376 stloc:StringBuilder(var_7_3D, ldfld:StringBuilder(HttpConnection::current_line, ldloc:HttpConnection(this)))
377 stloc:StringBuilder(var_8_45, ldfld:StringBuilder(HttpConnection::current_line, ldloc:HttpConnection(this)))
378 stloc:int64(var_9_48, ldc.i4:int64(0))
379 callsetter:int32(StringBuilder::set_Length, ldloc:StringBuilder(var_8_45), ldloc:int64[exp:int32](var_9_48))
380}
381
382 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
383 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
384 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
385 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
386 --- End of inner exception stack trace ---
387 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
388 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
389*/;
390 }