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
FtpWebResponse.cs
Go to the documentation of this file.
1using System;
2using System.IO;
4
5namespace System.Net
6{
7 // Token: 0x02000156 RID: 342
9 {
10 // Token: 0x06000897 RID: 2199 RVA: 0x0001E730 File Offset: 0x0001C930
11 internal FtpWebResponse(Stream responseStream, long contentLength, global::System.Uri responseUri, FtpStatusCode statusCode, string statusLine, DateTime lastModified, string bannerMessage, string welcomeMessage, string exitMessage)
12 {
13 if (!true)
14 {
15 }
17 this._statusCode = statusCode;
21 this._responseStream = responseStream;
23 }
24
25 // Token: 0x06000898 RID: 2200 RVA: 0x0001E77C File Offset: 0x0001C97C
26 internal void UpdateStatus(FtpStatusCode statusCode, string statusLine, string exitMessage)
27 {
28 this._statusCode = statusCode;
31 }
32
33 // Token: 0x06000899 RID: 2201 RVA: 0x0001E7A0 File Offset: 0x0001C9A0
34 public override Stream GetResponseStream()
35 {
36 /*
37An exception occurred when decompiling this method (06000899)
38
39ICSharpCode.Decompiler.DecompilerException: Error decompiling System.IO.Stream System.Net.FtpWebResponse::GetResponseStream()
40
41 ---> System.Exception: Basic block has to end with unconditional control flow.
42{
43 IL_0000:
44 brtrue(IL_0000, ldfld:Stream[exp:bool](FtpWebResponse::_responseStream, ldloc:FtpWebResponse(this)))
45}
46
47 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
48 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
49 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
50 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
51 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
52 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
53 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
54 --- End of inner exception stack trace ---
55 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
56 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
57*/;
58 }
59
60 // Token: 0x0600089A RID: 2202 RVA: 0x0001E7B4 File Offset: 0x0001C9B4
61 internal void SetResponseStream(Stream stream)
62 {
63 if (stream != null)
64 {
65 if (!true)
66 {
67 }
68 this._responseStream = stream;
69 }
70 }
71
72 // Token: 0x0600089B RID: 2203 RVA: 0x0001E7D0 File Offset: 0x0001C9D0
73 public override void Close()
74 {
75 if (!true)
76 {
77 }
79 if (!true)
80 {
81 }
82 if (this._responseStream != null)
83 {
84 }
86 }
87
88 // Token: 0x170001D6 RID: 470
89 // (get) Token: 0x0600089C RID: 2204 RVA: 0x0001E7FC File Offset: 0x0001C9FC
90 public override long ContentLength
91 {
92 get
93 {
94 return this._contentLength;
95 }
96 }
97
98 // Token: 0x170001D7 RID: 471
99 // (get) Token: 0x0600089D RID: 2205 RVA: 0x0001E810 File Offset: 0x0001CA10
101 {
102 get
103 {
104 while (this._ftpRequestHeaders != null)
105 {
106 }
107 if (this._ftpRequestHeaders != null)
108 {
109 }
110 long num = 0L;
111 Monitor.Exit(this);
112 if (num == 0L)
113 {
114 return this._ftpRequestHeaders;
115 }
116 throw new OutOfMemoryException();
117 }
118 }
119
120 // Token: 0x170001D8 RID: 472
121 // (get) Token: 0x0600089E RID: 2206 RVA: 0x0001E860 File Offset: 0x0001CA60
122 public override bool SupportsHeaders
123 {
124 get
125 {
126 return true;
127 }
128 }
129
130 // Token: 0x170001D9 RID: 473
131 // (get) Token: 0x0600089F RID: 2207 RVA: 0x0001E870 File Offset: 0x0001CA70
132 public override global::System.Uri ResponseUri
133 {
134 get
135 {
136 return this._responseUri;
137 }
138 }
139
140 // Token: 0x170001DA RID: 474
141 // (get) Token: 0x060008A0 RID: 2208 RVA: 0x0001E884 File Offset: 0x0001CA84
143 {
144 get
145 {
146 return this._statusCode;
147 }
148 }
149
150 // Token: 0x170001DB RID: 475
151 // (get) Token: 0x060008A1 RID: 2209 RVA: 0x0001E898 File Offset: 0x0001CA98
152 public string StatusDescription
153 {
154 get
155 {
156 return this._statusLine;
157 }
158 }
159
160 // Token: 0x170001DC RID: 476
161 // (get) Token: 0x060008A2 RID: 2210 RVA: 0x0001E8AC File Offset: 0x0001CAAC
163 {
164 get
165 {
167 DateTime dateTime;
168 return dateTime;
169 }
170 }
171
172 // Token: 0x170001DD RID: 477
173 // (get) Token: 0x060008A3 RID: 2211 RVA: 0x0001E8C4 File Offset: 0x0001CAC4
174 public string BannerMessage
175 {
176 get
177 {
178 return this._bannerMessage;
179 }
180 }
181
182 // Token: 0x170001DE RID: 478
183 // (get) Token: 0x060008A4 RID: 2212 RVA: 0x0001E8D8 File Offset: 0x0001CAD8
184 public string WelcomeMessage
185 {
186 get
187 {
188 return this._welcomeMessage;
189 }
190 }
191
192 // Token: 0x170001DF RID: 479
193 // (get) Token: 0x060008A5 RID: 2213 RVA: 0x0001E8EC File Offset: 0x0001CAEC
194 public string ExitMessage
195 {
196 get
197 {
198 return this._exitMessage;
199 }
200 }
201
202 // Token: 0x060008A6 RID: 2214 RVA: 0x0001E900 File Offset: 0x0001CB00
203 internal FtpWebResponse()
204 {
205 throw new NotSupportedException();
206 }
207
208 // Token: 0x040006EF RID: 1775
210
211 // Token: 0x040006F0 RID: 1776
212 private long _contentLength;
213
214 // Token: 0x040006F1 RID: 1777
215 private global::System.Uri _responseUri;
216
217 // Token: 0x040006F2 RID: 1778
219
220 // Token: 0x040006F3 RID: 1779
221 private string _statusLine;
222
223 // Token: 0x040006F4 RID: 1780
225
226 // Token: 0x040006F5 RID: 1781
228
229 // Token: 0x040006F6 RID: 1782
230 private string _bannerMessage;
231
232 // Token: 0x040006F7 RID: 1783
233 private string _welcomeMessage;
234
235 // Token: 0x040006F8 RID: 1784
236 private string _exitMessage;
237
238 // Token: 0x02000157 RID: 343
239 internal sealed class EmptyStream : MemoryStream
240 {
241 // Token: 0x060008A7 RID: 2215 RVA: 0x0001E914 File Offset: 0x0001CB14
242 internal EmptyStream()
243 {
244 if (!true)
245 {
246 }
247 }
248 }
249 }
250}
class f__AnonymousType0<< Count > j__TPar
override global::System.Uri ResponseUri
global::System.Uri _responseUri
override WebHeaderCollection Headers
void UpdateStatus(FtpStatusCode statusCode, string statusLine, string exitMessage)
override Stream GetResponseStream()
WebHeaderCollection _ftpRequestHeaders
void SetResponseStream(Stream stream)
FtpWebResponse(Stream responseStream, long contentLength, global::System.Uri responseUri, FtpStatusCode statusCode, string statusLine, DateTime lastModified, string bannerMessage, string welcomeMessage, string exitMessage)
static void Exit(object obj)
Definition Monitor.cs:47