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.Crc.CrcCalculatorStream.Read ( byte[] buffer,
int offset,
int count )
inline

Definition at line 107 of file CrcCalculatorStream.cs.

108 {
109 /*
110An exception occurred when decompiling this method (06000415)
111
112ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Ionic.Crc.CrcCalculatorStream::Read(System.Byte[],System.Int32,System.Int32)
113
114 ---> System.Exception: Basic block has to end with unconditional control flow.
115{
116 Block_0:
117 stloc:int64(var_0_06, ldfld:int64(CrcCalculatorStream::_lengthLimit, ldloc:CrcCalculatorStream(this)))
118 stloc:CRC32(var_1_0D, ldfld:CRC32(CrcCalculatorStream::_Crc32, ldloc:CrcCalculatorStream(this)))
119 stloc:int64(var_2_14, ldfld:int64(CrcCalculatorStream::_lengthLimit, ldloc:CrcCalculatorStream(this)))
120 stloc:int64(var_3_1B, ldfld:int64(CRC32::_TotalBytesRead, ldloc:CRC32(var_1_0D)))
121 stloc:Stream(var_4_22, ldfld:Stream(CrcCalculatorStream::_innerStream, ldloc:CrcCalculatorStream(this)))
122 stloc:CRC32(var_5_2A, ldfld:CRC32(CrcCalculatorStream::_Crc32, ldloc:CrcCalculatorStream(this)))
123}
124
125 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
126 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
127 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
128 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
129 --- End of inner exception stack trace ---
130 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
131 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
132*/;
133 }