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
WriteStateInfoBase.cs
Go to the documentation of this file.
1using System;
2
3namespace System.Net.Mime
4{
5 // Token: 0x02000327 RID: 807
6 internal class WriteStateInfoBase
7 {
8 // Token: 0x060014EB RID: 5355 RVA: 0x0003F424 File Offset: 0x0003D624
10 {
11 if (!true)
12 {
13 }
14 this._header = 1;
15 if (!true)
16 {
17 }
19 this._footer = 1;
20 }
21
22 // Token: 0x170004C6 RID: 1222
23 // (get) Token: 0x060014EC RID: 5356 RVA: 0x0003F454 File Offset: 0x0003D654
24 internal int FooterLength
25 {
26 get
27 {
28 /*
29An exception occurred when decompiling this method (060014EC)
30
31ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 System.Net.Mime.WriteStateInfoBase::get_FooterLength()
32
33 ---> System.Exception: Basic block has to end with unconditional control flow.
34{
35 Block_0:
36 stloc:uint8[](var_0_06, ldfld:uint8[](WriteStateInfoBase::_footer, ldloc:WriteStateInfoBase(this)))
37}
38
39 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
40 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
41 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
42 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
43 --- End of inner exception stack trace ---
44 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
45 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
46*/;
47 }
48 }
49
50 // Token: 0x170004C7 RID: 1223
51 // (get) Token: 0x060014ED RID: 5357 RVA: 0x0003F468 File Offset: 0x0003D668
52 internal byte[] Footer
53 {
54 get
55 {
56 return this._footer;
57 }
58 }
59
60 // Token: 0x170004C8 RID: 1224
61 // (get) Token: 0x060014EE RID: 5358 RVA: 0x0003F47C File Offset: 0x0003D67C
62 internal byte[] Header
63 {
64 get
65 {
66 return this._header;
67 }
68 }
69
70 // Token: 0x170004C9 RID: 1225
71 // (get) Token: 0x060014EF RID: 5359 RVA: 0x0003F490 File Offset: 0x0003D690
72 internal byte[] Buffer
73 {
74 get
75 {
76 return this._buffer;
77 }
78 }
79
80 // Token: 0x170004CA RID: 1226
81 // (get) Token: 0x060014F0 RID: 5360 RVA: 0x0003F4A4 File Offset: 0x0003D6A4
82 internal int Length
83 {
84 get
85 {
86 return this._currentBufferUsed;
87 }
88 }
89
90 // Token: 0x170004CB RID: 1227
91 // (get) Token: 0x060014F1 RID: 5361 RVA: 0x0003F4B8 File Offset: 0x0003D6B8
92 internal int CurrentLineLength
93 {
94 get
95 {
96 return this._currentLineLength;
97 }
98 }
99
100 // Token: 0x060014F2 RID: 5362 RVA: 0x0003F4CC File Offset: 0x0003D6CC
102 {
103 byte[] buffer = this._buffer;
105 byte[] buffer2 = this._buffer;
106 }
107
108 // Token: 0x060014F3 RID: 5363 RVA: 0x0003F4F0 File Offset: 0x0003D6F0
109 internal void Append(byte aByte)
110 {
111 int num = 1;
112 this.EnsureSpaceInBuffer(num);
113 byte[] buffer = this._buffer;
116 }
117
118 // Token: 0x060014F4 RID: 5364 RVA: 0x0003F51C File Offset: 0x0003D71C
119 internal void Append(params byte[] bytes)
120 {
121 byte[] buffer = this._buffer;
125 }
126
127 // Token: 0x060014F5 RID: 5365 RVA: 0x0003F548 File Offset: 0x0003D748
128 internal void AppendCRLF(bool includeSpace)
129 {
130 int num = 1;
131 byte[] footer = this._footer;
132 if (footer != null && num != 0)
133 {
134 this.Append(footer);
135 }
136 int num2 = 1;
137 this.EnsureSpaceInBuffer(num2);
138 byte[] buffer = this._buffer;
141 byte[] header = this._header;
142 if (header != null && currentLineLength != 0)
143 {
144 this.Append(header);
145 return;
146 }
147 }
148
149 // Token: 0x060014F6 RID: 5366 RVA: 0x0003F5B4 File Offset: 0x0003D7B4
150 internal void AppendHeader()
151 {
152 byte[] header = this._header;
153 if (header != null)
154 {
155 this.Append(header);
156 return;
157 }
158 }
159
160 // Token: 0x060014F7 RID: 5367 RVA: 0x0003F5D4 File Offset: 0x0003D7D4
161 internal void AppendFooter()
162 {
163 byte[] footer = this._footer;
164 if (footer != null)
165 {
166 this.Append(footer);
167 return;
168 }
169 }
170
171 // Token: 0x170004CC RID: 1228
172 // (get) Token: 0x060014F8 RID: 5368 RVA: 0x0003F5F4 File Offset: 0x0003D7F4
173 internal int MaxLineLength
174 {
175 get
176 {
177 return this._maxLineLength;
178 }
179 }
180
181 // Token: 0x060014F9 RID: 5369 RVA: 0x0003F608 File Offset: 0x0003D808
182 internal void Reset()
183 {
184 }
185
186 // Token: 0x0400115E RID: 4446
187 protected readonly byte[] _header;
188
189 // Token: 0x0400115F RID: 4447
190 protected readonly byte[] _footer;
191
192 // Token: 0x04001160 RID: 4448
194
195 // Token: 0x04001161 RID: 4449
196 protected byte[] _buffer;
197
198 // Token: 0x04001162 RID: 4450
199 protected int _currentLineLength;
200
201 // Token: 0x04001163 RID: 4451
202 protected int _currentBufferUsed;
203 }
204}
class f__AnonymousType0<< Count > j__TPar