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

◆ GetRequestStream()

RequestStream System.Net.HttpConnection.GetRequestStream ( bool chunked,
long contentlength )
inline

Definition at line 189 of file HttpConnection.cs.

190 {
191 /*
192An exception occurred when decompiling this method (06000EB9)
193
194ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Net.RequestStream System.Net.HttpConnection::GetRequestStream(System.Boolean,System.Int64)
195
196 ---> System.Exception: Basic block has to end with unconditional control flow.
197{
198 Block_0:
199 stloc:MemoryStream(var_0_0E, ldfld:MemoryStream(HttpConnection::ms, ldloc:HttpConnection(this)))
200 stloc:MemoryStream(var_1_15, ldfld:MemoryStream(HttpConnection::ms, ldloc:HttpConnection(this)))
201 stloc:HttpListenerContext(var_2_1C, ldfld:HttpListenerContext(HttpConnection::context, ldloc:HttpConnection(this)))
202 stloc:int32(var_3_1E, ldc.i4:int32(1))
203 stfld:bool(HttpConnection::chunked, ldloc:HttpConnection(this), ldloc:int32[exp:bool](var_3_1E))
204 stloc:HttpListenerResponse(var_4_2C, ldfld:HttpListenerResponse(HttpListenerContext::response, ldloc:HttpListenerContext(var_2_1C)))
205 stloc:int32(var_5_2F, ldc.i4:int32(1))
206 callsetter:bool(HttpListenerResponse::set_SendChunked, ldloc:HttpListenerResponse(var_4_2C), ldloc:int32[exp:bool](var_5_2F))
207 stloc:HttpListenerContext(var_6_40, ldfld:HttpListenerContext(HttpConnection::context, ldloc:HttpConnection(this)))
208 stloc:Stream(var_7_48, ldfld:Stream(HttpConnection::stream, ldloc:HttpConnection(this)))
209 stloc:int32(var_8_50, ldfld:int32(HttpConnection::position, ldloc:HttpConnection(this)))
210 stloc:Stream(var_9_58, ldfld:Stream(HttpConnection::stream, ldloc:HttpConnection(this)))
211 stloc:int32(var_10_60, ldfld:int32(HttpConnection::position, ldloc:HttpConnection(this)))
212}
213
214 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
215 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
216 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
217 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
218 --- End of inner exception stack trace ---
219 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
220 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
221*/;
222 }