terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
Loading...
Searching...
No Matches
CommandStream.cs
Go to the documentation of this file.
1using System;
3using System.IO;
6using System.Text;
10
11namespace System.Net
12{
13 [global::Cpp2ILInjected.Token(Token = "0x2000143")]
15 {
16 [global::Cpp2ILInjected.Token(Token = "0x60007DE")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1EEAFF4", Offset = "0x1EEAFF4", Length = "0x90")]
18 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = ".ctor", MemberParameters = new object[] { typeof(TcpClient) }, ReturnType = typeof(void))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Encoding), Member = "get_UTF8", ReturnType = typeof(Encoding))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkStreamWrapper), Member = ".ctor", MemberParameters = new object[] { typeof(TcpClient) }, ReturnType = typeof(void))]
23 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
24 internal CommandStream(TcpClient client)
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x60007DF")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1EEB084", Offset = "0x1EEB084", Length = "0x1FC")]
31 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
32 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
34 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
35 {
36 typeof(object),
37 typeof(object),
38 typeof(string)
39 }, ReturnType = typeof(void))]
40 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
41 {
42 typeof(object),
43 typeof(ref bool)
44 }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkStreamWrapper), Member = "Close", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
47 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "InvokeRequestCallback", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
48 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
49 internal virtual void Abort(Exception e)
50 {
51 throw null;
52 }
53
54 [global::Cpp2ILInjected.Token(Token = "0x60007E0")]
55 [global::Cpp2ILInjected.Address(RVA = "0x1EEB280", Offset = "0x1EEB280", Length = "0x94")]
56 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
57 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
58 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
59 {
60 typeof(object),
62 typeof(string)
63 }, ReturnType = typeof(void))]
64 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
65 protected override void Dispose(bool disposing)
66 {
67 throw null;
68 }
69
70 [global::Cpp2ILInjected.Token(Token = "0x60007E1")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1EEB314", Offset = "0x1EEB314", Length = "0x74")]
72 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
73 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "Abort", MemberParameters = new object[] { typeof(Exception) }, ReturnType = typeof(void))]
74 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "PostReadCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FtpControlStream.<>c__DisplayClass31_0", Member = "<PipelineCallback>b__0", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
76 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "AcceptCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "ConnectCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
78 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "SSLHandshakeCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
80 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FtpWebRequest), Member = "RequestCallback", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
81 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
82 protected void InvokeRequestCallback(object obj)
83 {
84 throw null;
85 }
86
87 [global::Cpp2ILInjected.Token(Token = "0x170001A1")]
88 internal bool RecoverableFailure
89 {
90 [global::Cpp2ILInjected.Token(Token = "0x60007E2")]
91 [global::Cpp2ILInjected.Address(RVA = "0x1EEB388", Offset = "0x1EEB388", Length = "0x8")]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
93 get
94 {
95 throw null;
96 }
97 }
98
99 [global::Cpp2ILInjected.Token(Token = "0x60007E3")]
100 [global::Cpp2ILInjected.Address(RVA = "0x1EEB390", Offset = "0x1EEB390", Length = "0x18")]
101 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
102 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
104 {
105 throw null;
106 }
107
108 [global::Cpp2ILInjected.Token(Token = "0x60007E4")]
109 [global::Cpp2ILInjected.Address(RVA = "0x1EEB3A8", Offset = "0x1EEB3A8", Length = "0x80")]
110 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpWebRequest), Member = "TimedSubmitRequestHelper", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(Stream))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "InitCommandPipeline", MemberParameters = new object[]
114 {
117 typeof(bool)
118 }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
121 {
122 throw null;
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x60007E5")]
126 [global::Cpp2ILInjected.Address(RVA = "0x1EEB918", Offset = "0x1EEB918", Length = "0x10")]
127 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "InitCommandPipeline", MemberParameters = new object[]
129 {
132 typeof(bool)
133 }, ReturnType = typeof(void))]
134 protected virtual void ClearState()
135 {
136 throw null;
137 }
138
139 [global::Cpp2ILInjected.Token(Token = "0x60007E6")]
140 [global::Cpp2ILInjected.Address(RVA = "0x1EEB928", Offset = "0x1EEB928", Length = "0x8")]
141 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
143 {
144 throw null;
145 }
146
147 [global::Cpp2ILInjected.Token(Token = "0x60007E7")]
148 [global::Cpp2ILInjected.Address(RVA = "0x1EEB930", Offset = "0x1EEB930", Length = "0x78")]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "PostReadCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReceiveCommandResponse", ReturnType = typeof(ResponseDescription))]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReceiveCommandResponseCallback", MemberParameters = new object[]
152 {
154 typeof(int)
155 }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "GetPortCommandLine", MemberParameters = new object[] { typeof(FtpWebRequest) }, ReturnType = typeof(string))]
157 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebException), Member = ".ctor", MemberParameters = new object[]
159 {
160 typeof(string),
162 typeof(WebExceptionStatus),
164 }, ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
167 {
168 throw null;
169 }
170
171 [global::Cpp2ILInjected.Token(Token = "0x60007E8")]
172 [global::Cpp2ILInjected.Address(RVA = "0x1EEB9A8", Offset = "0x1EEB9A8", Length = "0xC0")]
173 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "PipelineCallback", MemberParameters = new object[]
174 {
177 typeof(bool),
179 }, ReturnType = typeof(CommandStream.PipelineInstruction))]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetRes), Member = "GetWebStatusCodeString", MemberParameters = new object[]
182 {
183 typeof(FtpStatusCode),
184 typeof(string)
185 }, ReturnType = typeof(string))]
186 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = "SR", Member = "Format", MemberParameters = new object[]
187 {
188 typeof(string),
189 typeof(object)
190 }, ReturnType = typeof(string))]
191 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebException), Member = ".ctor", MemberParameters = new object[]
192 {
193 typeof(string),
195 typeof(WebExceptionStatus),
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
199 protected Exception GenerateException(FtpStatusCode code, string statusDescription, Exception innerException)
200 {
201 throw null;
202 }
203
204 [global::Cpp2ILInjected.Token(Token = "0x60007E9")]
205 [global::Cpp2ILInjected.Address(RVA = "0x1EEB428", Offset = "0x1EEB428", Length = "0x90")]
206 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
207 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "SubmitRequest", MemberParameters = new object[]
208 {
210 typeof(bool),
211 typeof(bool)
212 }, ReturnType = typeof(Stream))]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ClearState", ReturnType = typeof(void))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "ClearState", ReturnType = typeof(void))]
215 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
216 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
218 {
219 throw null;
220 }
221
222 [global::Cpp2ILInjected.Token(Token = "0x60007EA")]
223 [global::Cpp2ILInjected.Address(RVA = "0x1EEBA68", Offset = "0x1EEBA68", Length = "0xB4")]
224 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpWebRequest), Member = "DataStreamClosed", MemberParameters = new object[] { typeof(CloseExState) }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
228 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
229 internal void CheckContinuePipeline()
230 {
231 throw null;
232 }
233
234 [global::Cpp2ILInjected.Token(Token = "0x60007EB")]
235 [global::Cpp2ILInjected.Address(RVA = "0x1EEB4B8", Offset = "0x1EEB4B8", Length = "0x460")]
236 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "SubmitRequest", MemberParameters = new object[]
238 {
240 typeof(bool),
241 typeof(bool)
242 }, ReturnType = typeof(Stream))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "CheckContinuePipeline", ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "PostReadCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "WriteCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReceiveCommandResponseCallback", MemberParameters = new object[]
247 {
249 typeof(int)
250 }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FtpControlStream.<>c__DisplayClass31_0", Member = "<PipelineCallback>b__0", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "AcceptCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "ConnectCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FtpControlStream), Member = "SSLHandshakeCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(EventSource), Member = "IsEnabled", ReturnType = typeof(bool))]
257 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
258 {
259 typeof(int),
260 typeof(int)
261 }, ReturnType = typeof(string))]
262 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOf", MemberParameters = new object[] { typeof(char) }, ReturnType = typeof(int))]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
264 {
265 typeof(string),
266 typeof(string)
267 }, ReturnType = typeof(string))]
268 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
269 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormattableStringFactory), Member = "Create", MemberParameters = new object[]
270 {
271 typeof(string),
272 typeof(object[])
273 }, ReturnType = typeof(FormattableString))]
274 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
275 {
276 typeof(object),
278 typeof(string)
279 }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "PostSendCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
281 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Enter", MemberParameters = new object[]
282 {
283 typeof(object),
284 typeof(ref bool)
285 }, ReturnType = typeof(void))]
286 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
287 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(InternalException), Member = ".ctor", ReturnType = typeof(void))]
288 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 36)]
290 {
291 throw null;
292 }
293
294 [global::Cpp2ILInjected.Token(Token = "0x60007EC")]
295 [global::Cpp2ILInjected.Address(RVA = "0x1EEBB2C", Offset = "0x1EEBB2C", Length = "0x118")]
296 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
297 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
298 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "WriteCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ReceiveCommandResponse", ReturnType = typeof(ResponseDescription))]
301 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "PostReadCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
302 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
303 {
304 typeof(string),
305 typeof(string)
306 }, ReturnType = typeof(bool))]
307 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
309 {
310 throw null;
311 }
312
313 [global::Cpp2ILInjected.Token(Token = "0x60007ED")]
314 [global::Cpp2ILInjected.Address(RVA = "0x1EEBF58", Offset = "0x1EEBF58", Length = "0x1E0")]
315 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
316 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "PostSendCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
317 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReceiveCommandResponseCallback", MemberParameters = new object[]
318 {
320 typeof(int)
321 }, ReturnType = typeof(void))]
322 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
324 {
325 typeof(string),
326 typeof(string)
327 }, ReturnType = typeof(bool))]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "InvokeRequestCallback", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Inequality", MemberParameters = new object[]
331 {
332 typeof(string),
333 typeof(string)
334 }, ReturnType = typeof(bool))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(WebException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
336 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "GenerateException", MemberParameters = new object[]
337 {
338 typeof(string),
339 typeof(WebExceptionStatus),
341 }, ReturnType = typeof(Exception))]
342 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
344 {
345 throw null;
346 }
347
348 [global::Cpp2ILInjected.Token(Token = "0x60007EE")]
349 [global::Cpp2ILInjected.Address(RVA = "0x1EEC138", Offset = "0x1EEC138", Length = "0x8")]
350 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x60007EF")]
357 [global::Cpp2ILInjected.Address(RVA = "0x1EEC140", Offset = "0x1EEC140", Length = "0x2B4")]
358 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
360 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkStreamWrapper), Member = "CloseSocket", ReturnType = typeof(void))]
361 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ReceiveCommandResponseCallback", MemberParameters = new object[]
362 {
364 typeof(int)
365 }, ReturnType = typeof(void))]
366 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
367 private static void ReadCallback(IAsyncResult asyncResult)
368 {
369 throw null;
370 }
371
372 [global::Cpp2ILInjected.Token(Token = "0x60007F0")]
373 [global::Cpp2ILInjected.Address(RVA = "0x1EEC8DC", Offset = "0x1EEC8DC", Length = "0x294")]
374 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "PostSendCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
377 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
378 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 24)]
379 private static void WriteCallback(IAsyncResult asyncResult)
380 {
381 throw null;
382 }
383
384 [global::Cpp2ILInjected.Token(Token = "0x170001A2")]
386 {
387 [global::Cpp2ILInjected.Token(Token = "0x60007F1")]
388 [global::Cpp2ILInjected.Address(RVA = "0x1EECB70", Offset = "0x1EECB70", Length = "0x8")]
389 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
390 get
391 {
392 throw null;
393 }
394 [global::Cpp2ILInjected.Token(Token = "0x60007F2")]
395 [global::Cpp2ILInjected.Address(RVA = "0x1EECB78", Offset = "0x1EECB78", Length = "0x30")]
396 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
397 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
398 set
399 {
400 throw null;
401 }
402 }
403
404 [global::Cpp2ILInjected.Token(Token = "0x60007F3")]
405 [global::Cpp2ILInjected.Address(RVA = "0x1EECBA8", Offset = "0x1EECBA8", Length = "0x8")]
406 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
407 protected virtual bool CheckValid(ResponseDescription response, ref int validThrough, ref int completeLength)
408 {
409 throw null;
410 }
411
412 [global::Cpp2ILInjected.Token(Token = "0x60007F4")]
413 [global::Cpp2ILInjected.Address(RVA = "0x1EEBC44", Offset = "0x1EEBC44", Length = "0x314")]
414 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
415 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "PostSendCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
416 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(ReceiveState), Member = ".ctor", MemberParameters = new object[] { typeof(CommandStream) }, ReturnType = typeof(void))]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ReceiveCommandResponseCallback", MemberParameters = new object[]
419 {
421 typeof(int)
422 }, ReturnType = typeof(void))]
423 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkStreamWrapper), Member = "CloseSocket", ReturnType = typeof(void))]
424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "GenerateException", MemberParameters = new object[]
425 {
426 typeof(string),
427 typeof(WebExceptionStatus),
429 }, ReturnType = typeof(Exception))]
430 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
432 {
433 throw null;
434 }
435
436 [global::Cpp2ILInjected.Token(Token = "0x60007F5")]
437 [global::Cpp2ILInjected.Address(RVA = "0x1EEC3F4", Offset = "0x1EEC3F4", Length = "0x4E8")]
438 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
439 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReadCallback", MemberParameters = new object[] { typeof(IAsyncResult) }, ReturnType = typeof(void))]
440 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(CommandStream), Member = "ReceiveCommandResponse", ReturnType = typeof(ResponseDescription))]
441 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
442 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "Append", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(StringBuilder))]
443 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetworkStreamWrapper), Member = "CloseSocket", ReturnType = typeof(void))]
444 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[]
445 {
446 typeof(char[]),
447 typeof(int),
448 typeof(int)
449 }, ReturnType = typeof(string))]
450 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StringBuilder), Member = "get_Length", ReturnType = typeof(int))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
452 {
453 typeof(int),
454 typeof(int)
455 }, ReturnType = typeof(string))]
456 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "get_IsEnabled", ReturnType = typeof(bool))]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FormattableStringFactory), Member = "Create", MemberParameters = new object[]
458 {
459 typeof(string),
460 typeof(object[])
461 }, ReturnType = typeof(FormattableString))]
462 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(NetEventSource), Member = "Info", MemberParameters = new object[]
463 {
464 typeof(object),
466 typeof(string)
467 }, ReturnType = typeof(void))]
468 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "PostReadCommandProcessing", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(bool))]
469 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "ContinueCommandPipeline", ReturnType = typeof(Stream))]
470 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(CommandStream), Member = "GenerateException", MemberParameters = new object[]
471 {
472 typeof(string),
473 typeof(WebExceptionStatus),
475 }, ReturnType = typeof(Exception))]
476 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
478 {
479 throw null;
480 }
481
482 // Note: this type is marked as 'beforefieldinit'.
483 [global::Cpp2ILInjected.Token(Token = "0x60007F6")]
484 [global::Cpp2ILInjected.Address(RVA = "0x1EECC48", Offset = "0x1EECC48", Length = "0xD0")]
485 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
486 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(AsyncCallback), Member = ".ctor", MemberParameters = new object[]
487 {
488 typeof(object),
490 }, ReturnType = typeof(void))]
491 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
493 {
494 throw null;
495 }
496
497 [global::Cpp2ILInjected.Token(Token = "0x400064E")]
498 private static readonly AsyncCallback s_writeCallbackDelegate;
499
500 [global::Cpp2ILInjected.Token(Token = "0x400064F")]
501 private static readonly AsyncCallback s_readCallbackDelegate;
502
503 [global::Cpp2ILInjected.Token(Token = "0x4000650")]
504 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
506
507 [global::Cpp2ILInjected.Token(Token = "0x4000651")]
508 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
510
511 [global::Cpp2ILInjected.Token(Token = "0x4000652")]
512 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
513 protected bool _isAsync;
514
515 [global::Cpp2ILInjected.Token(Token = "0x4000653")]
516 [global::Cpp2ILInjected.FieldOffset(Offset = "0x49")]
517 private bool _aborted;
518
519 [global::Cpp2ILInjected.Token(Token = "0x4000654")]
520 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
522
523 [global::Cpp2ILInjected.Token(Token = "0x4000655")]
524 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
525 protected int _index;
526
527 [global::Cpp2ILInjected.Token(Token = "0x4000656")]
528 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
529 private bool _doRead;
530
531 [global::Cpp2ILInjected.Token(Token = "0x4000657")]
532 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5D")]
533 private bool _doSend;
534
535 [global::Cpp2ILInjected.Token(Token = "0x4000658")]
536 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
538
539 [global::Cpp2ILInjected.Token(Token = "0x4000659")]
540 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
541 protected string _abortReason;
542
543 [global::Cpp2ILInjected.Token(Token = "0x400065A")]
544 private const int WaitingForPipeline = 1;
545
546 [global::Cpp2ILInjected.Token(Token = "0x400065B")]
547 private const int CompletedPipeline = 2;
548
549 [global::Cpp2ILInjected.Token(Token = "0x400065C")]
550 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
551 private string _buffer;
552
553 [global::Cpp2ILInjected.Token(Token = "0x400065D")]
554 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
556
557 [global::Cpp2ILInjected.Token(Token = "0x400065E")]
558 [global::Cpp2ILInjected.FieldOffset(Offset = "0x80")]
560
561 [global::Cpp2ILInjected.Token(Token = "0x2000144")]
563 {
564 [global::Cpp2ILInjected.Token(Token = "0x4000660")]
565 Abort,
566 [global::Cpp2ILInjected.Token(Token = "0x4000661")]
567 Advance,
568 [global::Cpp2ILInjected.Token(Token = "0x4000662")]
569 Pause,
570 [global::Cpp2ILInjected.Token(Token = "0x4000663")]
571 Reread,
572 [global::Cpp2ILInjected.Token(Token = "0x4000664")]
573 GiveStream
574 }
575
576 [Flags]
577 [global::Cpp2ILInjected.Token(Token = "0x2000145")]
578 internal enum PipelineEntryFlags
579 {
580 [global::Cpp2ILInjected.Token(Token = "0x4000666")]
581 UserCommand = 1,
582 [global::Cpp2ILInjected.Token(Token = "0x4000667")]
583 GiveDataStream = 2,
584 [global::Cpp2ILInjected.Token(Token = "0x4000668")]
585 CreateDataConnection = 4,
586 [global::Cpp2ILInjected.Token(Token = "0x4000669")]
587 DontLogParameter = 8
588 }
589
590 [global::Cpp2ILInjected.Token(Token = "0x2000146")]
591 internal class PipelineEntry
592 {
593 [global::Cpp2ILInjected.Token(Token = "0x60007F7")]
594 [global::Cpp2ILInjected.Address(RVA = "0x1EECD18", Offset = "0x1EECD18", Length = "0x28")]
595 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
596 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
597 internal PipelineEntry(string command)
598 {
599 throw null;
600 }
601
602 [global::Cpp2ILInjected.Token(Token = "0x60007F8")]
603 [global::Cpp2ILInjected.Address(RVA = "0x1EECD40", Offset = "0x1EECD40", Length = "0x30")]
604 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
605 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
606 internal PipelineEntry(string command, CommandStream.PipelineEntryFlags flags)
607 {
608 throw null;
609 }
610
611 [global::Cpp2ILInjected.Token(Token = "0x60007F9")]
612 [global::Cpp2ILInjected.Address(RVA = "0x1EEBB1C", Offset = "0x1EEBB1C", Length = "0x10")]
613 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
614 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
616 {
617 throw null;
618 }
619
620 [global::Cpp2ILInjected.Token(Token = "0x400066A")]
621 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
622 internal string Command;
623
624 [global::Cpp2ILInjected.Token(Token = "0x400066B")]
625 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
627 }
628 }
629}
class f__AnonymousType0<< Count > j__TPar
PipelineEntry(string command, CommandStream.PipelineEntryFlags flags)
bool HasFlag(CommandStream.PipelineEntryFlags flags)
CommandStream.PipelineEntryFlags Flags
Exception GenerateException(FtpStatusCode code, string statusDescription, Exception innerException)
CommandStream(TcpClient client)
void ReceiveCommandResponseCallback(ReceiveState state, int bytesRead)
static readonly AsyncCallback s_writeCallbackDelegate
ResponseDescription _currentResponseDescription
static readonly AsyncCallback s_readCallbackDelegate
CommandStream.PipelineEntry[] _commands
void InvokeRequestCallback(object obj)
void InitCommandPipeline(WebRequest request, CommandStream.PipelineEntry[] commands, bool isAsync)
bool PostSendCommandProcessing(ref Stream stream)
override void Dispose(bool disposing)
Stream SubmitRequest(WebRequest request, bool isAsync, bool readInitalResponseOnConnect)
virtual void Abort(Exception e)
bool PostReadCommandProcessing(ref Stream stream)
static void WriteCallback(IAsyncResult asyncResult)
Exception GenerateException(string message, WebExceptionStatus status, Exception innerException)
ResponseDescription ReceiveCommandResponse()
virtual bool CheckValid(ResponseDescription response, ref int validThrough, ref int completeLength)
virtual CommandStream.PipelineInstruction PipelineCallback(CommandStream.PipelineEntry entry, ResponseDescription response, bool timeout, ref Stream stream)
static void ReadCallback(IAsyncResult asyncResult)
virtual CommandStream.PipelineEntry[] BuildCommandsList(WebRequest request)