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
BufferOffsetSize.cs
Go to the documentation of this file.
1using System;
2
3namespace Mono.Net.Security
4{
5 // Token: 0x02000049 RID: 73
6 internal class BufferOffsetSize
7 {
8 // Token: 0x17000018 RID: 24
9 // (get) Token: 0x060000BB RID: 187 RVA: 0x00003C00 File Offset: 0x00001E00
10 public int EndOffset
11 {
12 get
13 {
14 /*
15An exception occurred when decompiling this method (060000BB)
16
17ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Mono.Net.Security.BufferOffsetSize::get_EndOffset()
18
19 ---> System.Exception: Basic block has to end with unconditional control flow.
20{
21 Block_0:
22 stloc:int32(var_0_06, ldfld:int32(BufferOffsetSize::Offset, ldloc:BufferOffsetSize(this)))
23 stloc:int32(var_1_0D, ldfld:int32(BufferOffsetSize::TotalBytes, ldloc:BufferOffsetSize(this)))
24}
25
26 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
27 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
28 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
29 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
30 --- End of inner exception stack trace ---
31 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
32 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
33*/;
34 }
35 }
36
37 // Token: 0x17000019 RID: 25
38 // (get) Token: 0x060000BC RID: 188 RVA: 0x00003C1C File Offset: 0x00001E1C
39 public int Remaining
40 {
41 get
42 {
43 /*
44An exception occurred when decompiling this method (060000BC)
45
46ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 Mono.Net.Security.BufferOffsetSize::get_Remaining()
47
48 ---> System.Exception: Basic block has to end with unconditional control flow.
49{
50 Block_0:
51 stloc:uint8[](var_0_06, ldfld:uint8[](BufferOffsetSize::Buffer, ldloc:BufferOffsetSize(this)))
52 stloc:int32(var_1_0D, ldfld:int32(BufferOffsetSize::Offset, ldloc:BufferOffsetSize(this)))
53 stloc:int32(var_2_14, ldfld:int32(BufferOffsetSize::TotalBytes, ldloc:BufferOffsetSize(this)))
54}
55
56 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
57 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
58 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
59 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
60 --- End of inner exception stack trace ---
61 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
62 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
63*/;
64 }
65 }
66
67 // Token: 0x060000BD RID: 189 RVA: 0x00003C40 File Offset: 0x00001E40
68 public BufferOffsetSize(byte[] buffer, int offset, int size)
69 {
70 if (buffer != null)
71 {
72 this.Buffer = buffer;
74 this.TotalBytes = size;
75 return;
76 }
77 }
78
79 // Token: 0x060000BE RID: 190 RVA: 0x00003C70 File Offset: 0x00001E70
80 public override string ToString()
81 {
82 int offset = this.Offset;
83 int size = this.Size;
84 string text;
85 return text;
86 }
87
88 // Token: 0x0400009B RID: 155
89 public byte[] Buffer;
90
91 // Token: 0x0400009C RID: 156
92 public int Offset;
93
94 // Token: 0x0400009D RID: 157
95 public int Size;
96
97 // Token: 0x0400009E RID: 158
98 public int TotalBytes;
99
100 // Token: 0x0400009F RID: 159
101 public bool Complete;
102 }
103}
class f__AnonymousType0<< Count > j__TPar
BufferOffsetSize(byte[] buffer, int offset, int size)