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

◆ Read() [1/2]

override int Ionic.Zlib.GZipStream.Read ( byte[] buffer,
int offset,
int count )
inline

Definition at line 280 of file GZipStream.cs.

281 {
282 /*
283An exception occurred when decompiling this method (06000370)
284
285ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Ionic.Zlib.GZipStream::Read(System.Byte[],System.Int32,System.Int32)
286
287 ---> System.Exception: Basic block has to end with unconditional control flow.
288{
289 Block_1:
290 stloc:ZlibBaseStream(var_1_1D, ldfld:ZlibBaseStream(GZipStream::_baseStream, ldloc:GZipStream(this)))
291 stfld:bool(GZipStream::_firstReadDone, ldloc:GZipStream(this), ldc.i4:bool(1))
292 stloc:string(var_2_2B, ldfld:string(ZlibBaseStream::_GzipFileName, ldloc:ZlibBaseStream(var_1_1D)))
293 callsetter:string(GZipStream::set_FileName, ldloc:GZipStream(this), ldloc:string(var_2_2B))
294 stloc:string(var_3_3E, ldfld:string(ZlibBaseStream::_GzipComment, ldfld:ZlibBaseStream(GZipStream::_baseStream, ldloc:GZipStream(this))))
295 callsetter:string(GZipStream::set_Comment, ldloc:GZipStream(this), ldloc:string(var_3_3E))
296}
297
298 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
299 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
300 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
301 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
302 --- End of inner exception stack trace ---
303 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
304 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
305*/;
306 }