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
Stream.cs
Go to the documentation of this file.
1using System;
11
12namespace System.IO
13{
14 [global::Cpp2ILInjected.Token(Token = "0x2000557")]
15 [global::System.Serializable]
16 public abstract class Stream : global::System.MarshalByRefObject, global::System.IDisposable
17 {
18 [global::Cpp2ILInjected.Token(Token = "0x60028A3")]
19 [global::Cpp2ILInjected.Address(RVA = "0x1BA52A4", Offset = "0x1BA52A4", Length = "0xFC")]
20 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginReadInternal", MemberParameters = new object[]
21 {
22 typeof(byte[]),
23 typeof(int),
24 typeof(int),
25 typeof(global::System.AsyncCallback),
26 typeof(object),
27 typeof(bool),
28 typeof(bool)
29 }, ReturnType = typeof(global::System.IAsyncResult))]
30 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginWriteInternal", MemberParameters = new object[]
31 {
32 typeof(byte[]),
33 typeof(int),
34 typeof(int),
35 typeof(global::System.AsyncCallback),
36 typeof(object),
37 typeof(bool),
38 typeof(bool)
39 }, ReturnType = typeof(global::System.IAsyncResult))]
40 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
41 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object>), Member = ".ctor", MemberParameters = new object[]
42 {
43 typeof(object),
44 typeof(global::System.IntPtr)
45 }, ReturnType = typeof(void))]
46 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.LazyInitializer), Member = "EnsureInitialized", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T&", "System.Func`1<T>" }, ReturnType = "T")]
47 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
48 internal global::System.Threading.SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized()
49 {
50 throw null;
51 }
52
53 [global::Cpp2ILInjected.Token(Token = "0x170005E0")]
54 public abstract bool CanRead
55 {
56 [global::Cpp2ILInjected.Token(Token = "0x60028A4")]
57 get;
58 }
59
60 [global::Cpp2ILInjected.Token(Token = "0x170005E1")]
61 public abstract bool CanSeek
62 {
63 [global::Cpp2ILInjected.Token(Token = "0x60028A5")]
64 get;
65 }
66
67 [global::Cpp2ILInjected.Token(Token = "0x170005E2")]
68 public virtual bool CanTimeout
69 {
70 [global::Cpp2ILInjected.Token(Token = "0x60028A6")]
71 [global::Cpp2ILInjected.Address(RVA = "0x1BA53A0", Offset = "0x1BA53A0", Length = "0x8")]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
73 get
74 {
75 throw null;
76 }
77 }
78
79 [global::Cpp2ILInjected.Token(Token = "0x170005E3")]
80 public abstract bool CanWrite
81 {
82 [global::Cpp2ILInjected.Token(Token = "0x60028A7")]
83 get;
84 }
85
86 [global::Cpp2ILInjected.Token(Token = "0x170005E4")]
87 public abstract long Length
88 {
89 [global::Cpp2ILInjected.Token(Token = "0x60028A8")]
90 get;
91 }
92
93 [global::Cpp2ILInjected.Token(Token = "0x170005E5")]
94 public abstract long Position
95 {
96 [global::Cpp2ILInjected.Token(Token = "0x60028A9")]
97 get;
98 [global::Cpp2ILInjected.Token(Token = "0x60028AA")]
99 set;
100 }
101
102 [global::Cpp2ILInjected.Token(Token = "0x170005E6")]
103 public virtual int ReadTimeout
104 {
105 [global::Cpp2ILInjected.Token(Token = "0x60028AB")]
106 [global::Cpp2ILInjected.Address(RVA = "0x1BA53A8", Offset = "0x1BA53A8", Length = "0x4C")]
107 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
108 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
110 get
111 {
112 throw null;
113 }
114 [global::Cpp2ILInjected.Token(Token = "0x60028AC")]
115 [global::Cpp2ILInjected.Address(RVA = "0x1BA53F4", Offset = "0x1BA53F4", Length = "0x4C")]
116 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
117 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
119 set
120 {
121 throw null;
122 }
123 }
124
125 [global::Cpp2ILInjected.Token(Token = "0x170005E7")]
126 public virtual int WriteTimeout
127 {
128 [global::Cpp2ILInjected.Token(Token = "0x60028AD")]
129 [global::Cpp2ILInjected.Address(RVA = "0x1BA5440", Offset = "0x1BA5440", Length = "0x4C")]
130 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
131 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
132 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
133 get
134 {
135 throw null;
136 }
137 [global::Cpp2ILInjected.Token(Token = "0x60028AE")]
138 [global::Cpp2ILInjected.Address(RVA = "0x1BA548C", Offset = "0x1BA548C", Length = "0x4C")]
139 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
142 set
143 {
144 throw null;
145 }
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x60028AF")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1BA54D8", Offset = "0x1BA54D8", Length = "0x38")]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldConsole", Member = "GetAllMetadata", MemberParameters = new object[] { typeof(string) }, ReturnType = "Terraria.IO.WorldFileData")]
151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldConsole", Member = "DecompressData", MemberParameters = new object[] { "System.Byte[]" }, ReturnType = "System.Byte[]")]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldSwitch", Member = "GetAllMetadata", MemberParameters = new object[] { typeof(string) }, ReturnType = "Terraria.IO.WorldFileData")]
153 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "WorldFile_OldSwitch", Member = "DecompressData", MemberParameters = new object[] { "System.Byte[]" }, ReturnType = "System.Byte[]")]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile_OldMobile", Member = "ReadAllBytes", MemberParameters = new object[] { typeof(Stream) }, ReturnType = "System.Byte[]")]
155 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "GetCopyBufferSize", ReturnType = typeof(int))]
157 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
159 {
160 throw null;
161 }
162
163 [global::Cpp2ILInjected.Token(Token = "0x60028B0")]
164 [global::Cpp2ILInjected.Address(RVA = "0x1B9823C", Offset = "0x1B9823C", Length = "0x19C")]
165 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MemoryStream), Member = "CopyTo", MemberParameters = new object[]
167 {
168 typeof(Stream),
169 typeof(int)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
172 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamHelpers), Member = "ValidateCopyToArgs", MemberParameters = new object[]
173 {
174 typeof(Stream),
175 typeof(Stream),
176 typeof(int)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
179 public virtual void CopyTo(Stream destination, int bufferSize)
180 {
181 throw null;
182 }
183
184 [global::Cpp2ILInjected.Token(Token = "0x60028B1")]
185 [global::Cpp2ILInjected.Address(RVA = "0x1BA5510", Offset = "0x1BA5510", Length = "0xC4")]
186 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "CopyTo", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
190 {
191 typeof(long),
192 typeof(long)
193 }, ReturnType = typeof(long))]
194 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
195 private int GetCopyBufferSize()
196 {
197 throw null;
198 }
199
200 [global::Cpp2ILInjected.Token(Token = "0x60028B2")]
201 [global::Cpp2ILInjected.Address(RVA = "0x1BA55D4", Offset = "0x1BA55D4", Length = "0x70")]
202 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
203 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.TlsStream", Member = "Close", ReturnType = typeof(void))]
204 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.OffsetStream", Member = "Close", ReturnType = typeof(void))]
205 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Crc.CrcCalculatorStream", Member = "Close", ReturnType = typeof(void))]
206 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
208 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
209 public virtual void Close()
210 {
211 throw null;
212 }
213
214 [global::Cpp2ILInjected.Token(Token = "0x60028B3")]
215 [global::Cpp2ILInjected.Address(RVA = "0x1BA5644", Offset = "0x1BA5644", Length = "0x10")]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Map.MapHelper", Member = "InternalSaveMap", ReturnType = typeof(void))]
217 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
218 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream", Member = "ProcessHandshake", MemberParameters = new object[]
219 {
220 "Mono.Net.Security.AsyncOperationStatus",
221 typeof(bool)
222 }, ReturnType = "Mono.Net.Security.AsyncOperationStatus")]
223 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MonoTlsStream", Member = "CloseSslStream", ReturnType = typeof(void))]
224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnection", Member = "CloseSocket", ReturnType = typeof(void))]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebReadStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
226 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream.<>c__DisplayClass41_0", Member = "<ProcessRead>b__1", ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebResponseStream", Member = "Close_internal", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
228 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.NetworkStream", Member = "Close", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
229 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Security.SslStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Http.DelegatingStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
233 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
234 public void Dispose()
235 {
236 throw null;
237 }
238
239 [global::Cpp2ILInjected.Token(Token = "0x60028B4")]
240 [global::Cpp2ILInjected.Address(RVA = "0x1B9EEE0", Offset = "0x1B9EEE0", Length = "0x4")]
241 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.TailStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FtpDataStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkStreamWrapper", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
244 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebReadStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.NetworkStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
246 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Security.AuthenticatedStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Http.DelegatingStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlRegisteredNonCachedStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
252 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.BZip2.BZip2InputStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.DeflateStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.GZipStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.ZlibStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 37)]
257 protected virtual void Dispose(bool disposing)
258 {
259 throw null;
260 }
261
262 [global::Cpp2ILInjected.Token(Token = "0x60028B5")]
263 public abstract void Flush();
264
265 [global::Cpp2ILInjected.Token(Token = "0x60028B6")]
266 [global::Cpp2ILInjected.Address(RVA = "0x1BA5654", Offset = "0x1BA5654", Length = "0x1C0")]
267 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "FlushAsync", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
268 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushAsync", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
269 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Action<object>), Member = ".ctor", MemberParameters = new object[]
271 {
272 typeof(object),
273 typeof(global::System.IntPtr)
274 }, ReturnType = typeof(void))]
275 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.TaskFactory), Member = "StartNew", MemberParameters = new object[]
276 {
277 typeof(global::System.Action<object>),
278 typeof(object),
279 typeof(global::System.Threading.CancellationToken),
280 typeof(global::System.Threading.Tasks.TaskCreationOptions),
281 typeof(global::System.Threading.Tasks.TaskScheduler)
282 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
283 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
284 public virtual global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
285 {
286 throw null;
287 }
288
289 [global::Cpp2ILInjected.Token(Token = "0x60028B7")]
290 [global::Cpp2ILInjected.Address(RVA = "0x1BA5814", Offset = "0x1BA5814", Length = "0x20")]
291 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "BeginRead", MemberParameters = new object[]
292 {
293 typeof(byte[]),
294 typeof(int),
295 typeof(int),
296 typeof(global::System.AsyncCallback),
297 typeof(object)
298 }, ReturnType = typeof(global::System.IAsyncResult))]
299 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
300 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginReadInternal", MemberParameters = new object[]
301 {
302 typeof(byte[]),
303 typeof(int),
304 typeof(int),
305 typeof(global::System.AsyncCallback),
306 typeof(object),
307 typeof(bool),
308 typeof(bool)
309 }, ReturnType = typeof(global::System.IAsyncResult))]
310 public virtual global::System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
311 {
312 throw null;
313 }
314
315 [global::Cpp2ILInjected.Token(Token = "0x60028B8")]
316 [global::Cpp2ILInjected.Address(RVA = "0x1BA5834", Offset = "0x1BA5834", Length = "0x1EC")]
317 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
318 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginRead", MemberParameters = new object[]
319 {
320 typeof(byte[]),
321 typeof(int),
322 typeof(int),
323 typeof(global::System.AsyncCallback),
324 typeof(object)
325 }, ReturnType = typeof(global::System.IAsyncResult))]
326 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
327 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "EnsureAsyncActiveSemaphoreInitialized", ReturnType = typeof(global::System.Threading.SemaphoreSlim))]
328 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "WaitAsync", ReturnType = typeof(global::System.Threading.Tasks.Task))]
329 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "Wait", ReturnType = typeof(void))]
330 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, int>), Member = ".ctor", MemberParameters = new object[]
331 {
332 typeof(object),
333 typeof(global::System.IntPtr)
334 }, ReturnType = typeof(void))]
335 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.ReadWriteTask), Member = ".ctor", MemberParameters = new object[]
336 {
337 typeof(bool),
338 typeof(bool),
339 typeof(global::System.Func<object, int>),
340 typeof(object),
341 typeof(Stream),
342 typeof(byte[]),
343 typeof(int),
344 typeof(int),
345 typeof(global::System.AsyncCallback)
346 }, ReturnType = typeof(void))]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "RunReadWriteTaskWhenReady", MemberParameters = new object[]
348 {
349 typeof(global::System.Threading.Tasks.Task),
350 typeof(Stream.ReadWriteTask)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "RunReadWriteTask", MemberParameters = new object[] { typeof(Stream.ReadWriteTask) }, ReturnType = typeof(void))]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Error), Member = "GetReadNotSupported", ReturnType = typeof(global::System.Exception))]
354 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
355 internal global::System.IAsyncResult BeginReadInternal(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
356 {
357 throw null;
358 }
359
360 [global::Cpp2ILInjected.Token(Token = "0x60028B9")]
361 [global::Cpp2ILInjected.Address(RVA = "0x1BA5C50", Offset = "0x1BA5C50", Length = "0x1CC")]
362 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
363 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "EndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
364 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task<int>), Member = "GetAwaiter", ReturnType = "System.Runtime.CompilerServices.TaskAwaiter`1<TResult>")]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.TaskAwaiter<int>), Member = "GetResult", ReturnType = "TResult")]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "Release", ReturnType = typeof(int))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
371 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
372 public virtual int EndRead(global::System.IAsyncResult asyncResult)
373 {
374 throw null;
375 }
376
377 [global::Cpp2ILInjected.Token(Token = "0x60028BA")]
378 [global::Cpp2ILInjected.Address(RVA = "0x1BA5E1C", Offset = "0x1BA5E1C", Length = "0x94")]
379 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Security.SslStream", Member = "BeginRead", MemberParameters = new object[]
380 {
381 "System.Byte[]",
382 typeof(int),
383 typeof(int),
384 typeof(global::System.AsyncCallback),
385 typeof(object)
386 }, ReturnType = typeof(global::System.IAsyncResult))]
387 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
388 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_None", ReturnType = typeof(global::System.Threading.CancellationToken))]
389 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
390 public global::System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count)
391 {
392 throw null;
393 }
394
395 [global::Cpp2ILInjected.Token(Token = "0x60028BB")]
396 [global::Cpp2ILInjected.Address(RVA = "0x1BA5EB0", Offset = "0x1BA5EB0", Length = "0xBC")]
397 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadAsync", MemberParameters = new object[]
398 {
399 typeof(byte[]),
400 typeof(int),
401 typeof(int),
402 typeof(global::System.Threading.CancellationToken)
403 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
404 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
405 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCanceled", MemberTypeParameters = new object[] { "TResult" }, MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginEndReadAsync", MemberParameters = new object[]
408 {
409 typeof(byte[]),
410 typeof(int),
411 typeof(int)
412 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
413 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
414 public virtual global::System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
415 {
416 throw null;
417 }
418
419 [global::Cpp2ILInjected.Token(Token = "0x60028BC")]
420 [global::Cpp2ILInjected.Address(RVA = "0x1BA611C", Offset = "0x1BA611C", Length = "0x258")]
421 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
422 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "ReadAsync", MemberParameters = new object[]
423 {
424 "System.Memory`1<Byte>",
425 typeof(global::System.Threading.CancellationToken)
426 }, ReturnType = "System.Threading.Tasks.ValueTask`1<Int32>")]
427 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStream", Member = "ReadAsyncMemory", MemberParameters = new object[]
428 {
429 "System.Memory`1<Byte>",
430 typeof(global::System.Threading.CancellationToken)
431 }, ReturnType = "System.Threading.Tasks.ValueTask`1<Int32>")]
432 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
433 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Memory<>), Member = "op_Implicit", MemberParameters = new object[] { "System.Memory`1<T>" }, ReturnType = "System.ReadOnlyMemory`1<T>")]
434 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "TryGetArray", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.ReadOnlyMemory`1<T>", "System.ArraySegment`1<T>&" }, ReturnType = typeof(bool))]
435 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentNullException", MemberParameters = new object[] { typeof(global::System.ExceptionArgument) }, ReturnType = typeof(void))]
436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Memory<>), Member = "get_Length", ReturnType = typeof(int))]
437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "<ReadAsync>g__FinishReadAsync|44_0", MemberParameters = new object[]
438 {
439 typeof(global::System.Threading.Tasks.Task<int>),
440 typeof(byte[]),
441 typeof(global::System.Memory<byte>)
442 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask<int>))]
443 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
444 public virtual global::System.Threading.Tasks.ValueTask<int> ReadAsync(global::System.Memory<byte> buffer, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
445 {
446 throw null;
447 }
448
449 [global::Cpp2ILInjected.Token(Token = "0x60028BD")]
450 [global::Cpp2ILInjected.Address(RVA = "0x1BA5F6C", Offset = "0x1BA5F6C", Length = "0x1B0")]
451 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
452 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "ReadAsync", MemberParameters = new object[]
453 {
454 typeof(byte[]),
455 typeof(int),
456 typeof(int),
457 typeof(global::System.Threading.CancellationToken)
458 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
459 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
460 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, Stream.ReadWriteParameters, object, object, object>), Member = ".ctor", MemberParameters = new object[]
461 {
462 typeof(object),
463 typeof(global::System.IntPtr)
464 }, ReturnType = typeof(void))]
465 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, object, int>), Member = ".ctor", MemberParameters = new object[]
466 {
467 typeof(object),
468 typeof(global::System.IntPtr)
469 }, ReturnType = typeof(void))]
470 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.TaskFactory<>), Member = "FromAsyncTrim", MemberTypeParameters = new object[] { "TInstance", "TArgs" }, MemberParameters = new object[] { "TInstance", "TArgs", "System.Func`5<TInstance, TArgs, AsyncCallback, Object, IAsyncResult>", "System.Func`3<TInstance, IAsyncResult, TResult>" }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
471 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
472 private global::System.Threading.Tasks.Task<int> BeginEndReadAsync(byte[] buffer, int offset, int count)
473 {
474 throw null;
475 }
476
477 [global::Cpp2ILInjected.Token(Token = "0x60028BE")]
478 [global::Cpp2ILInjected.Address(RVA = "0x1BA647C", Offset = "0x1BA647C", Length = "0x20")]
479 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "BeginWrite", MemberParameters = new object[]
480 {
481 typeof(byte[]),
482 typeof(int),
483 typeof(int),
484 typeof(global::System.AsyncCallback),
485 typeof(object)
486 }, ReturnType = typeof(global::System.IAsyncResult))]
487 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
488 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginWriteInternal", MemberParameters = new object[]
489 {
490 typeof(byte[]),
491 typeof(int),
492 typeof(int),
493 typeof(global::System.AsyncCallback),
494 typeof(object),
495 typeof(bool),
496 typeof(bool)
497 }, ReturnType = typeof(global::System.IAsyncResult))]
498 public virtual global::System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
499 {
500 throw null;
501 }
502
503 [global::Cpp2ILInjected.Token(Token = "0x60028BF")]
504 [global::Cpp2ILInjected.Address(RVA = "0x1BA649C", Offset = "0x1BA649C", Length = "0x1EC")]
505 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
506 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginWrite", MemberParameters = new object[]
507 {
508 typeof(byte[]),
509 typeof(int),
510 typeof(int),
511 typeof(global::System.AsyncCallback),
512 typeof(object)
513 }, ReturnType = typeof(global::System.IAsyncResult))]
514 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
515 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "EnsureAsyncActiveSemaphoreInitialized", ReturnType = typeof(global::System.Threading.SemaphoreSlim))]
516 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "WaitAsync", ReturnType = typeof(global::System.Threading.Tasks.Task))]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "Wait", ReturnType = typeof(void))]
518 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, int>), Member = ".ctor", MemberParameters = new object[]
519 {
520 typeof(object),
521 typeof(global::System.IntPtr)
522 }, ReturnType = typeof(void))]
523 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.ReadWriteTask), Member = ".ctor", MemberParameters = new object[]
524 {
525 typeof(bool),
526 typeof(bool),
527 typeof(global::System.Func<object, int>),
528 typeof(object),
529 typeof(Stream),
530 typeof(byte[]),
531 typeof(int),
532 typeof(int),
533 typeof(global::System.AsyncCallback)
534 }, ReturnType = typeof(void))]
535 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "RunReadWriteTaskWhenReady", MemberParameters = new object[]
536 {
537 typeof(global::System.Threading.Tasks.Task),
538 typeof(Stream.ReadWriteTask)
539 }, ReturnType = typeof(void))]
540 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "RunReadWriteTask", MemberParameters = new object[] { typeof(Stream.ReadWriteTask) }, ReturnType = typeof(void))]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Error), Member = "GetWriteNotSupported", ReturnType = typeof(global::System.Exception))]
542 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
543 internal global::System.IAsyncResult BeginWriteInternal(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
544 {
545 throw null;
546 }
547
548 [global::Cpp2ILInjected.Token(Token = "0x60028C0")]
549 [global::Cpp2ILInjected.Address(RVA = "0x1BA5A20", Offset = "0x1BA5A20", Length = "0x184")]
550 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginReadInternal", MemberParameters = new object[]
551 {
552 typeof(byte[]),
553 typeof(int),
554 typeof(int),
555 typeof(global::System.AsyncCallback),
556 typeof(object),
557 typeof(bool),
558 typeof(bool)
559 }, ReturnType = typeof(global::System.IAsyncResult))]
560 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginWriteInternal", MemberParameters = new object[]
561 {
562 typeof(byte[]),
563 typeof(int),
564 typeof(int),
565 typeof(global::System.AsyncCallback),
566 typeof(object),
567 typeof(bool),
568 typeof(bool)
569 }, ReturnType = typeof(global::System.IAsyncResult))]
570 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
571 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "get_IsCompleted", ReturnType = typeof(bool))]
572 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Action<object, object>), Member = ".ctor", MemberParameters = new object[]
573 {
574 typeof(object),
575 typeof(global::System.IntPtr)
576 }, ReturnType = typeof(void))]
577 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "ContinueWith", MemberParameters = new object[]
578 {
579 typeof(global::System.Action<global::System.Threading.Tasks.Task, object>),
580 typeof(object),
581 typeof(global::System.Threading.CancellationToken),
582 typeof(global::System.Threading.Tasks.TaskContinuationOptions),
583 typeof(global::System.Threading.Tasks.TaskScheduler)
584 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
585 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 10)]
586 private void RunReadWriteTaskWhenReady(global::System.Threading.Tasks.Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
587 {
588 throw null;
589 }
590
591 [global::Cpp2ILInjected.Token(Token = "0x60028C1")]
592 [global::Cpp2ILInjected.Address(RVA = "0x1BA5BA4", Offset = "0x1BA5BA4", Length = "0xAC")]
593 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.<>c), Member = "<RunReadWriteTaskWhenReady>b__49_0", MemberParameters = new object[]
594 {
595 typeof(global::System.Threading.Tasks.Task),
596 typeof(object)
597 }, ReturnType = typeof(void))]
598 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginReadInternal", MemberParameters = new object[]
599 {
600 typeof(byte[]),
601 typeof(int),
602 typeof(int),
603 typeof(global::System.AsyncCallback),
604 typeof(object),
605 typeof(bool),
606 typeof(bool)
607 }, ReturnType = typeof(global::System.IAsyncResult))]
608 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginWriteInternal", MemberParameters = new object[]
609 {
610 typeof(byte[]),
611 typeof(int),
612 typeof(int),
613 typeof(global::System.AsyncCallback),
614 typeof(object),
615 typeof(bool),
616 typeof(bool)
617 }, ReturnType = typeof(global::System.IAsyncResult))]
618 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
619 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "ScheduleAndStart", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
620 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
622 {
623 throw null;
624 }
625
626 [global::Cpp2ILInjected.Token(Token = "0x60028C2")]
627 [global::Cpp2ILInjected.Address(RVA = "0x1BA6688", Offset = "0x1BA6688", Length = "0x14")]
628 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.<>c), Member = "<BeginReadInternal>b__40_0", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(int))]
629 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.<>c), Member = "<BeginWriteInternal>b__48_0", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(int))]
630 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
631 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "Release", ReturnType = typeof(int))]
633 {
634 throw null;
635 }
636
637 [global::Cpp2ILInjected.Token(Token = "0x60028C3")]
638 [global::Cpp2ILInjected.Address(RVA = "0x1BA669C", Offset = "0x1BA669C", Length = "0x1C0")]
639 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
640 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "EndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
641 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
642 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task<int>), Member = "GetAwaiter", ReturnType = "System.Runtime.CompilerServices.TaskAwaiter`1<TResult>")]
643 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.TaskAwaiter<int>), Member = "GetResult", ReturnType = "TResult")]
644 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = "Release", ReturnType = typeof(int))]
645 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
646 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
647 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.InvalidOperationException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
648 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 19)]
649 public virtual void EndWrite(global::System.IAsyncResult asyncResult)
650 {
651 throw null;
652 }
653
654 [global::Cpp2ILInjected.Token(Token = "0x60028C4")]
655 [global::Cpp2ILInjected.Address(RVA = "0x1BA685C", Offset = "0x1BA685C", Length = "0x94")]
656 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Net.Security.MobileAuthenticatedStream.<InnerWrite>d__67", Member = "MoveNext", ReturnType = typeof(void))]
657 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = "Write", MemberParameters = new object[]
658 {
659 "System.Byte[]",
660 typeof(int),
661 typeof(int)
662 }, ReturnType = typeof(void))]
663 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Security.SslStream", Member = "BeginWrite", MemberParameters = new object[]
664 {
665 "System.Byte[]",
666 typeof(int),
667 typeof(int),
668 typeof(global::System.AsyncCallback),
669 typeof(object)
670 }, ReturnType = typeof(global::System.IAsyncResult))]
671 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
672 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_None", ReturnType = typeof(global::System.Threading.CancellationToken))]
673 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
674 public global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count)
675 {
676 throw null;
677 }
678
679 [global::Cpp2ILInjected.Token(Token = "0x60028C5")]
680 [global::Cpp2ILInjected.Address(RVA = "0x1BA68F0", Offset = "0x1BA68F0", Length = "0xA8")]
681 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteAsync", MemberParameters = new object[]
682 {
683 typeof(byte[]),
684 typeof(int),
685 typeof(int),
686 typeof(global::System.Threading.CancellationToken)
687 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
688 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
689 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
690 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCanceled", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
691 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginEndWriteAsync", MemberParameters = new object[]
692 {
693 typeof(byte[]),
694 typeof(int),
695 typeof(int)
696 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
697 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
698 public virtual global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
699 {
700 throw null;
701 }
702
703 [global::Cpp2ILInjected.Token(Token = "0x60028C6")]
704 [global::Cpp2ILInjected.Address(RVA = "0x1BA6B48", Offset = "0x1BA6B48", Length = "0x270")]
705 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
706 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "WriteAsync", MemberParameters = new object[]
707 {
708 "System.ReadOnlyMemory`1<Byte>",
709 typeof(global::System.Threading.CancellationToken)
710 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
711 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStream", Member = "WriteAsyncMemory", MemberParameters = new object[]
712 {
713 "System.ReadOnlyMemory`1<Byte>",
714 typeof(global::System.Threading.CancellationToken)
715 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
716 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
717 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "TryGetArray", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.ReadOnlyMemory`1<T>", "System.ArraySegment`1<T>&" }, ReturnType = typeof(bool))]
718 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlyMemory<>), Member = "get_Length", ReturnType = typeof(int))]
719 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
720 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
721 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "FinishWriteAsync", MemberParameters = new object[]
722 {
723 typeof(global::System.Threading.Tasks.Task),
724 typeof(byte[])
725 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
726 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentNullException", MemberParameters = new object[] { typeof(global::System.ExceptionArgument) }, ReturnType = typeof(void))]
727 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
728 public virtual global::System.Threading.Tasks.ValueTask WriteAsync(global::System.ReadOnlyMemory<byte> buffer, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
729 {
730 throw null;
731 }
732
733 [global::Cpp2ILInjected.Token(Token = "0x60028C7")]
734 [global::Cpp2ILInjected.Address(RVA = "0x1BA6DB8", Offset = "0x1BA6DB8", Length = "0xD8")]
735 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
736 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "WriteAsync", MemberParameters = new object[]
737 {
738 typeof(global::System.ReadOnlyMemory<byte>),
739 typeof(global::System.Threading.CancellationToken)
740 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask))]
741 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
742 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder), Member = "Create", ReturnType = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder))]
743 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder[]), Member = "Start", MemberTypeParameters = new object[] { typeof(Stream.<FinishWriteAsync>d__57) }, MemberParameters = new object[] { typeof(ref Stream.<FinishWriteAsync>d__57) }, ReturnType = typeof(void))]
744 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder), Member = "get_Task", ReturnType = typeof(global::System.Threading.Tasks.Task))]
745 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
746 private global::System.Threading.Tasks.Task FinishWriteAsync(global::System.Threading.Tasks.Task writeTask, byte[] localBuffer)
747 {
748 throw null;
749 }
750
751 [global::Cpp2ILInjected.Token(Token = "0x60028C8")]
752 [global::Cpp2ILInjected.Address(RVA = "0x1BA6998", Offset = "0x1BA6998", Length = "0x1B0")]
753 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
754 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "WriteAsync", MemberParameters = new object[]
755 {
756 typeof(byte[]),
757 typeof(int),
758 typeof(int),
759 typeof(global::System.Threading.CancellationToken)
760 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
761 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
762 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, Stream.ReadWriteParameters, object, object, object>), Member = ".ctor", MemberParameters = new object[]
763 {
764 typeof(object),
765 typeof(global::System.IntPtr)
766 }, ReturnType = typeof(void))]
767 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object, object, global::System.Threading.Tasks.VoidTaskResult>), Member = ".ctor", MemberParameters = new object[]
768 {
769 typeof(object),
770 typeof(global::System.IntPtr)
771 }, ReturnType = typeof(void))]
772 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.TaskFactory<global::System.Threading.Tasks.VoidTaskResult>), Member = "FromAsyncTrim", MemberTypeParameters = new object[]
773 {
774 typeof(object),
775 typeof(Stream.ReadWriteParameters)
776 }, MemberParameters = new object[]
777 {
778 typeof(object),
779 typeof(Stream.ReadWriteParameters),
782 }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
783 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
784 private global::System.Threading.Tasks.Task BeginEndWriteAsync(byte[] buffer, int offset, int count)
785 {
786 throw null;
787 }
788
789 [global::Cpp2ILInjected.Token(Token = "0x60028C9")]
790 public abstract long Seek(long offset, SeekOrigin origin);
791
792 [global::Cpp2ILInjected.Token(Token = "0x60028CA")]
793 public abstract void SetLength(long value);
794
795 [global::Cpp2ILInjected.Token(Token = "0x60028CB")]
796 public abstract int Read(byte[] buffer, int offset, int count);
797
798 [global::Cpp2ILInjected.Token(Token = "0x60028CC")]
799 [global::Cpp2ILInjected.Address(RVA = "0x1B975E4", Offset = "0x1B975E4", Length = "0x284")]
800 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
801 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MemoryStream), Member = "Read", MemberParameters = new object[] { typeof(global::System.Span<byte>) }, ReturnType = typeof(int))]
802 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnmanagedMemoryStream), Member = "Read", MemberParameters = new object[] { typeof(global::System.Span<byte>) }, ReturnType = typeof(int))]
803 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.NetworkStream", Member = "Read", MemberParameters = new object[] { "System.Span`1<Byte>" }, ReturnType = typeof(int))]
804 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "Read", MemberParameters = new object[] { "System.Span`1<Byte>" }, ReturnType = typeof(int))]
805 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
806 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
807 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
808 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.SystemException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
809 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
810 public virtual int Read(global::System.Span<byte> buffer)
811 {
812 throw null;
813 }
814
815 [global::Cpp2ILInjected.Token(Token = "0x60028CD")]
816 [global::Cpp2ILInjected.Address(RVA = "0x1BA6E98", Offset = "0x1BA6E98", Length = "0x80")]
817 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
818 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "ReadByte", ReturnType = typeof(int))]
819 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
820 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
821 public virtual int ReadByte()
822 {
823 throw null;
824 }
825
826 [global::Cpp2ILInjected.Token(Token = "0x60028CE")]
827 public abstract void Write(byte[] buffer, int offset, int count);
828
829 [global::Cpp2ILInjected.Token(Token = "0x60028CF")]
830 [global::Cpp2ILInjected.Address(RVA = "0x1B98BA0", Offset = "0x1B98BA0", Length = "0x1C0")]
831 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
832 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(UnmanagedMemoryStream), Member = "Write", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<byte>) }, ReturnType = typeof(void))]
833 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.NetworkStream", Member = "Write", MemberParameters = new object[] { "System.ReadOnlySpan`1<Byte>" }, ReturnType = typeof(void))]
834 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = "Write", MemberParameters = new object[] { "System.ReadOnlySpan`1<Byte>" }, ReturnType = typeof(void))]
835 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
836 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
837 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ReadOnlySpan<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
838 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
839 public virtual void Write(global::System.ReadOnlySpan<byte> buffer)
840 {
841 throw null;
842 }
843
844 [global::Cpp2ILInjected.Token(Token = "0x60028D0")]
845 [global::Cpp2ILInjected.Address(RVA = "0x1BA6F18", Offset = "0x1BA6F18", Length = "0x78")]
846 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = "WriteByte", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
847 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
848 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
849 public virtual void WriteByte(byte value)
850 {
851 throw null;
852 }
853
854 [global::Cpp2ILInjected.Token(Token = "0x60028D1")]
855 [global::Cpp2ILInjected.Address(RVA = "0x1BA6F90", Offset = "0x1BA6F90", Length = "0x164")]
856 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
857 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.NullStream), Member = "BeginRead", MemberParameters = new object[]
858 {
859 typeof(byte[]),
860 typeof(int),
861 typeof(int),
862 typeof(global::System.AsyncCallback),
863 typeof(object)
864 }, ReturnType = typeof(global::System.IAsyncResult))]
865 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
866 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = ".ctor", MemberParameters = new object[]
867 {
868 typeof(int),
869 typeof(object)
870 }, ReturnType = typeof(void))]
871 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = ".ctor", MemberParameters = new object[]
872 {
873 typeof(global::System.Exception),
874 typeof(object),
875 typeof(bool)
876 }, ReturnType = typeof(void))]
877 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
878 internal global::System.IAsyncResult BlockingBeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
879 {
880 throw null;
881 }
882
883 [global::Cpp2ILInjected.Token(Token = "0x60028D2")]
884 [global::Cpp2ILInjected.Address(RVA = "0x1BA70F4", Offset = "0x1BA70F4", Length = "0x8")]
885 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.NullStream), Member = "EndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
886 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
887 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = "EndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
888 internal static int BlockingEndRead(global::System.IAsyncResult asyncResult)
889 {
890 throw null;
891 }
892
893 [global::Cpp2ILInjected.Token(Token = "0x60028D3")]
894 [global::Cpp2ILInjected.Address(RVA = "0x1BA70FC", Offset = "0x1BA70FC", Length = "0x15C")]
895 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
896 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.NullStream), Member = "BeginWrite", MemberParameters = new object[]
897 {
898 typeof(byte[]),
899 typeof(int),
900 typeof(int),
901 typeof(global::System.AsyncCallback),
902 typeof(object)
903 }, ReturnType = typeof(global::System.IAsyncResult))]
904 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
905 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = ".ctor", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
906 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = ".ctor", MemberParameters = new object[]
907 {
908 typeof(global::System.Exception),
909 typeof(object),
910 typeof(bool)
911 }, ReturnType = typeof(void))]
912 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
913 internal global::System.IAsyncResult BlockingBeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
914 {
915 throw null;
916 }
917
918 [global::Cpp2ILInjected.Token(Token = "0x60028D4")]
919 [global::Cpp2ILInjected.Address(RVA = "0x1BA7258", Offset = "0x1BA7258", Length = "0x8")]
920 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.NullStream), Member = "EndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
921 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
922 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.SynchronousAsyncResult), Member = "EndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
923 internal static void BlockingEndWrite(global::System.IAsyncResult asyncResult)
924 {
925 throw null;
926 }
927
928 [global::Cpp2ILInjected.Token(Token = "0x60028D5")]
929 [global::Cpp2ILInjected.Address(RVA = "0x1BA6474", Offset = "0x1BA6474", Length = "0x8")]
930 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
932 {
933 throw null;
934 }
935
936 [global::Cpp2ILInjected.Token(Token = "0x60028D6")]
937 [global::Cpp2ILInjected.Address(RVA = "0x1BA6E90", Offset = "0x1BA6E90", Length = "0x8")]
938 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
940 {
941 throw null;
942 }
943
944 [global::Cpp2ILInjected.Token(Token = "0x60028D7")]
945 [global::Cpp2ILInjected.Address(RVA = "0x1B968A0", Offset = "0x1B968A0", Length = "0x8")]
946 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.CryptoStream), Member = ".ctor", MemberParameters = new object[]
947 {
948 typeof(Stream),
949 typeof(global::System.Security.Cryptography.ICryptoTransform),
950 typeof(global::System.Security.Cryptography.CryptoStreamMode),
951 typeof(bool)
952 }, ReturnType = typeof(void))]
953 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.TailStream), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
954 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream.NullStream), Member = ".ctor", ReturnType = typeof(void))]
955 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
956 {
957 typeof(global::System.IntPtr),
959 typeof(bool),
960 typeof(int),
961 typeof(bool),
962 typeof(bool)
963 }, ReturnType = typeof(void))]
964 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
965 {
966 typeof(string),
967 typeof(FileMode),
968 typeof(FileAccess),
969 typeof(FileShare),
970 typeof(int),
971 typeof(bool),
972 typeof(FileOptions)
973 }, ReturnType = typeof(void))]
974 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.DelegatedStream", Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
975 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FtpDataStream", Member = ".ctor", MemberParameters = new object[] { "System.Net.Sockets.NetworkStream", "System.Net.FtpWebRequest", "System.Net.TriState" }, ReturnType = typeof(void))]
976 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkStreamWrapper", Member = ".ctor", MemberParameters = new object[] { "System.Net.Sockets.TcpClient" }, ReturnType = typeof(void))]
977 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.RequestStream", Member = ".ctor", MemberParameters = new object[]
978 {
979 typeof(Stream),
980 "System.Byte[]",
981 typeof(int),
982 typeof(int),
983 typeof(long)
984 }, ReturnType = typeof(void))]
985 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.ResponseStream", Member = ".ctor", MemberParameters = new object[]
986 {
987 typeof(Stream),
988 "System.Net.HttpListenerResponse",
989 typeof(bool)
990 }, ReturnType = typeof(void))]
991 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebConnectionStream", Member = ".ctor", MemberParameters = new object[] { "System.Net.WebConnection", "System.Net.WebOperation" }, ReturnType = typeof(void))]
992 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebReadStream", Member = ".ctor", MemberParameters = new object[]
993 {
994 "System.Net.WebOperation",
995 typeof(Stream)
996 }, ReturnType = typeof(void))]
997 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Sockets.NetworkStream", Member = ".ctor", MemberParameters = new object[]
998 {
999 "System.Net.Sockets.Socket",
1000 typeof(FileAccess),
1001 typeof(bool)
1002 }, ReturnType = typeof(void))]
1003 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Security.AuthenticatedStream", Member = ".ctor", MemberParameters = new object[]
1004 {
1005 typeof(Stream),
1006 typeof(bool)
1007 }, ReturnType = typeof(void))]
1008 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.Http.DelegatingStream", Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
1009 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.ChunkedMemoryStream", Member = ".ctor", ReturnType = typeof(void))]
1010 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.GZipStream", Member = ".ctor", MemberParameters = new object[]
1011 {
1012 typeof(Stream),
1013 "System.IO.Compression.CompressionMode",
1014 typeof(bool)
1015 }, ReturnType = typeof(void))]
1016 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.IO.Compression.DeflateStream", Member = ".ctor", MemberParameters = new object[]
1017 {
1018 typeof(Stream),
1019 "System.IO.Compression.CompressionMode",
1020 typeof(bool),
1021 typeof(bool)
1022 }, ReturnType = typeof(void))]
1023 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlRegisteredNonCachedStream", Member = ".ctor", MemberParameters = new object[]
1024 {
1025 typeof(Stream),
1026 "System.Xml.XmlDownloadManager",
1027 typeof(string)
1028 }, ReturnType = typeof(void))]
1029 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.OffsetStream", Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
1030 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.CountingStream", Member = ".ctor", MemberParameters = new object[] { typeof(Stream) }, ReturnType = typeof(void))]
1031 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipCipherStream", Member = ".ctor", MemberParameters = new object[]
1032 {
1033 typeof(Stream),
1034 "Ionic.Zip.ZipCrypto",
1035 "Ionic.Zip.CryptoMode"
1036 }, ReturnType = typeof(void))]
1037 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipInputStream", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1038 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipInputStream", Member = ".ctor", MemberParameters = new object[]
1039 {
1040 typeof(Stream),
1041 typeof(bool)
1042 }, ReturnType = typeof(void))]
1043 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipOutputStream", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1044 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipOutputStream", Member = ".ctor", MemberParameters = new object[]
1045 {
1046 typeof(Stream),
1047 typeof(bool)
1048 }, ReturnType = typeof(void))]
1049 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = ".ctor", ReturnType = typeof(void))]
1050 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.BZip2.BZip2InputStream", Member = ".ctor", MemberParameters = new object[]
1051 {
1052 typeof(Stream),
1053 typeof(bool)
1054 }, ReturnType = typeof(void))]
1055 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.BZip2.BZip2OutputStream", Member = ".ctor", MemberParameters = new object[]
1056 {
1057 typeof(Stream),
1058 typeof(int),
1059 typeof(bool)
1060 }, ReturnType = typeof(void))]
1061 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.DeflateStream", Member = ".ctor", MemberParameters = new object[]
1062 {
1063 typeof(Stream),
1064 "Ionic.Zlib.CompressionMode",
1065 "Ionic.Zlib.CompressionLevel",
1066 typeof(bool)
1067 }, ReturnType = typeof(void))]
1068 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.GZipStream", Member = ".ctor", MemberParameters = new object[]
1069 {
1070 typeof(Stream),
1071 "Ionic.Zlib.CompressionMode",
1072 "Ionic.Zlib.CompressionLevel",
1073 typeof(bool)
1074 }, ReturnType = typeof(void))]
1075 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.ZlibBaseStream", Member = ".ctor", MemberParameters = new object[]
1076 {
1077 typeof(Stream),
1078 "Ionic.Zlib.CompressionMode",
1079 "Ionic.Zlib.CompressionLevel",
1080 "Ionic.Zlib.ZlibStreamFlavor",
1081 typeof(bool)
1082 }, ReturnType = typeof(void))]
1083 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zlib.ZlibStream", Member = ".ctor", MemberParameters = new object[]
1084 {
1085 typeof(Stream),
1086 "Ionic.Zlib.CompressionMode",
1087 "Ionic.Zlib.CompressionLevel",
1088 typeof(bool)
1089 }, ReturnType = typeof(void))]
1090 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Crc.CrcCalculatorStream", Member = ".ctor", MemberParameters = new object[]
1091 {
1092 typeof(bool),
1093 typeof(long),
1094 typeof(Stream),
1095 "Ionic.Crc.CRC32"
1096 }, ReturnType = typeof(void))]
1097 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 34)]
1098 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.MarshalByRefObject), Member = ".ctor", ReturnType = typeof(void))]
1099 protected Stream()
1100 {
1101 throw null;
1102 }
1103
1104 // Note: this type is marked as 'beforefieldinit'.
1105 [global::Cpp2ILInjected.Token(Token = "0x60028D8")]
1106 [global::Cpp2ILInjected.Address(RVA = "0x1BA7260", Offset = "0x1BA7260", Length = "0x1070")]
1107 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1108 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream.NullStream), Member = ".ctor", ReturnType = typeof(void))]
1110 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
1111 static Stream()
1112 {
1113 throw null;
1114 }
1115
1116 [global::System.Runtime.CompilerServices.CompilerGenerated]
1117 [global::Cpp2ILInjected.Token(Token = "0x60028D9")]
1118 [global::Cpp2ILInjected.Address(RVA = "0x1BA6374", Offset = "0x1BA6374", Length = "0x100")]
1119 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "ReadAsync", MemberParameters = new object[]
1121 {
1122 typeof(global::System.Memory<byte>),
1123 typeof(global::System.Threading.CancellationToken)
1124 }, ReturnType = typeof(global::System.Threading.Tasks.ValueTask<int>))]
1125 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1126 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "Create", ReturnType = "System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1<TResult>")]
1127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder<int>), Member = "Start", MemberTypeParameters = new object[] { typeof(Stream.ValueTypeCompilerGeneratedNPrivateSealedIAsyncStateMachineInAs1TaInre1ByloInUnique) }, MemberParameters = new object[] { typeof(ref Stream.ValueTypeCompilerGeneratedNPrivateSealedIAsyncStateMachineInAs1TaInre1ByloInUnique) }, ReturnType = typeof(void))]
1128 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "get_Task", ReturnType = "System.Threading.Tasks.ValueTask`1<TResult>")]
1129 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
1130 internal static global::System.Threading.Tasks.ValueTask<int> Method_Internal_Static_ValueTask_1_Int32_Task_1_Int32_Byte_Memory_1_Byte_0(global::System.Threading.Tasks.Task<int> readTask, byte[] localBuffer, global::System.Memory<byte> localDestination)
1131 {
1132 throw null;
1133 }
1134
1135 [global::Cpp2ILInjected.Token(Token = "0x40015F2")]
1136 public static readonly Stream Null;
1137
1138 [global::Cpp2ILInjected.Token(Token = "0x40015F3")]
1139 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
1140 [global::System.NonSerialized]
1142
1143 [global::Cpp2ILInjected.Token(Token = "0x40015F4")]
1144 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
1145 [global::System.NonSerialized]
1146 private global::System.Threading.SemaphoreSlim _asyncActiveSemaphore;
1147
1148 [global::Cpp2ILInjected.Token(Token = "0x2000558")]
1149 private struct ReadWriteParameters
1150 {
1151 [global::Cpp2ILInjected.Token(Token = "0x40015F5")]
1152 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
1153 internal byte[] Buffer;
1154
1155 [global::Cpp2ILInjected.Token(Token = "0x40015F6")]
1156 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
1157 internal int Offset;
1158
1159 [global::Cpp2ILInjected.Token(Token = "0x40015F7")]
1160 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
1161 internal int Count;
1162 }
1163
1164 [global::Cpp2ILInjected.Token(Token = "0x2000559")]
1165 private sealed class ReadWriteTask : global::System.Threading.Tasks.Task<int>, global::System.Threading.Tasks.ITaskCompletionAction
1166 {
1167 [global::Cpp2ILInjected.Token(Token = "0x60028DA")]
1168 [global::Cpp2ILInjected.Address(RVA = "0x1BC478C", Offset = "0x1BC478C", Length = "0x8")]
1169 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1170 internal void ClearBeginState()
1171 {
1172 throw null;
1173 }
1174
1175 [global::Cpp2ILInjected.Token(Token = "0x60028DB")]
1176 [global::Cpp2ILInjected.Address(RVA = "0x1BC4794", Offset = "0x1BC4794", Length = "0x144")]
1177 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginReadInternal", MemberParameters = new object[]
1178 {
1179 typeof(byte[]),
1180 typeof(int),
1181 typeof(int),
1182 typeof(global::System.AsyncCallback),
1183 typeof(object),
1184 typeof(bool),
1185 typeof(bool)
1186 }, ReturnType = typeof(global::System.IAsyncResult))]
1187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BeginWriteInternal", MemberParameters = new object[]
1188 {
1189 typeof(byte[]),
1190 typeof(int),
1191 typeof(int),
1192 typeof(global::System.AsyncCallback),
1193 typeof(object),
1194 typeof(bool),
1195 typeof(bool)
1196 }, ReturnType = typeof(global::System.IAsyncResult))]
1197 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1198 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_None", ReturnType = typeof(global::System.Threading.CancellationToken))]
1199 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task<int>), Member = ".ctor", MemberParameters = new object[]
1200 {
1201 typeof(global::System.Func<object, int>),
1202 typeof(object),
1203 typeof(global::System.Threading.CancellationToken),
1204 typeof(global::System.Threading.Tasks.TaskCreationOptions)
1205 }, ReturnType = typeof(void))]
1206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.ExecutionContext), Member = "Capture", ReturnType = typeof(global::System.Threading.ExecutionContext))]
1207 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "AddCompletionAction", MemberParameters = new object[] { typeof(global::System.Threading.Tasks.ITaskCompletionAction) }, ReturnType = typeof(void))]
1208 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1209 public ReadWriteTask(bool isRead, bool apm, global::System.Func<object, int> function, object state, Stream stream, byte[] buffer, int offset, int count, global::System.AsyncCallback callback)
1210 {
1211 throw null;
1212 }
1213
1214 [global::Cpp2ILInjected.Token(Token = "0x60028DC")]
1215 [global::Cpp2ILInjected.Address(RVA = "0x1BC48D8", Offset = "0x1BC48D8", Length = "0x74")]
1216 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1217 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1218 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
1219 private static void InvokeAsyncCallback(object completedTask)
1220 {
1221 throw null;
1222 }
1223
1224 [global::Cpp2ILInjected.Token(Token = "0x60028DD")]
1225 [global::Cpp2ILInjected.Address(RVA = "0x1BC494C", Offset = "0x1BC494C", Length = "0x114")]
1226 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1227 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.ContextCallback), Member = ".ctor", MemberParameters = new object[]
1228 {
1229 typeof(object),
1230 typeof(global::System.IntPtr)
1231 }, ReturnType = typeof(void))]
1232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.ExecutionContext), Member = "RunInternal", MemberParameters = new object[]
1233 {
1234 typeof(global::System.Threading.ExecutionContext),
1235 typeof(global::System.Threading.ContextCallback),
1236 typeof(object)
1237 }, ReturnType = typeof(void))]
1238 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
1239 private void System.Threading.Tasks.ITaskCompletionAction.Invoke(global::System.Threading.Tasks.Task completingTask)
1240 {
1241 throw null;
1242 }
1243
1244 [global::Cpp2ILInjected.Token(Token = "0x170005E8")]
1246 {
1247 [global::Cpp2ILInjected.Token(Token = "0x60028DE")]
1248 [global::Cpp2ILInjected.Address(RVA = "0x1BC4A60", Offset = "0x1BC4A60", Length = "0x8")]
1249 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1250 get
1251 {
1252 throw null;
1253 }
1254 }
1255
1256 [global::Cpp2ILInjected.Token(Token = "0x40015F8")]
1257 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
1258 internal readonly bool _isRead;
1259
1260 [global::Cpp2ILInjected.Token(Token = "0x40015F9")]
1261 [global::Cpp2ILInjected.FieldOffset(Offset = "0x55")]
1262 internal readonly bool _apm;
1263
1264 [global::Cpp2ILInjected.Token(Token = "0x40015FA")]
1265 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
1266 internal Stream _stream;
1267
1268 [global::Cpp2ILInjected.Token(Token = "0x40015FB")]
1269 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
1270 internal byte[] _buffer;
1271
1272 [global::Cpp2ILInjected.Token(Token = "0x40015FC")]
1273 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
1274 internal readonly int _offset;
1275
1276 [global::Cpp2ILInjected.Token(Token = "0x40015FD")]
1277 [global::Cpp2ILInjected.FieldOffset(Offset = "0x6C")]
1278 internal readonly int _count;
1279
1280 [global::Cpp2ILInjected.Token(Token = "0x40015FE")]
1281 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
1282 private global::System.AsyncCallback _callback;
1283
1284 [global::Cpp2ILInjected.Token(Token = "0x40015FF")]
1285 [global::Cpp2ILInjected.FieldOffset(Offset = "0x78")]
1286 private global::System.Threading.ExecutionContext _context;
1287
1288 [global::Cpp2ILInjected.Token(Token = "0x4001600")]
1289 private static global::System.Threading.ContextCallback s_invokeAsyncCallback;
1290 }
1291
1292 [global::Cpp2ILInjected.Token(Token = "0x200055A")]
1293 private sealed class NullStream : Stream
1294 {
1295 [global::Cpp2ILInjected.Token(Token = "0x60028DF")]
1296 [global::Cpp2ILInjected.Address(RVA = "0x1BC4A68", Offset = "0x1BC4A68", Length = "0x58")]
1297 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = ".cctor", ReturnType = typeof(void))]
1298 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1299 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = ".ctor", ReturnType = typeof(void))]
1300 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1301 internal NullStream()
1302 {
1303 throw null;
1304 }
1305
1306 [global::Cpp2ILInjected.Token(Token = "0x170005E9")]
1307 public override bool CanRead
1308 {
1309 [global::Cpp2ILInjected.Token(Token = "0x60028E0")]
1310 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AC0", Offset = "0x1BC4AC0", Length = "0x8")]
1311 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1312 get
1313 {
1314 throw null;
1315 }
1316 }
1317
1318 [global::Cpp2ILInjected.Token(Token = "0x170005EA")]
1319 public override bool CanWrite
1320 {
1321 [global::Cpp2ILInjected.Token(Token = "0x60028E1")]
1322 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AC8", Offset = "0x1BC4AC8", Length = "0x8")]
1323 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1324 get
1325 {
1326 throw null;
1327 }
1328 }
1329
1330 [global::Cpp2ILInjected.Token(Token = "0x170005EB")]
1331 public override bool CanSeek
1332 {
1333 [global::Cpp2ILInjected.Token(Token = "0x60028E2")]
1334 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AD0", Offset = "0x1BC4AD0", Length = "0x8")]
1335 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1336 get
1337 {
1338 throw null;
1339 }
1340 }
1341
1342 [global::Cpp2ILInjected.Token(Token = "0x170005EC")]
1343 public override long Length
1344 {
1345 [global::Cpp2ILInjected.Token(Token = "0x60028E3")]
1346 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AD8", Offset = "0x1BC4AD8", Length = "0x8")]
1347 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1348 get
1349 {
1350 throw null;
1351 }
1352 }
1353
1354 [global::Cpp2ILInjected.Token(Token = "0x170005ED")]
1355 public override long Position
1356 {
1357 [global::Cpp2ILInjected.Token(Token = "0x60028E4")]
1358 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AE0", Offset = "0x1BC4AE0", Length = "0x8")]
1359 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1360 get
1361 {
1362 throw null;
1363 }
1364 [global::Cpp2ILInjected.Token(Token = "0x60028E5")]
1365 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AE8", Offset = "0x1BC4AE8", Length = "0x4")]
1366 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1367 set
1368 {
1369 throw null;
1370 }
1371 }
1372
1373 [global::Cpp2ILInjected.Token(Token = "0x60028E6")]
1374 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AEC", Offset = "0x1BC4AEC", Length = "0x8")]
1375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamHelpers), Member = "ValidateCopyToArgs", MemberParameters = new object[]
1377 {
1378 typeof(Stream),
1379 typeof(Stream),
1380 typeof(int)
1381 }, ReturnType = typeof(void))]
1382 public override void CopyTo(Stream destination, int bufferSize)
1383 {
1384 throw null;
1385 }
1386
1387 [global::Cpp2ILInjected.Token(Token = "0x60028E7")]
1388 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AF4", Offset = "0x1BC4AF4", Length = "0x4")]
1389 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1390 protected override void Dispose(bool disposing)
1391 {
1392 throw null;
1393 }
1394
1395 [global::Cpp2ILInjected.Token(Token = "0x60028E8")]
1396 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AF8", Offset = "0x1BC4AF8", Length = "0x4")]
1397 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1398 public override void Flush()
1399 {
1400 throw null;
1401 }
1402
1403 [global::Cpp2ILInjected.Token(Token = "0x60028E9")]
1404 [global::Cpp2ILInjected.Address(RVA = "0x1BC4AFC", Offset = "0x1BC4AFC", Length = "0xC0")]
1405 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
1407 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCanceled", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
1408 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1409 public override global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
1410 {
1411 throw null;
1412 }
1413
1414 [global::Cpp2ILInjected.Token(Token = "0x60028EA")]
1415 [global::Cpp2ILInjected.Address(RVA = "0x1BC4BBC", Offset = "0x1BC4BBC", Length = "0x90")]
1416 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1417 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BlockingBeginRead", MemberParameters = new object[]
1419 {
1420 typeof(byte[]),
1421 typeof(int),
1422 typeof(int),
1423 typeof(global::System.AsyncCallback),
1424 typeof(object)
1425 }, ReturnType = typeof(global::System.IAsyncResult))]
1426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Error), Member = "GetReadNotSupported", ReturnType = typeof(global::System.Exception))]
1427 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1428 public override global::System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
1429 {
1430 throw null;
1431 }
1432
1433 [global::Cpp2ILInjected.Token(Token = "0x60028EB")]
1434 [global::Cpp2ILInjected.Address(RVA = "0x1BC4C4C", Offset = "0x1BC4C4C", Length = "0xA4")]
1435 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1436 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BlockingEndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
1437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1438 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
1439 public override int EndRead(global::System.IAsyncResult asyncResult)
1440 {
1441 throw null;
1442 }
1443
1444 [global::Cpp2ILInjected.Token(Token = "0x60028EC")]
1445 [global::Cpp2ILInjected.Address(RVA = "0x1BC4CF0", Offset = "0x1BC4CF0", Length = "0x90")]
1446 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1447 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1448 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BlockingBeginWrite", MemberParameters = new object[]
1449 {
1450 typeof(byte[]),
1451 typeof(int),
1452 typeof(int),
1453 typeof(global::System.AsyncCallback),
1454 typeof(object)
1455 }, ReturnType = typeof(global::System.IAsyncResult))]
1456 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Error), Member = "GetWriteNotSupported", ReturnType = typeof(global::System.Exception))]
1457 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1458 public override global::System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
1459 {
1460 throw null;
1461 }
1462
1463 [global::Cpp2ILInjected.Token(Token = "0x60028ED")]
1464 [global::Cpp2ILInjected.Address(RVA = "0x1BC4D80", Offset = "0x1BC4D80", Length = "0xA4")]
1465 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1466 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BlockingEndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
1467 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1468 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
1469 public override void EndWrite(global::System.IAsyncResult asyncResult)
1470 {
1471 throw null;
1472 }
1473
1474 [global::Cpp2ILInjected.Token(Token = "0x60028EE")]
1475 [global::Cpp2ILInjected.Address(RVA = "0x1BC4E24", Offset = "0x1BC4E24", Length = "0x8")]
1476 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1477 public override int Read(byte[] buffer, int offset, int count)
1478 {
1479 throw null;
1480 }
1481
1482 [global::Cpp2ILInjected.Token(Token = "0x60028EF")]
1483 [global::Cpp2ILInjected.Address(RVA = "0x1BC4E2C", Offset = "0x1BC4E2C", Length = "0x8")]
1484 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1485 public override int Read(global::System.Span<byte> buffer)
1486 {
1487 throw null;
1488 }
1489
1490 [global::Cpp2ILInjected.Token(Token = "0x60028F0")]
1491 [global::Cpp2ILInjected.Address(RVA = "0x1BC4E34", Offset = "0x1BC4E34", Length = "0x58")]
1492 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1493 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1494 public override global::System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
1495 {
1496 throw null;
1497 }
1498
1499 [global::Cpp2ILInjected.Token(Token = "0x60028F1")]
1500 [global::Cpp2ILInjected.Address(RVA = "0x1BC4E8C", Offset = "0x1BC4E8C", Length = "0x34")]
1501 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1502 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
1503 public override global::System.Threading.Tasks.ValueTask<int> ReadAsync(global::System.Memory<byte> buffer, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
1504 {
1505 throw null;
1506 }
1507
1508 [global::Cpp2ILInjected.Token(Token = "0x60028F2")]
1509 [global::Cpp2ILInjected.Address(RVA = "0x1BC4EC0", Offset = "0x1BC4EC0", Length = "0x8")]
1510 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1511 public override int ReadByte()
1512 {
1513 throw null;
1514 }
1515
1516 [global::Cpp2ILInjected.Token(Token = "0x60028F3")]
1517 [global::Cpp2ILInjected.Address(RVA = "0x1BC4EC8", Offset = "0x1BC4EC8", Length = "0x4")]
1518 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1519 public override void Write(byte[] buffer, int offset, int count)
1520 {
1521 throw null;
1522 }
1523
1524 [global::Cpp2ILInjected.Token(Token = "0x60028F4")]
1525 [global::Cpp2ILInjected.Address(RVA = "0x1BC4ECC", Offset = "0x1BC4ECC", Length = "0x4")]
1526 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1527 public override void Write(global::System.ReadOnlySpan<byte> buffer)
1528 {
1529 throw null;
1530 }
1531
1532 [global::Cpp2ILInjected.Token(Token = "0x60028F5")]
1533 [global::Cpp2ILInjected.Address(RVA = "0x1BC4ED0", Offset = "0x1BC4ED0", Length = "0xC0")]
1534 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1535 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
1536 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCanceled", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
1537 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1538 public override global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
1539 {
1540 throw null;
1541 }
1542
1543 [global::Cpp2ILInjected.Token(Token = "0x60028F6")]
1544 [global::Cpp2ILInjected.Address(RVA = "0x1BC4F90", Offset = "0x1BC4F90", Length = "0x94")]
1545 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1546 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.CancellationToken), Member = "get_IsCancellationRequested", ReturnType = typeof(bool))]
1547 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "FromCanceled", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
1548 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentNullException", MemberParameters = new object[] { typeof(global::System.ExceptionArgument) }, ReturnType = typeof(void))]
1549 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1550 public override global::System.Threading.Tasks.ValueTask WriteAsync(global::System.ReadOnlyMemory<byte> buffer, global::System.Threading.CancellationToken cancellationToken = default(global::System.Threading.CancellationToken))
1551 {
1552 throw null;
1553 }
1554
1555 [global::Cpp2ILInjected.Token(Token = "0x60028F7")]
1556 [global::Cpp2ILInjected.Address(RVA = "0x1BC5024", Offset = "0x1BC5024", Length = "0x4")]
1557 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1558 public override void WriteByte(byte value)
1559 {
1560 throw null;
1561 }
1562
1563 [global::Cpp2ILInjected.Token(Token = "0x60028F8")]
1564 [global::Cpp2ILInjected.Address(RVA = "0x1BC5028", Offset = "0x1BC5028", Length = "0x8")]
1565 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1566 public override long Seek(long offset, SeekOrigin origin)
1567 {
1568 throw null;
1569 }
1570
1571 [global::Cpp2ILInjected.Token(Token = "0x60028F9")]
1572 [global::Cpp2ILInjected.Address(RVA = "0x1BC5030", Offset = "0x1BC5030", Length = "0x4")]
1573 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1574 public override void SetLength(long length)
1575 {
1576 throw null;
1577 }
1578
1579 // Note: this type is marked as 'beforefieldinit'.
1580 [global::Cpp2ILInjected.Token(Token = "0x60028FA")]
1581 [global::Cpp2ILInjected.Address(RVA = "0x1BC5034", Offset = "0x1BC5034", Length = "0x8C")]
1582 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1583 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task[]), Member = "FromResult", MemberTypeParameters = new object[] { typeof(int) }, MemberParameters = new object[] { typeof(int) }, ReturnType = "System.Threading.Tasks.Task`1<TResult>")]
1584 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
1585 static NullStream()
1586 {
1587 throw null;
1588 }
1589
1590 [global::Cpp2ILInjected.Token(Token = "0x4001601")]
1591 private static readonly global::System.Threading.Tasks.Task<int> s_zeroTask;
1592 }
1593
1594 [global::Cpp2ILInjected.Token(Token = "0x200055B")]
1595 private sealed class SynchronousAsyncResult : global::System.IAsyncResult
1596 {
1597 [global::Cpp2ILInjected.Token(Token = "0x60028FB")]
1598 [global::Cpp2ILInjected.Address(RVA = "0x1BC50C0", Offset = "0x1BC50C0", Length = "0x30")]
1599 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingBeginRead", MemberParameters = new object[]
1600 {
1601 typeof(byte[]),
1602 typeof(int),
1603 typeof(int),
1604 typeof(global::System.AsyncCallback),
1605 typeof(object)
1606 }, ReturnType = typeof(global::System.IAsyncResult))]
1607 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1608 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1610 {
1611 throw null;
1612 }
1613
1614 [global::Cpp2ILInjected.Token(Token = "0x60028FC")]
1615 [global::Cpp2ILInjected.Address(RVA = "0x1BC50F0", Offset = "0x1BC50F0", Length = "0x30")]
1616 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingBeginWrite", MemberParameters = new object[]
1617 {
1618 typeof(byte[]),
1619 typeof(int),
1620 typeof(int),
1621 typeof(global::System.AsyncCallback),
1622 typeof(object)
1623 }, ReturnType = typeof(global::System.IAsyncResult))]
1624 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1625 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1627 {
1628 throw null;
1629 }
1630
1631 [global::Cpp2ILInjected.Token(Token = "0x60028FD")]
1632 [global::Cpp2ILInjected.Address(RVA = "0x1BC5120", Offset = "0x1BC5120", Length = "0x4C")]
1633 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingBeginRead", MemberParameters = new object[]
1634 {
1635 typeof(byte[]),
1636 typeof(int),
1637 typeof(int),
1638 typeof(global::System.AsyncCallback),
1639 typeof(object)
1640 }, ReturnType = typeof(global::System.IAsyncResult))]
1641 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingBeginWrite", MemberParameters = new object[]
1642 {
1643 typeof(byte[]),
1644 typeof(int),
1645 typeof(int),
1646 typeof(global::System.AsyncCallback),
1647 typeof(object)
1648 }, ReturnType = typeof(global::System.IAsyncResult))]
1649 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1650 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1651 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Capture", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo))]
1652 internal SynchronousAsyncResult(global::System.Exception ex, object asyncStateObject, bool isWrite)
1653 {
1654 throw null;
1655 }
1656
1657 [global::Cpp2ILInjected.Token(Token = "0x170005EE")]
1658 public bool IsCompleted
1659 {
1660 [global::Cpp2ILInjected.Token(Token = "0x60028FE")]
1661 [global::Cpp2ILInjected.Address(RVA = "0x1BC516C", Offset = "0x1BC516C", Length = "0x8")]
1662 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1663 get
1664 {
1665 throw null;
1666 }
1667 }
1668
1669 [global::Cpp2ILInjected.Token(Token = "0x170005EF")]
1670 public global::System.Threading.WaitHandle AsyncWaitHandle
1671 {
1672 [global::Cpp2ILInjected.Token(Token = "0x60028FF")]
1673 [global::Cpp2ILInjected.Address(RVA = "0x1BC5174", Offset = "0x1BC5174", Length = "0xFC")]
1674 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1675 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Func<object>), Member = ".ctor", MemberParameters = new object[]
1676 {
1677 typeof(object),
1678 typeof(global::System.IntPtr)
1679 }, ReturnType = typeof(void))]
1680 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.LazyInitializer), Member = "EnsureInitialized", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "T&", "System.Func`1<T>" }, ReturnType = "T")]
1681 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
1682 get
1683 {
1684 throw null;
1685 }
1686 }
1687
1688 [global::Cpp2ILInjected.Token(Token = "0x170005F0")]
1689 public object AsyncState
1690 {
1691 [global::Cpp2ILInjected.Token(Token = "0x6002900")]
1692 [global::Cpp2ILInjected.Address(RVA = "0x1BC5270", Offset = "0x1BC5270", Length = "0x8")]
1693 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1694 get
1695 {
1696 throw null;
1697 }
1698 }
1699
1700 [global::Cpp2ILInjected.Token(Token = "0x170005F1")]
1701 public bool CompletedSynchronously
1702 {
1703 [global::Cpp2ILInjected.Token(Token = "0x6002901")]
1704 [global::Cpp2ILInjected.Address(RVA = "0x1BC5278", Offset = "0x1BC5278", Length = "0x8")]
1705 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1706 get
1707 {
1708 throw null;
1709 }
1710 }
1711
1712 [global::Cpp2ILInjected.Token(Token = "0x6002902")]
1713 [global::Cpp2ILInjected.Address(RVA = "0x1BC5280", Offset = "0x1BC5280", Length = "0x14")]
1714 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1715 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Throw", ReturnType = typeof(void))]
1716 internal void ThrowIfError()
1717 {
1718 throw null;
1719 }
1720
1721 [global::Cpp2ILInjected.Token(Token = "0x6002903")]
1722 [global::Cpp2ILInjected.Address(RVA = "0x1BC5294", Offset = "0x1BC5294", Length = "0xE8")]
1723 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1724 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingEndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
1725 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1726 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Throw", ReturnType = typeof(void))]
1727 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1728 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1729 internal static int EndRead(global::System.IAsyncResult asyncResult)
1730 {
1731 throw null;
1732 }
1733
1734 [global::Cpp2ILInjected.Token(Token = "0x6002904")]
1735 [global::Cpp2ILInjected.Address(RVA = "0x1BC537C", Offset = "0x1BC537C", Length = "0xEC")]
1736 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1737 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Stream), Member = "BlockingEndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
1738 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1739 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.ExceptionServices.ExceptionDispatchInfo), Member = "Throw", ReturnType = typeof(void))]
1740 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1741 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1742 internal static void EndWrite(global::System.IAsyncResult asyncResult)
1743 {
1744 throw null;
1745 }
1746
1747 [global::Cpp2ILInjected.Token(Token = "0x4001602")]
1748 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
1749 private readonly object _stateObject;
1750
1751 [global::Cpp2ILInjected.Token(Token = "0x4001603")]
1752 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
1753 private readonly bool _isWrite;
1754
1755 [global::Cpp2ILInjected.Token(Token = "0x4001604")]
1756 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
1757 private global::System.Threading.ManualResetEvent _waitHandle;
1758
1759 [global::Cpp2ILInjected.Token(Token = "0x4001605")]
1760 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
1761 private global::System.Runtime.ExceptionServices.ExceptionDispatchInfo _exceptionInfo;
1762
1763 [global::Cpp2ILInjected.Token(Token = "0x4001606")]
1764 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
1765 private bool _endXxxCalled;
1766
1767 [global::Cpp2ILInjected.Token(Token = "0x4001607")]
1768 [global::Cpp2ILInjected.FieldOffset(Offset = "0x34")]
1769 private int _bytesRead;
1770
1771 [global::System.Runtime.CompilerServices.CompilerGenerated]
1772 [global::Cpp2ILInjected.Token(Token = "0x200055C")]
1773 [global::System.Serializable]
1774 private sealed class <>c
1775 {
1776 // Note: this type is marked as 'beforefieldinit'.
1777 [global::Cpp2ILInjected.Token(Token = "0x6002905")]
1778 [global::Cpp2ILInjected.Address(RVA = "0x1BC5468", Offset = "0x1BC5468", Length = "0x5C")]
1779 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1780 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1781 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1782 static <>c()
1783 {
1784 throw null;
1785 }
1786
1787 [global::Cpp2ILInjected.Token(Token = "0x6002906")]
1788 [global::Cpp2ILInjected.Address(RVA = "0x1BC54C4", Offset = "0x1BC54C4", Length = "0x8")]
1789 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1790 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1791 public <>c()
1792 {
1793 throw null;
1794 }
1795
1796 [global::Cpp2ILInjected.Token(Token = "0x6002907")]
1797 [global::Cpp2ILInjected.Address(RVA = "0x1BC54CC", Offset = "0x1BC54CC", Length = "0x58")]
1798 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1799 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.ManualResetEvent), Member = ".ctor", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1800 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1801 internal global::System.Threading.ManualResetEvent <get_AsyncWaitHandle>b__12_0()
1802 {
1803 throw null;
1804 }
1805
1806 [global::Cpp2ILInjected.Token(Token = "0x4001608")]
1807 public static readonly Stream.SynchronousAsyncResult.<>c <>9;
1808
1809 [global::Cpp2ILInjected.Token(Token = "0x4001609")]
1810 public static global::System.Func<global::System.Threading.ManualResetEvent> <>9__12_0;
1811 }
1812 }
1813
1814 [global::System.Runtime.CompilerServices.CompilerGenerated]
1815 [global::Cpp2ILInjected.Token(Token = "0x200055D")]
1816 [global::System.Serializable]
1817 private sealed class <>c
1818 {
1819 // Note: this type is marked as 'beforefieldinit'.
1820 [global::Cpp2ILInjected.Token(Token = "0x6002908")]
1821 [global::Cpp2ILInjected.Address(RVA = "0x1BC5524", Offset = "0x1BC5524", Length = "0x5C")]
1822 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1823 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1824 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1825 static <>c()
1826 {
1827 throw null;
1828 }
1829
1830 [global::Cpp2ILInjected.Token(Token = "0x6002909")]
1831 [global::Cpp2ILInjected.Address(RVA = "0x1BC5580", Offset = "0x1BC5580", Length = "0x8")]
1832 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1833 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1834 public <>c()
1835 {
1836 throw null;
1837 }
1838
1839 [global::Cpp2ILInjected.Token(Token = "0x600290A")]
1840 [global::Cpp2ILInjected.Address(RVA = "0x1BC5588", Offset = "0x1BC5588", Length = "0x5C")]
1841 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1842 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.SemaphoreSlim), Member = ".ctor", MemberParameters = new object[]
1843 {
1844 typeof(int),
1845 typeof(int)
1846 }, ReturnType = typeof(void))]
1847 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1848 internal global::System.Threading.SemaphoreSlim <EnsureAsyncActiveSemaphoreInitialized>b__4_0()
1849 {
1850 throw null;
1851 }
1852
1853 [global::Cpp2ILInjected.Token(Token = "0x600290B")]
1854 [global::Cpp2ILInjected.Address(RVA = "0x1BC55E4", Offset = "0x1BC55E4", Length = "0x80")]
1855 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1856 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1857 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
1858 internal void <FlushAsync>b__37_0(object state)
1859 {
1860 throw null;
1861 }
1862
1863 [global::Cpp2ILInjected.Token(Token = "0x600290C")]
1864 [global::Cpp2ILInjected.Address(RVA = "0x1BC5664", Offset = "0x1BC5664", Length = "0x160")]
1865 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1866 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1867 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "FinishTrackingAsyncOperation", ReturnType = typeof(void))]
1868 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
1870 {
1871 throw null;
1872 }
1873
1874 [global::Cpp2ILInjected.Token(Token = "0x600290D")]
1875 [global::Cpp2ILInjected.Address(RVA = "0x1BC57C4", Offset = "0x1BC57C4", Length = "0x24")]
1876 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1877 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
1878 internal global::System.IAsyncResult <BeginEndReadAsync>b__45_0(Stream stream, Stream.ReadWriteParameters args, global::System.AsyncCallback callback, object state)
1879 {
1880 throw null;
1881 }
1882
1883 [global::Cpp2ILInjected.Token(Token = "0x600290E")]
1884 [global::Cpp2ILInjected.Address(RVA = "0x1BC57E8", Offset = "0x1BC57E8", Length = "0x1C")]
1885 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1886 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
1887 internal int <BeginEndReadAsync>b__45_1(Stream stream, global::System.IAsyncResult asyncResult)
1888 {
1889 throw null;
1890 }
1891
1892 [global::Cpp2ILInjected.Token(Token = "0x600290F")]
1893 [global::Cpp2ILInjected.Address(RVA = "0x1BC5804", Offset = "0x1BC5804", Length = "0x158")]
1894 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1895 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1896 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "FinishTrackingAsyncOperation", ReturnType = typeof(void))]
1897 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
1898 internal int <BeginWriteInternal>b__48_0(object <p0>)
1899 {
1900 throw null;
1901 }
1902
1903 [global::Cpp2ILInjected.Token(Token = "0x6002910")]
1904 [global::Cpp2ILInjected.Address(RVA = "0x1BC595C", Offset = "0x1BC595C", Length = "0x68")]
1905 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1906 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1907 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "RunReadWriteTask", MemberParameters = new object[] { "System.IO.Stream.ReadWriteTask" }, ReturnType = typeof(void))]
1908 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1909 internal void <RunReadWriteTaskWhenReady>b__49_0(global::System.Threading.Tasks.Task t, object state)
1910 {
1911 throw null;
1912 }
1913
1914 [global::Cpp2ILInjected.Token(Token = "0x6002911")]
1915 [global::Cpp2ILInjected.Address(RVA = "0x1BC59C4", Offset = "0x1BC59C4", Length = "0x24")]
1916 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1917 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
1918 internal global::System.IAsyncResult <BeginEndWriteAsync>b__58_0(Stream stream, Stream.ReadWriteParameters args, global::System.AsyncCallback callback, object state)
1919 {
1920 throw null;
1921 }
1922
1923 [global::Cpp2ILInjected.Token(Token = "0x6002912")]
1924 [global::Cpp2ILInjected.Address(RVA = "0x1BC59E8", Offset = "0x1BC59E8", Length = "0x2C")]
1925 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1926 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1927 internal global::System.Threading.Tasks.VoidTaskResult <BeginEndWriteAsync>b__58_1(Stream stream, global::System.IAsyncResult asyncResult)
1928 {
1929 throw null;
1930 }
1931
1932 [global::Cpp2ILInjected.Token(Token = "0x400160A")]
1933 public static readonly Stream.<>c <>9;
1934
1935 [global::Cpp2ILInjected.Token(Token = "0x400160B")]
1936 public static global::System.Func<global::System.Threading.SemaphoreSlim> <>9__4_0;
1937
1938 [global::Cpp2ILInjected.Token(Token = "0x400160C")]
1939 public static global::System.Action<object> <>9__37_0;
1940
1941 [global::Cpp2ILInjected.Token(Token = "0x400160D")]
1942 public static global::System.Func<object, int> <>9__40_0;
1943
1944 [global::Cpp2ILInjected.Token(Token = "0x400160E")]
1945 public static global::System.Func<Stream, Stream.ReadWriteParameters, global::System.AsyncCallback, object, global::System.IAsyncResult> <>9__45_0;
1946
1947 [global::Cpp2ILInjected.Token(Token = "0x400160F")]
1948 public static global::System.Func<Stream, global::System.IAsyncResult, int> <>9__45_1;
1949
1950 [global::Cpp2ILInjected.Token(Token = "0x4001610")]
1951 public static global::System.Func<object, int> <>9__48_0;
1952
1953 [global::Cpp2ILInjected.Token(Token = "0x4001611")]
1954 public static global::System.Action<global::System.Threading.Tasks.Task, object> <>9__49_0;
1955
1956 [global::Cpp2ILInjected.Token(Token = "0x4001612")]
1957 public static global::System.Func<Stream, Stream.ReadWriteParameters, global::System.AsyncCallback, object, global::System.IAsyncResult> <>9__58_0;
1958
1959 [global::Cpp2ILInjected.Token(Token = "0x4001613")]
1960 public static global::System.Func<Stream, global::System.IAsyncResult, global::System.Threading.Tasks.VoidTaskResult> <>9__58_1;
1961 }
1962
1963 [global::System.Runtime.CompilerServices.CompilerGenerated]
1964 [global::Cpp2ILInjected.Token(Token = "0x200055E")]
1965 [StructLayout(3)]
1966 private struct <FinishWriteAsync>d__57 : global::System.Runtime.CompilerServices.IAsyncStateMachine
1967 {
1968 [global::Cpp2ILInjected.Token(Token = "0x6002913")]
1969 [global::Cpp2ILInjected.Address(RVA = "0x1BC5A14", Offset = "0x1BC5A14", Length = "0x200")]
1970 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1971 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1972 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task), Member = "ConfigureAwait", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable))]
1973 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter), Member = "get_IsCompleted", ReturnType = typeof(bool))]
1974 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder[]), Member = "AwaitUnsafeOnCompleted", MemberTypeParameters = new object[]
1975 {
1976 typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter),
1977 typeof(Stream.<FinishWriteAsync>d__57)
1978 }, MemberParameters = new object[]
1979 {
1980 typeof(ref global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter),
1981 typeof(ref Stream.<FinishWriteAsync>d__57)
1982 }, ReturnType = typeof(void))]
1983 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter), Member = "GetResult", ReturnType = typeof(void))]
1984 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder), Member = "SetResult", ReturnType = typeof(void))]
1985 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder), Member = "SetException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
1986 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 16)]
1987 private void MoveNext()
1988 {
1989 throw null;
1990 }
1991
1992 [global::System.Diagnostics.DebuggerHidden]
1993 [global::Cpp2ILInjected.Token(Token = "0x6002914")]
1994 [global::Cpp2ILInjected.Address(RVA = "0x1BC5C14", Offset = "0x1BC5C14", Length = "0xC")]
1995 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1996 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder), Member = "SetStateMachine", MemberParameters = new object[] { typeof(global::System.Runtime.CompilerServices.IAsyncStateMachine) }, ReturnType = typeof(void))]
1997 private void SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
1998 {
1999 throw null;
2000 }
2001
2002 [global::Cpp2ILInjected.Token(Token = "0x4001614")]
2003 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
2005
2006 [global::Cpp2ILInjected.Token(Token = "0x4001615")]
2007 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
2008 public global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder <>t__builder;
2009
2010 [global::Cpp2ILInjected.Token(Token = "0x4001616")]
2011 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
2012 public global::System.Threading.Tasks.Task writeTask;
2013
2014 [global::Cpp2ILInjected.Token(Token = "0x4001617")]
2015 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
2016 public byte[] localBuffer;
2017
2018 [global::Cpp2ILInjected.Token(Token = "0x4001618")]
2019 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
2020 private global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter <>u__1;
2021 }
2022
2023 [global::System.Runtime.CompilerServices.CompilerGenerated]
2024 [global::Cpp2ILInjected.Token(Token = "0x200055F")]
2025 [StructLayout(3)]
2027 {
2028 [global::Cpp2ILInjected.Token(Token = "0x6002915")]
2029 [global::Cpp2ILInjected.Address(RVA = "0x1BC5C20", Offset = "0x1BC5C20", Length = "0x388")]
2030 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
2031 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2032 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Tasks.Task<int>), Member = "ConfigureAwait", MemberParameters = new object[] { typeof(bool) }, ReturnType = "System.Runtime.CompilerServices.ConfiguredTaskAwaitable`1<TResult>")]
2033 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable<int>.ConfiguredTaskAwaiter), Member = "get_IsCompleted", ReturnType = typeof(bool))]
2034 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "AwaitUnsafeOnCompleted", MemberTypeParameters = new object[] { "TAwaiter", "TStateMachine" }, MemberParameters = new object[] { "TAwaiter&", "TStateMachine&" }, ReturnType = typeof(void))]
2035 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable<int>.ConfiguredTaskAwaiter), Member = "GetResult", ReturnType = "TResult")]
2036 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
2037 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
2038 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "SetResult", MemberParameters = new object[] { "TResult" }, ReturnType = typeof(void))]
2039 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "SetException", MemberParameters = new object[] { typeof(global::System.Exception) }, ReturnType = typeof(void))]
2040 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 27)]
2041 private void MoveNext()
2042 {
2043 throw null;
2044 }
2045
2046 [global::System.Diagnostics.DebuggerHidden]
2047 [global::Cpp2ILInjected.Token(Token = "0x6002916")]
2048 [global::Cpp2ILInjected.Address(RVA = "0x1BC5FA8", Offset = "0x1BC5FA8", Length = "0x58")]
2049 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
2050 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<>), Member = "SetStateMachine", MemberParameters = new object[] { typeof(global::System.Runtime.CompilerServices.IAsyncStateMachine) }, ReturnType = typeof(void))]
2051 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
2052 private void SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
2053 {
2054 throw null;
2055 }
2056
2057 [global::Cpp2ILInjected.Token(Token = "0x4001619")]
2058 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
2060
2061 [global::Cpp2ILInjected.Token(Token = "0x400161A")]
2062 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
2063 public global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder<int> <>t__builder;
2064
2065 [global::Cpp2ILInjected.Token(Token = "0x400161B")]
2066 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
2067 public global::System.Threading.Tasks.Task<int> readTask;
2068
2069 [global::Cpp2ILInjected.Token(Token = "0x400161C")]
2070 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
2071 public byte[] localBuffer;
2072
2073 [global::Cpp2ILInjected.Token(Token = "0x400161D")]
2074 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
2075 public global::System.Memory<byte> localDestination;
2076
2077 [global::Cpp2ILInjected.Token(Token = "0x400161E")]
2078 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
2079 private global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable<int>.ConfiguredTaskAwaiter <>u__1;
2080 }
2081 }
2082}
class f__AnonymousType0<< Count > j__TPar
override void Flush()
Definition Stream.cs:1398
override global::System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:1458
override int EndRead(global::System.IAsyncResult asyncResult)
Definition Stream.cs:1439
override long Seek(long offset, SeekOrigin origin)
Definition Stream.cs:1566
override void Dispose(bool disposing)
Definition Stream.cs:1390
override global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:1538
override global::System.Threading.Tasks.ValueTask< int > ReadAsync(global::System.Memory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
Definition Stream.cs:1503
override int Read(global::System.Span< byte > buffer)
Definition Stream.cs:1485
override void CopyTo(Stream destination, int bufferSize)
Definition Stream.cs:1382
override void EndWrite(global::System.IAsyncResult asyncResult)
Definition Stream.cs:1469
override void WriteByte(byte value)
Definition Stream.cs:1558
override global::System.Threading.Tasks.ValueTask WriteAsync(global::System.ReadOnlyMemory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
Definition Stream.cs:1550
override global::System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:1428
override void SetLength(long length)
Definition Stream.cs:1574
override int ReadByte()
Definition Stream.cs:1511
override void Write(global::System.ReadOnlySpan< byte > buffer)
Definition Stream.cs:1527
static readonly global::System.Threading.Tasks.Task< int > s_zeroTask
Definition Stream.cs:1591
override void Write(byte[] buffer, int offset, int count)
Definition Stream.cs:1519
override global::System.Threading.Tasks.Task< int > ReadAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:1494
override int Read(byte[] buffer, int offset, int count)
Definition Stream.cs:1477
override global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:1409
static void InvokeAsyncCallback(object completedTask)
Definition Stream.cs:1219
global::System.Threading.ExecutionContext _context
Definition Stream.cs:1286
static global::System.Threading.ContextCallback s_invokeAsyncCallback
Definition Stream.cs:1289
ReadWriteTask(bool isRead, bool apm, global::System.Func< object, int > function, object state, Stream stream, byte[] buffer, int offset, int count, global::System.AsyncCallback callback)
Definition Stream.cs:1209
global::System.AsyncCallback _callback
Definition Stream.cs:1282
global::System.Runtime.ExceptionServices.ExceptionDispatchInfo _exceptionInfo
Definition Stream.cs:1761
global::System.Threading.ManualResetEvent _waitHandle
Definition Stream.cs:1757
static int EndRead(global::System.IAsyncResult asyncResult)
Definition Stream.cs:1729
SynchronousAsyncResult(object asyncStateObject)
Definition Stream.cs:1626
SynchronousAsyncResult(int bytesRead, object asyncStateObject)
Definition Stream.cs:1609
static void EndWrite(global::System.IAsyncResult asyncResult)
Definition Stream.cs:1742
SynchronousAsyncResult(global::System.Exception ex, object asyncStateObject, bool isWrite)
Definition Stream.cs:1652
virtual void Dispose(bool disposing)
Definition Stream.cs:257
static global::System.Threading.Tasks.ValueTask< int > Method_Internal_Static_ValueTask_1_Int32_Task_1_Int32_Byte_Memory_1_Byte_0(global::System.Threading.Tasks.Task< int > readTask, byte[] localBuffer, global::System.Memory< byte > localDestination)
Definition Stream.cs:1130
static int BlockingEndRead(global::System.IAsyncResult asyncResult)
Definition Stream.cs:888
virtual int ReadByte()
Definition Stream.cs:821
bool HasOverriddenBeginEndRead()
Definition Stream.cs:931
virtual int EndRead(global::System.IAsyncResult asyncResult)
Definition Stream.cs:372
void SetLength(long value)
global::System.Threading.Tasks.Task< int > ReadAsync(byte[] buffer, int offset, int count)
Definition Stream.cs:390
bool HasOverriddenBeginEndWrite()
Definition Stream.cs:939
global::System.IAsyncResult BeginReadInternal(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
Definition Stream.cs:355
long Seek(long offset, SeekOrigin origin)
virtual bool CanTimeout
Definition Stream.cs:69
virtual global::System.Threading.Tasks.ValueTask< int > ReadAsync(global::System.Memory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
Definition Stream.cs:444
virtual global::System.Threading.Tasks.Task< int > ReadAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:414
void RunReadWriteTask(Stream.ReadWriteTask readWriteTask)
Definition Stream.cs:621
global::System.Threading.Tasks.Task FinishWriteAsync(global::System.Threading.Tasks.Task writeTask, byte[] localBuffer)
Definition Stream.cs:746
global::System.Threading.Tasks.Task< int > BeginEndReadAsync(byte[] buffer, int offset, int count)
Definition Stream.cs:472
virtual global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:698
virtual void Close()
Definition Stream.cs:209
global::System.IAsyncResult BlockingBeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:878
global::System.Threading.SemaphoreSlim EnsureAsyncActiveSemaphoreInitialized()
Definition Stream.cs:48
virtual int ReadTimeout
Definition Stream.cs:104
int Read(byte[] buffer, int offset, int count)
void FinishTrackingAsyncOperation()
Definition Stream.cs:632
virtual void CopyTo(Stream destination, int bufferSize)
Definition Stream.cs:179
void CopyTo(Stream destination)
Definition Stream.cs:158
void Dispose()
Definition Stream.cs:234
virtual global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
Definition Stream.cs:284
global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count)
Definition Stream.cs:674
static Stream()
Definition Stream.cs:1111
int GetCopyBufferSize()
Definition Stream.cs:195
virtual void EndWrite(global::System.IAsyncResult asyncResult)
Definition Stream.cs:649
virtual int Read(global::System.Span< byte > buffer)
Definition Stream.cs:810
global::System.IAsyncResult BeginWriteInternal(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state, bool serializeAsynchronously, bool apm)
Definition Stream.cs:543
void Write(byte[] buffer, int offset, int count)
virtual global::System.IAsyncResult BeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:498
virtual global::System.Threading.Tasks.ValueTask WriteAsync(global::System.ReadOnlyMemory< byte > buffer, global::System.Threading.CancellationToken cancellationToken=default(global::System.Threading.CancellationToken))
Definition Stream.cs:728
virtual void Write(global::System.ReadOnlySpan< byte > buffer)
Definition Stream.cs:839
virtual void WriteByte(byte value)
Definition Stream.cs:849
global::System.Threading.Tasks.Task BeginEndWriteAsync(byte[] buffer, int offset, int count)
Definition Stream.cs:784
virtual global::System.IAsyncResult BeginRead(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:310
global::System.Threading.SemaphoreSlim _asyncActiveSemaphore
Definition Stream.cs:1146
virtual int WriteTimeout
Definition Stream.cs:127
global::System.IAsyncResult BlockingBeginWrite(byte[] buffer, int offset, int count, global::System.AsyncCallback callback, object state)
Definition Stream.cs:913
static readonly Stream Null
Definition Stream.cs:1136
Stream.ReadWriteTask _activeReadWriteTask
Definition Stream.cs:1141
void RunReadWriteTaskWhenReady(global::System.Threading.Tasks.Task asyncWaiter, Stream.ReadWriteTask readWriteTask)
Definition Stream.cs:586
static void BlockingEndWrite(global::System.IAsyncResult asyncResult)
Definition Stream.cs:923
global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable< int >.ConfiguredTaskAwaiter u__1
Definition Stream.cs:2079
void SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
Definition Stream.cs:2052
global::System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder< int ><> t__builder
Definition Stream.cs:2063
global::System.Threading.Tasks.Task writeTask
Definition Stream.cs:2012
global::System.Runtime.CompilerServices.AsyncTaskMethodBuilder t__builder
Definition Stream.cs:2008
void SetStateMachine(global::System.Runtime.CompilerServices.IAsyncStateMachine stateMachine)
Definition Stream.cs:1997
global::System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter u__1
Definition Stream.cs:2020