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

◆ InternalRead() [2/2]

int Mono.Net.Security.MobileAuthenticatedStream.InternalRead ( byte[] buffer,
int offset,
int size,
[Out] bool outWantMore )
inlinepackageinherited

Definition at line 237 of file MobileAuthenticatedStream.cs.

238 {
239 /*
240An exception occurred when decompiling this method (06000108)
241
242ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Mono.Net.Security.MobileAuthenticatedStream::InternalRead(System.Byte[],System.Int32,System.Int32,System.Boolean)
243
244 ---> System.Exception: Basic block has to end with unconditional control flow.
245{
246 IL_000F:
247 stloc:BufferOffsetSize2(var_1_15, ldfld:BufferOffsetSize2(MobileAuthenticatedStream::readBuffer, ldloc:MobileAuthenticatedStream(this)))
248 stloc:valuetype [mscorlib]System.ValueTuple`2<int32, bool>(var_2_21, call:ValueTuple`2[exp:valuetype [mscorlib]System.ValueTuple`2<int32, bool>](MobileAuthenticatedStream::InternalRead, ldloc:MobileAuthenticatedStream(this), ldloc:AsyncProtocolRequest(var_0), ldloc:BufferOffsetSize2[exp:BufferOffsetSize](var_1_15), ldloc:uint8[](buffer), ldloc:int32(offset), ldloc:int32(size)))
249 stfld:bool(bool::m_value, ldloc:bool[exp:bool&](outWantMore), ldloc:AsyncProtocolRequest[exp:bool](var_0))
250 stloc:ExceptionDispatchInfo(var_4_30, call:ExceptionDispatchInfo(ExceptionDispatchInfo::Capture, ldloc:Exception(var_3)))
251}
252
253 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
254 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
255 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
256 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
257 --- End of inner exception stack trace ---
258 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
259 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
260*/;
261 }