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
FileStream.cs
Go to the documentation of this file.
1using System;
6using System.Text;
12
13namespace System.IO
14{
15 [global::System.Runtime.InteropServices.ComVisible(true)]
16 [global::Cpp2ILInjected.Token(Token = "0x2000565")]
17 public class FileStream : Stream
18 {
19 [global::System.Obsolete("Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead")]
20 [global::Cpp2ILInjected.Token(Token = "0x6002968")]
21 [global::Cpp2ILInjected.Address(RVA = "0x1BC92A4", Offset = "0x1BC92A4", Length = "0x10")]
22 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
23 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
24 public FileStream(global::System.IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
25 {
26 throw null;
27 }
28
29 [global::Cpp2ILInjected.Token(Token = "0x6002969")]
30 [global::Cpp2ILInjected.Address(RVA = "0x1BC92B4", Offset = "0x1BC92B4", Length = "0x1A0")]
31 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "Open", MemberParameters = new object[]
32 {
33 typeof(global::System.IntPtr),
35 typeof(int)
36 }, ReturnType = typeof(Stream))]
37 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = ".ctor", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Equality", MemberParameters = new object[]
40 {
41 typeof(global::System.IntPtr),
42 typeof(global::System.IntPtr)
43 }, ReturnType = typeof(bool))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle), Member = ".ctor", MemberParameters = new object[]
45 {
46 typeof(global::System.IntPtr),
47 typeof(bool)
48 }, ReturnType = typeof(void))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
51 {
52 typeof(string),
53 typeof(string)
54 }, ReturnType = typeof(void))]
55 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
56 internal FileStream(global::System.IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
57 {
58 throw null;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x600296A")]
62 [global::Cpp2ILInjected.Address(RVA = "0x1BC9724", Offset = "0x1BC9724", Length = "0x34")]
63 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.TimeLogger", Member = "NewDrawFrame", ReturnType = typeof(void))]
65 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.SharedUtilities", Member = "CreateAndOpenUniqueTempFile", MemberParameters = new object[]
66 {
67 typeof(string),
69 typeof(ref string)
70 }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "InternalExtract", MemberParameters = new object[]
72 {
73 typeof(string),
75 typeof(string)
76 }, ReturnType = typeof(void))]
77 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "TruncateBackward", MemberParameters = new object[]
78 {
79 typeof(uint),
80 typeof(long)
81 }, ReturnType = typeof(long))]
82 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
83 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
84 {
85 typeof(string),
86 typeof(FileMode),
87 typeof(FileAccess),
88 typeof(FileShare),
89 typeof(int),
90 typeof(bool),
91 typeof(FileOptions)
92 }, ReturnType = typeof(void))]
93 public FileStream(string path, FileMode mode)
94 {
95 throw null;
96 }
97
98 [global::Cpp2ILInjected.Token(Token = "0x600296B")]
99 [global::Cpp2ILInjected.Address(RVA = "0x1BC9E38", Offset = "0x1BC9E38", Length = "0x2C")]
100 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.RuntimeAssembly), Member = "GetManifestResourceStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebClient", Member = "DownloadFile", MemberParameters = new object[]
103 {
104 "System.Uri",
105 typeof(string)
106 }, ReturnType = typeof(void))]
107 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebClient", Member = "OpenFileInternal", MemberParameters = new object[]
108 {
109 typeof(bool),
110 typeof(string),
111 typeof(ref FileStream),
112 "System.Byte[]&",
113 "System.Byte[]&",
114 "System.Byte[]&"
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebClient", Member = "DownloadFileAsync", MemberParameters = new object[]
117 {
118 "System.Uri",
119 typeof(string),
120 typeof(object)
121 }, ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
124 {
125 typeof(string),
126 typeof(FileMode),
127 typeof(FileAccess),
128 typeof(FileShare),
129 typeof(int),
130 typeof(bool),
131 typeof(FileOptions)
132 }, ReturnType = typeof(void))]
133 public FileStream(string path, FileMode mode, FileAccess access)
134 {
135 throw null;
136 }
137
138 [global::Cpp2ILInjected.Token(Token = "0x600296C")]
139 [global::Cpp2ILInjected.Address(RVA = "0x1BC9E7C", Offset = "0x1BC9E7C", Length = "0x24")]
140 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Resources.RuntimeResourceSet), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "Open", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(FileMode),
145 typeof(FileAccess),
146 typeof(FileShare)
147 }, ReturnType = typeof(FileStream))]
148 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "OpenRead", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(FileStream))]
149 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "InternalWriteAllBytes", MemberParameters = new object[]
150 {
151 typeof(string),
152 typeof(byte[])
153 }, ReturnType = typeof(void))]
154 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = ".ctor", MemberParameters = new object[]
155 {
156 "System.Net.FileWebRequest",
157 typeof(string),
158 typeof(FileMode),
159 typeof(FileAccess),
160 typeof(FileShare)
161 }, ReturnType = typeof(void))]
162 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.LicFileLicenseProvider", Member = "GetLicense", MemberParameters = new object[]
163 {
164 "System.ComponentModel.LicenseContext",
165 typeof(global::System.Type),
166 typeof(object),
167 typeof(bool)
168 }, ReturnType = "System.ComponentModel.License")]
169 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Authenticode.AuthenticodeBase", Member = "Open", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
172 {
173 typeof(string),
174 typeof(FileMode),
175 typeof(FileAccess),
176 typeof(FileShare),
177 typeof(int),
178 typeof(bool),
179 typeof(FileOptions)
180 }, ReturnType = typeof(void))]
181 public FileStream(string path, FileMode mode, FileAccess access, FileShare share)
182 {
183 throw null;
184 }
185
186 [global::Cpp2ILInjected.Token(Token = "0x600296D")]
187 [global::Cpp2ILInjected.Address(RVA = "0x1BC9EA0", Offset = "0x1BC9EA0", Length = "0x20")]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "CompareTimeZoneFile", MemberParameters = new object[]
189 {
190 typeof(string),
191 typeof(byte[]),
192 typeof(byte[])
193 }, ReturnType = typeof(bool))]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "Create", MemberParameters = new object[]
195 {
196 typeof(string),
197 typeof(int)
198 }, ReturnType = typeof(FileStream))]
199 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "ReadAllBytes", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlDownloadManager", Member = "GetStream", MemberParameters = new object[] { "System.Uri", "System.Net.ICredentials", "System.Net.IWebProxy", "System.Net.Cache.RequestCachePolicy" }, ReturnType = typeof(Stream))]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
203 {
204 typeof(string),
205 typeof(FileMode),
206 typeof(FileAccess),
207 typeof(FileShare),
208 typeof(int),
209 typeof(bool),
210 typeof(FileOptions)
211 }, ReturnType = typeof(void))]
212 public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
213 {
214 throw null;
215 }
216
217 [global::Cpp2ILInjected.Token(Token = "0x600296E")]
218 [global::Cpp2ILInjected.Address(RVA = "0x1BC9EC0", Offset = "0x1BC9EC0", Length = "0x28")]
219 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
220 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = ".ctor", MemberParameters = new object[]
221 {
222 "System.Net.FileWebRequest",
223 typeof(string),
227 typeof(int),
228 typeof(bool)
229 }, ReturnType = typeof(void))]
230 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Xml.XmlDownloadManager.<>c__DisplayClass4_0", Member = "<GetStreamAsync>b__0", ReturnType = typeof(Stream))]
231 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
232 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
233 {
234 typeof(string),
235 typeof(FileMode),
236 typeof(FileAccess),
237 typeof(FileShare),
238 typeof(int),
239 typeof(bool),
240 typeof(FileOptions)
241 }, ReturnType = typeof(void))]
242 public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
243 {
244 throw null;
245 }
246
247 [global::Cpp2ILInjected.Token(Token = "0x600296F")]
248 [global::Cpp2ILInjected.Address(RVA = "0x1BC9EE8", Offset = "0x1BC9EE8", Length = "0x20")]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "GetIsCaseSensitive", ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamReader), Member = ".ctor", MemberParameters = new object[]
251 {
252 typeof(string),
253 typeof(global::System.Text.Encoding),
254 typeof(bool),
255 typeof(int)
256 }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(StreamWriter), Member = ".ctor", MemberParameters = new object[]
258 {
259 typeof(string),
260 typeof(bool),
261 typeof(global::System.Text.Encoding),
262 typeof(int)
263 }, ReturnType = typeof(void))]
264 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "CopyFile", MemberParameters = new object[]
265 {
266 typeof(string),
267 typeof(string),
268 typeof(bool)
269 }, ReturnType = typeof(void))]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
272 {
273 typeof(string),
274 typeof(FileMode),
275 typeof(FileAccess),
276 typeof(FileShare),
277 typeof(int),
278 typeof(bool),
279 typeof(FileOptions)
280 }, ReturnType = typeof(void))]
281 public FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
282 {
283 throw null;
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x6002970")]
287 [global::Cpp2ILInjected.Address(RVA = "0x1BC9E64", Offset = "0x1BC9E64", Length = "0x18")]
288 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
289 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
291 {
292 typeof(string),
296 typeof(int),
297 typeof(bool),
299 }, ReturnType = typeof(void))]
300 internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool isAsync, bool anonymous)
301 {
302 throw null;
303 }
304
305 [global::Cpp2ILInjected.Token(Token = "0x6002971")]
306 [global::Cpp2ILInjected.Address(RVA = "0x1BC9758", Offset = "0x1BC9758", Length = "0x6E0")]
307 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
308 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
309 {
310 typeof(string),
312 }, ReturnType = typeof(void))]
313 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
314 {
315 typeof(string),
316 typeof(FileMode),
317 typeof(FileAccess)
318 }, ReturnType = typeof(void))]
319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
320 {
321 typeof(string),
322 typeof(FileMode),
323 typeof(FileAccess),
324 typeof(FileShare)
325 }, ReturnType = typeof(void))]
326 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
327 {
328 typeof(string),
329 typeof(FileMode),
330 typeof(FileAccess),
331 typeof(FileShare),
332 typeof(int)
333 }, ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
335 {
336 typeof(string),
337 typeof(FileMode),
338 typeof(FileAccess),
339 typeof(FileShare),
340 typeof(int),
341 typeof(bool)
342 }, ReturnType = typeof(void))]
343 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
344 {
345 typeof(string),
346 typeof(FileMode),
347 typeof(FileAccess),
348 typeof(FileShare),
349 typeof(int),
350 typeof(FileOptions)
351 }, ReturnType = typeof(void))]
352 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
353 {
354 typeof(string),
355 typeof(FileMode),
356 typeof(FileAccess),
357 typeof(FileShare),
358 typeof(int),
359 typeof(bool),
360 typeof(bool)
361 }, ReturnType = typeof(void))]
362 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = ".ctor", ReturnType = typeof(void))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOfAny", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(int))]
365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "InsecureGetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Directory), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Security.SecurityManager), Member = "EnsureElevatedPermissions", ReturnType = typeof(void))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetDirectoryName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
369 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
370 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Open", MemberParameters = new object[]
371 {
372 typeof(string),
373 typeof(FileMode),
374 typeof(FileAccess),
375 typeof(FileShare),
376 typeof(FileOptions),
377 typeof(ref MonoIOError)
378 }, ReturnType = typeof(global::System.IntPtr))]
379 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Equality", MemberParameters = new object[]
380 {
381 typeof(global::System.IntPtr),
382 typeof(global::System.IntPtr)
383 }, ReturnType = typeof(bool))]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle), Member = ".ctor", MemberParameters = new object[]
385 {
386 typeof(global::System.IntPtr),
387 typeof(bool)
388 }, ReturnType = typeof(void))]
389 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetFileType", MemberParameters = new object[]
390 {
391 typeof(global::System.Runtime.InteropServices.SafeHandle),
392 typeof(ref MonoIOError)
393 }, ReturnType = typeof(MonoFileType))]
394 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "InitBuffer", MemberParameters = new object[]
395 {
396 typeof(int),
397 typeof(bool)
398 }, ReturnType = typeof(void))]
399 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
400 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
401 {
402 typeof(string),
403 typeof(string)
404 }, ReturnType = typeof(void))]
405 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Locale), Member = "GetText", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
406 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[]
407 {
408 typeof(string),
409 typeof(bool)
410 }, ReturnType = typeof(string))]
411 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
412 {
413 typeof(string),
414 typeof(object)
415 }, ReturnType = typeof(string))]
416 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnauthorizedAccessException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
417 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
418 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
419 {
420 typeof(string),
421 typeof(object),
422 typeof(object)
423 }, ReturnType = typeof(string))]
424 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
425 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
426 {
427 typeof(string),
428 typeof(MonoIOError)
429 }, ReturnType = typeof(global::System.Exception))]
430 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DirectoryNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
432 {
433 typeof(string),
434 typeof(string)
435 }, ReturnType = typeof(void))]
436 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 61)]
437 internal FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options)
438 {
439 throw null;
440 }
441
442 [global::Cpp2ILInjected.Token(Token = "0x6002972")]
443 [global::Cpp2ILInjected.Address(RVA = "0x1BC9454", Offset = "0x1BC9454", Length = "0x2D0")]
444 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
445 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
446 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetFileType", MemberParameters = new object[]
447 {
448 typeof(global::System.Runtime.InteropServices.SafeHandle),
450 }, ReturnType = typeof(MonoFileType))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "InitBuffer", MemberParameters = new object[]
453 {
454 typeof(int),
455 typeof(bool)
456 }, ReturnType = typeof(void))]
457 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Seek", MemberParameters = new object[]
458 {
459 typeof(global::System.Runtime.InteropServices.SafeHandle),
460 typeof(long),
461 typeof(SeekOrigin),
462 typeof(ref MonoIOError)
463 }, ReturnType = typeof(long))]
464 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
465 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
466 {
467 typeof(string),
468 typeof(string)
469 }, ReturnType = typeof(void))]
470 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
471 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
472 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
473 {
474 typeof(string),
475 typeof(MonoIOError)
476 }, ReturnType = typeof(global::System.Exception))]
477 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
478 {
479 typeof(string),
480 typeof(string)
481 }, ReturnType = typeof(void))]
482 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
483 private void Init(Microsoft.Win32.SafeHandles.SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
484 {
485 throw null;
486 }
487
488 [global::Cpp2ILInjected.Token(Token = "0x170005F5")]
489 public override bool CanRead
490 {
491 [global::Cpp2ILInjected.Token(Token = "0x6002973")]
492 [global::Cpp2ILInjected.Address(RVA = "0x1BCB650", Offset = "0x1BCB650", Length = "0x14")]
493 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
494 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
495 get
496 {
497 throw null;
498 }
499 }
500
501 [global::Cpp2ILInjected.Token(Token = "0x170005F6")]
502 public override bool CanWrite
503 {
504 [global::Cpp2ILInjected.Token(Token = "0x6002974")]
505 [global::Cpp2ILInjected.Address(RVA = "0x1BCB664", Offset = "0x1BCB664", Length = "0x14")]
506 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
507 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
508 get
509 {
510 throw null;
511 }
512 }
513
514 [global::Cpp2ILInjected.Token(Token = "0x170005F7")]
515 public override bool CanSeek
516 {
517 [global::Cpp2ILInjected.Token(Token = "0x6002975")]
518 [global::Cpp2ILInjected.Address(RVA = "0x1BCB678", Offset = "0x1BCB678", Length = "0x8")]
519 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
520 get
521 {
522 throw null;
523 }
524 }
525
526 [global::Cpp2ILInjected.Token(Token = "0x170005F8")]
527 public override long Length
528 {
529 [global::Cpp2ILInjected.Token(Token = "0x6002976")]
530 [global::Cpp2ILInjected.Address(RVA = "0x1BCB680", Offset = "0x1BCB680", Length = "0x154")]
531 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
532 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
533 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
534 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
535 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetLength", MemberParameters = new object[]
536 {
537 typeof(global::System.Runtime.InteropServices.SafeHandle),
539 }, ReturnType = typeof(long))]
540 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
542 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
543 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
544 {
545 typeof(string),
547 }, ReturnType = typeof(global::System.Exception))]
548 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
549 get
550 {
551 throw null;
552 }
553 }
554
555 [global::Cpp2ILInjected.Token(Token = "0x170005F9")]
556 public override long Position
557 {
558 [global::Cpp2ILInjected.Token(Token = "0x6002977")]
559 [global::Cpp2ILInjected.Address(RVA = "0x1BCB8F4", Offset = "0x1BCB8F4", Length = "0x160")]
560 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
561 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
562 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
563 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Seek", MemberParameters = new object[]
564 {
565 typeof(global::System.Runtime.InteropServices.SafeHandle),
566 typeof(long),
569 }, ReturnType = typeof(long))]
570 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
571 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
572 {
573 typeof(string),
575 }, ReturnType = typeof(global::System.Exception))]
576 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
577 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
578 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
579 get
580 {
581 throw null;
582 }
583 [global::Cpp2ILInjected.Token(Token = "0x6002978")]
584 [global::Cpp2ILInjected.Address(RVA = "0x1BCBA54", Offset = "0x1BCBA54", Length = "0x8C")]
585 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
586 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetResourceString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
587 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
588 {
589 typeof(string),
590 typeof(string)
591 }, ReturnType = typeof(void))]
592 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
593 set
594 {
595 throw null;
596 }
597 }
598
599 [global::Cpp2ILInjected.Token(Token = "0x170005FA")]
601 {
602 [global::Cpp2ILInjected.Token(Token = "0x6002979")]
603 [global::Cpp2ILInjected.Address(RVA = "0x1BCBAE0", Offset = "0x1BCBAE0", Length = "0x3C")]
604 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
605 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
606 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "InitBuffer", MemberParameters = new object[]
607 {
608 typeof(int),
609 typeof(bool)
610 }, ReturnType = typeof(void))]
611 get
612 {
613 throw null;
614 }
615 }
616
617 [global::Cpp2ILInjected.Token(Token = "0x600297A")]
618 [global::Cpp2ILInjected.Address(RVA = "0x1BCB500", Offset = "0x1BCB500", Length = "0x28")]
619 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
620 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
621 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "InitBuffer", MemberParameters = new object[]
622 {
623 typeof(int),
624 typeof(bool)
625 }, ReturnType = typeof(void))]
626 private void ExposeHandle()
627 {
628 throw null;
629 }
630
631 [global::Cpp2ILInjected.Token(Token = "0x600297B")]
632 [global::Cpp2ILInjected.Address(RVA = "0x1BCBC94", Offset = "0x1BCBC94", Length = "0x118")]
633 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
634 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
635 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
636 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "RefillBuffer", ReturnType = typeof(void))]
637 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
638 {
639 typeof(global::System.Runtime.InteropServices.SafeHandle),
640 typeof(byte[]),
641 typeof(int),
642 typeof(int)
643 }, ReturnType = typeof(int))]
644 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
645 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
646 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
647 public override int ReadByte()
648 {
649 throw null;
650 }
651
652 [global::Cpp2ILInjected.Token(Token = "0x600297C")]
653 [global::Cpp2ILInjected.Address(RVA = "0x1BCBEFC", Offset = "0x1BCBEFC", Length = "0x12C")]
654 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
655 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
656 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
657 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
658 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
659 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
660 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
661 public override void WriteByte(byte value)
662 {
663 throw null;
664 }
665
666 [global::Cpp2ILInjected.Token(Token = "0x600297D")]
667 [global::Cpp2ILInjected.Address(RVA = "0x1BCC028", Offset = "0x1BCC028", Length = "0x244")]
668 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
669 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "Read", MemberParameters = new object[]
670 {
671 "System.Byte[]",
672 typeof(int),
673 typeof(int)
674 }, ReturnType = typeof(int))]
675 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
676 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
677 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
678 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
679 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
680 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
681 {
682 typeof(string),
683 typeof(string)
684 }, ReturnType = typeof(void))]
685 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
686 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
687 public override int Read([global::System.Runtime.InteropServices.In] [global::System.Runtime.InteropServices.Out] byte[] array, int offset, int count)
688 {
689 throw null;
690 }
691
692 [global::Cpp2ILInjected.Token(Token = "0x600297E")]
693 [global::Cpp2ILInjected.Address(RVA = "0x1BCC26C", Offset = "0x1BCC26C", Length = "0x9C")]
694 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
695 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
696 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "ReadSegment", MemberParameters = new object[]
697 {
698 typeof(byte[]),
699 typeof(int),
700 typeof(int)
701 }, ReturnType = typeof(int))]
702 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
703 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
704 {
705 typeof(global::System.Runtime.InteropServices.SafeHandle),
706 typeof(byte[]),
707 typeof(int),
708 typeof(int)
709 }, ReturnType = typeof(int))]
710 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "RefillBuffer", ReturnType = typeof(void))]
711 private int ReadInternal(byte[] dest, int offset, int count)
712 {
713 throw null;
714 }
715
716 [global::Cpp2ILInjected.Token(Token = "0x600297F")]
717 [global::Cpp2ILInjected.Address(RVA = "0x1BCC3C0", Offset = "0x1BCC3C0", Length = "0x26C")]
718 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
719 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "BeginRead", MemberParameters = new object[]
720 {
721 "System.Byte[]",
722 typeof(int),
723 typeof(int),
724 typeof(global::System.AsyncCallback),
725 typeof(object)
726 }, ReturnType = typeof(global::System.IAsyncResult))]
727 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
728 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
729 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream.ReadDelegate), Member = ".ctor", MemberParameters = new object[]
730 {
731 typeof(object),
732 typeof(global::System.IntPtr)
733 }, ReturnType = typeof(void))]
734 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream.ReadDelegate), Member = "BeginInvoke", MemberParameters = new object[]
735 {
736 typeof(byte[]),
737 typeof(int),
738 typeof(int),
739 typeof(global::System.AsyncCallback),
740 typeof(object)
741 }, ReturnType = typeof(global::System.IAsyncResult))]
742 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginRead", MemberParameters = new object[]
743 {
744 typeof(byte[]),
745 typeof(int),
746 typeof(int),
747 typeof(global::System.AsyncCallback),
748 typeof(object)
749 }, ReturnType = typeof(global::System.IAsyncResult))]
750 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
751 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
752 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
753 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
754 {
755 typeof(string),
756 typeof(string)
757 }, ReturnType = typeof(void))]
758 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
759 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
760 public override global::System.IAsyncResult BeginRead(byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
761 {
762 throw null;
763 }
764
765 [global::Cpp2ILInjected.Token(Token = "0x6002980")]
766 [global::Cpp2ILInjected.Address(RVA = "0x1BCC7AC", Offset = "0x1BCC7AC", Length = "0x170")]
767 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
768 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "EndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
769 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
770 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "EndRead", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(int))]
771 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
772 {
773 typeof(string),
774 typeof(string)
775 }, ReturnType = typeof(void))]
776 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
777 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
778 public override int EndRead(global::System.IAsyncResult asyncResult)
779 {
780 throw null;
781 }
782
783 [global::Cpp2ILInjected.Token(Token = "0x6002981")]
784 [global::Cpp2ILInjected.Address(RVA = "0x1BCC93C", Offset = "0x1BCC93C", Length = "0x21C")]
785 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
786 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "Write", MemberParameters = new object[]
787 {
788 "System.Byte[]",
789 typeof(int),
790 typeof(int)
791 }, ReturnType = typeof(void))]
792 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
793 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
794 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
795 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
796 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
797 {
798 typeof(string),
799 typeof(string)
800 }, ReturnType = typeof(void))]
801 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
802 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
803 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
804 public override void Write(byte[] array, int offset, int count)
805 {
806 throw null;
807 }
808
809 [global::Cpp2ILInjected.Token(Token = "0x6002982")]
810 [global::Cpp2ILInjected.Address(RVA = "0x1BCCB58", Offset = "0x1BCCB58", Length = "0x1B4")]
811 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
812 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
813 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
814 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Seek", MemberParameters = new object[]
815 {
816 typeof(global::System.Runtime.InteropServices.SafeHandle),
817 typeof(long),
820 }, ReturnType = typeof(long))]
821 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Write", MemberParameters = new object[]
822 {
823 typeof(global::System.Runtime.InteropServices.SafeHandle),
824 typeof(byte[]),
825 typeof(int),
826 typeof(int),
827 typeof(ref MonoIOError)
828 }, ReturnType = typeof(int))]
829 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "WriteSegment", MemberParameters = new object[]
830 {
831 typeof(byte[]),
832 typeof(int),
833 typeof(int)
834 }, ReturnType = typeof(int))]
835 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
836 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
837 {
838 typeof(string),
839 typeof(MonoIOError)
840 }, ReturnType = typeof(global::System.Exception))]
841 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
842 private void WriteInternal(byte[] src, int offset, int count)
843 {
844 throw null;
845 }
846
847 [global::Cpp2ILInjected.Token(Token = "0x6002983")]
848 [global::Cpp2ILInjected.Address(RVA = "0x1BCCEB4", Offset = "0x1BCCEB4", Length = "0x2B0")]
849 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
850 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "BeginWrite", MemberParameters = new object[]
851 {
852 "System.Byte[]",
853 typeof(int),
854 typeof(int),
855 typeof(global::System.AsyncCallback),
856 typeof(object)
857 }, ReturnType = typeof(global::System.IAsyncResult))]
858 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
859 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
860 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStreamAsyncResult), Member = ".ctor", MemberParameters = new object[]
861 {
862 typeof(global::System.AsyncCallback),
863 typeof(object)
864 }, ReturnType = typeof(void))]
865 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream.WriteDelegate), Member = ".ctor", MemberParameters = new object[]
866 {
867 typeof(object),
868 typeof(global::System.IntPtr)
869 }, ReturnType = typeof(void))]
870 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream.WriteDelegate), Member = "BeginInvoke", MemberParameters = new object[]
871 {
872 typeof(byte[]),
873 typeof(int),
874 typeof(int),
875 typeof(global::System.AsyncCallback),
876 typeof(object)
877 }, ReturnType = typeof(global::System.IAsyncResult))]
878 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "BeginWrite", MemberParameters = new object[]
879 {
880 typeof(byte[]),
881 typeof(int),
882 typeof(int),
883 typeof(global::System.AsyncCallback),
884 typeof(object)
885 }, ReturnType = typeof(global::System.IAsyncResult))]
886 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
887 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
888 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
889 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
890 {
891 typeof(string),
892 typeof(string)
893 }, ReturnType = typeof(void))]
894 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
895 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 25)]
896 public override global::System.IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
897 {
898 throw null;
899 }
900
901 [global::Cpp2ILInjected.Token(Token = "0x6002984")]
902 [global::Cpp2ILInjected.Address(RVA = "0x1BCD3B0", Offset = "0x1BCD3B0", Length = "0x164")]
903 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
904 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "EndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
905 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
906 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "EndWrite", MemberParameters = new object[] { typeof(global::System.IAsyncResult) }, ReturnType = typeof(void))]
907 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
908 {
909 typeof(string),
910 typeof(string)
911 }, ReturnType = typeof(void))]
912 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
913 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
914 public override void EndWrite(global::System.IAsyncResult asyncResult)
915 {
916 throw null;
917 }
918
919 [global::Cpp2ILInjected.Token(Token = "0x6002985")]
920 [global::Cpp2ILInjected.Address(RVA = "0x1BCD520", Offset = "0x1BCD520", Length = "0x248")]
921 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
922 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
923 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
924 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
925 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Seek", MemberParameters = new object[]
926 {
927 typeof(global::System.Runtime.InteropServices.SafeHandle),
928 typeof(long),
931 }, ReturnType = typeof(long))]
932 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
933 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
934 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
935 {
936 typeof(string),
937 typeof(string)
938 }, ReturnType = typeof(void))]
939 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
940 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
941 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
942 {
943 typeof(string),
944 typeof(MonoIOError)
945 }, ReturnType = typeof(global::System.Exception))]
946 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 21)]
947 public override long Seek(long offset, SeekOrigin origin)
948 {
949 throw null;
950 }
951
952 [global::Cpp2ILInjected.Token(Token = "0x6002986")]
953 [global::Cpp2ILInjected.Address(RVA = "0x1BCD768", Offset = "0x1BCD768", Length = "0x1F8")]
954 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
955 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
956 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
957 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
958 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "SetLength", MemberParameters = new object[]
959 {
960 typeof(global::System.Runtime.InteropServices.SafeHandle),
961 typeof(long),
963 }, ReturnType = typeof(bool))]
964 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
965 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.NotSupportedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
966 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
967 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
968 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
969 {
970 typeof(string),
971 typeof(MonoIOError)
972 }, ReturnType = typeof(global::System.Exception))]
973 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
974 public override void SetLength(long value)
975 {
976 throw null;
977 }
978
979 [global::Cpp2ILInjected.Token(Token = "0x6002987")]
980 [global::Cpp2ILInjected.Address(RVA = "0x1BCDA78", Offset = "0x1BCDA78", Length = "0x6C")]
981 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
982 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
983 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
984 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
985 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
986 public override void Flush()
987 {
988 throw null;
989 }
990
991 [global::Cpp2ILInjected.Token(Token = "0x6002988")]
992 [global::Cpp2ILInjected.Address(RVA = "0x1BCDAE4", Offset = "0x1BCDAE4", Length = "0xA4")]
993 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
994 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
995 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = "Finalize", ReturnType = typeof(void))]
996 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
997 protected override void Finalize()
998 {
999 throw null;
1000 }
1001
1002 [global::Cpp2ILInjected.Token(Token = "0x6002989")]
1003 [global::Cpp2ILInjected.Address(RVA = "0x1BCDB88", Offset = "0x1BCDB88", Length = "0x328")]
1004 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1005 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.FileWebStream", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1006 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
1007 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
1008 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
1009 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
1010 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.GC), Member = "SuppressFinalize", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
1011 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
1012 {
1013 typeof(object),
1014 typeof(ref bool)
1015 }, ReturnType = typeof(void))]
1016 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
1017 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1018 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
1019 {
1020 typeof(string),
1021 typeof(MonoIOError)
1022 }, ReturnType = typeof(global::System.Exception))]
1023 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 29)]
1024 protected override void Dispose(bool disposing)
1025 {
1026 throw null;
1027 }
1028
1029 [global::Cpp2ILInjected.Token(Token = "0x600298A")]
1030 [global::Cpp2ILInjected.Address(RVA = "0x1BCDEB4", Offset = "0x1BCDEB4", Length = "0x80")]
1031 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1032 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "get_IsClosed", ReturnType = typeof(bool))]
1033 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "FlushAsync", MemberParameters = new object[] { typeof(global::System.Threading.CancellationToken) }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
1034 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ObjectDisposedException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
1035 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
1036 public override global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
1037 {
1038 throw null;
1039 }
1040
1041 [global::Cpp2ILInjected.Token(Token = "0x600298B")]
1042 [global::Cpp2ILInjected.Address(RVA = "0x1BCDF34", Offset = "0x1BCDF34", Length = "0x8")]
1043 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1044 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "ReadAsync", MemberParameters = new object[]
1045 {
1046 typeof(byte[]),
1047 typeof(int),
1048 typeof(int),
1049 typeof(global::System.Threading.CancellationToken)
1050 }, ReturnType = typeof(global::System.Threading.Tasks.Task<int>))]
1051 public override global::System.Threading.Tasks.Task<int> ReadAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
1052 {
1053 throw null;
1054 }
1055
1056 [global::Cpp2ILInjected.Token(Token = "0x600298C")]
1057 [global::Cpp2ILInjected.Address(RVA = "0x1BCDF3C", Offset = "0x1BCDF3C", Length = "0x8")]
1058 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1059 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Stream), Member = "WriteAsync", MemberParameters = new object[]
1060 {
1061 typeof(byte[]),
1062 typeof(int),
1063 typeof(int),
1064 typeof(global::System.Threading.CancellationToken)
1065 }, ReturnType = typeof(global::System.Threading.Tasks.Task))]
1066 public override global::System.Threading.Tasks.Task WriteAsync(byte[] buffer, int offset, int count, global::System.Threading.CancellationToken cancellationToken)
1067 {
1068 throw null;
1069 }
1070
1071 [global::Cpp2ILInjected.Token(Token = "0x600298D")]
1072 [global::Cpp2ILInjected.Address(RVA = "0x1BCC308", Offset = "0x1BCC308", Length = "0xB8")]
1073 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1074 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadInternal", MemberParameters = new object[]
1075 {
1076 typeof(byte[]),
1077 typeof(int),
1078 typeof(int)
1079 }, ReturnType = typeof(int))]
1080 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1081 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Min", MemberParameters = new object[]
1082 {
1083 typeof(int),
1084 typeof(int)
1085 }, ReturnType = typeof(int))]
1086 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "InternalBlockCopy", MemberParameters = new object[]
1087 {
1088 typeof(global::System.Array),
1089 typeof(int),
1090 typeof(global::System.Array),
1091 typeof(int),
1092 typeof(int)
1093 }, ReturnType = typeof(bool))]
1094 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1095 private int ReadSegment(byte[] dest, int dest_offset, int count)
1096 {
1097 throw null;
1098 }
1099
1100 [global::Cpp2ILInjected.Token(Token = "0x600298E")]
1101 [global::Cpp2ILInjected.Address(RVA = "0x1BCCE3C", Offset = "0x1BCCE3C", Length = "0x78")]
1102 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
1104 {
1105 typeof(byte[]),
1106 typeof(int),
1107 typeof(int)
1108 }, ReturnType = typeof(void))]
1109 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1110 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Buffer), Member = "BlockCopy", MemberParameters = new object[]
1111 {
1112 typeof(global::System.Array),
1113 typeof(int),
1114 typeof(global::System.Array),
1115 typeof(int),
1116 typeof(int)
1117 }, ReturnType = typeof(void))]
1118 private int WriteSegment(byte[] src, int src_offset, int count)
1119 {
1120 throw null;
1121 }
1122
1123 [global::Cpp2ILInjected.Token(Token = "0x600298F")]
1124 [global::Cpp2ILInjected.Address(RVA = "0x1BCBB1C", Offset = "0x1BCBB1C", Length = "0x178")]
1125 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Init", MemberParameters = new object[]
1127 {
1130 typeof(bool),
1131 typeof(int),
1132 typeof(bool),
1133 typeof(bool)
1134 }, ReturnType = typeof(void))]
1135 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Length", ReturnType = typeof(long))]
1136 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_SafeFileHandle", ReturnType = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle))]
1137 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ExposeHandle", ReturnType = typeof(void))]
1138 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteByte", MemberParameters = new object[] { typeof(byte) }, ReturnType = typeof(void))]
1139 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadInternal", MemberParameters = new object[]
1140 {
1141 typeof(byte[]),
1142 typeof(int),
1143 typeof(int)
1144 }, ReturnType = typeof(int))]
1145 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
1146 {
1147 typeof(byte[]),
1148 typeof(int),
1149 typeof(int)
1150 }, ReturnType = typeof(void))]
1151 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Seek", MemberParameters = new object[]
1152 {
1153 typeof(long),
1154 typeof(SeekOrigin)
1155 }, ReturnType = typeof(long))]
1156 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "SetLength", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
1157 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Flush", ReturnType = typeof(void))]
1158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushBufferIfDirty", ReturnType = typeof(void))]
1160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "RefillBuffer", ReturnType = typeof(void))]
1161 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 15)]
1162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Seek", MemberParameters = new object[]
1163 {
1164 typeof(global::System.Runtime.InteropServices.SafeHandle),
1165 typeof(long),
1166 typeof(SeekOrigin),
1167 typeof(ref MonoIOError)
1168 }, ReturnType = typeof(long))]
1169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Write", MemberParameters = new object[]
1170 {
1171 typeof(global::System.Runtime.InteropServices.SafeHandle),
1172 typeof(byte[]),
1173 typeof(int),
1174 typeof(int),
1175 typeof(ref MonoIOError)
1176 }, ReturnType = typeof(int))]
1177 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
1179 {
1180 typeof(string),
1181 typeof(MonoIOError)
1182 }, ReturnType = typeof(global::System.Exception))]
1183 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
1184 private void FlushBuffer()
1185 {
1186 throw null;
1187 }
1188
1189 [global::Cpp2ILInjected.Token(Token = "0x6002990")]
1190 [global::Cpp2ILInjected.Address(RVA = "0x1BCB7D4", Offset = "0x1BCB7D4", Length = "0x10")]
1191 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1192 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
1193 private void FlushBufferIfDirty()
1194 {
1195 throw null;
1196 }
1197
1198 [global::Cpp2ILInjected.Token(Token = "0x6002991")]
1199 [global::Cpp2ILInjected.Address(RVA = "0x1BCBECC", Offset = "0x1BCBECC", Length = "0x30")]
1200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadByte", ReturnType = typeof(int))]
1201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadInternal", MemberParameters = new object[]
1202 {
1203 typeof(byte[]),
1204 typeof(int),
1205 typeof(int)
1206 }, ReturnType = typeof(int))]
1207 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
1208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
1209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
1210 {
1211 typeof(global::System.Runtime.InteropServices.SafeHandle),
1212 typeof(byte[]),
1213 typeof(int),
1214 typeof(int)
1215 }, ReturnType = typeof(int))]
1216 private void RefillBuffer()
1217 {
1218 throw null;
1219 }
1220
1221 [global::Cpp2ILInjected.Token(Token = "0x6002992")]
1222 [global::Cpp2ILInjected.Address(RVA = "0x1BCBDAC", Offset = "0x1BCBDAC", Length = "0x120")]
1223 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1224 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadByte", ReturnType = typeof(int))]
1225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadInternal", MemberParameters = new object[]
1226 {
1227 typeof(byte[]),
1228 typeof(int),
1229 typeof(int)
1230 }, ReturnType = typeof(int))]
1231 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "RefillBuffer", ReturnType = typeof(void))]
1232 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
1233 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "Read", MemberParameters = new object[]
1234 {
1235 typeof(global::System.Runtime.InteropServices.SafeHandle),
1236 typeof(byte[]),
1237 typeof(int),
1238 typeof(int),
1239 typeof(ref MonoIOError)
1240 }, ReturnType = typeof(int))]
1241 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = "GetSecureFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
1243 {
1244 typeof(string),
1245 typeof(MonoIOError)
1246 }, ReturnType = typeof(global::System.Exception))]
1247 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", ReturnType = typeof(void))]
1248 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
1249 private int ReadData(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] buf, int offset, int count)
1250 {
1251 throw null;
1252 }
1253
1254 [global::Cpp2ILInjected.Token(Token = "0x6002993")]
1255 [global::Cpp2ILInjected.Address(RVA = "0x1BCB278", Offset = "0x1BCB278", Length = "0x288")]
1256 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
1257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
1258 {
1259 typeof(string),
1263 typeof(int),
1264 typeof(bool),
1266 }, ReturnType = typeof(void))]
1267 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Init", MemberParameters = new object[]
1268 {
1270 typeof(FileAccess),
1271 typeof(bool),
1272 typeof(int),
1273 typeof(bool),
1274 typeof(bool)
1275 }, ReturnType = typeof(void))]
1276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_SafeFileHandle", ReturnType = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle))]
1277 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ExposeHandle", ReturnType = typeof(void))]
1278 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
1279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Max", MemberParameters = new object[]
1280 {
1281 typeof(int),
1282 typeof(int)
1283 }, ReturnType = typeof(int))]
1284 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Enter", MemberParameters = new object[]
1285 {
1286 typeof(object),
1287 typeof(ref bool)
1288 }, ReturnType = typeof(void))]
1289 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Threading.Monitor), Member = "Exit", MemberParameters = new object[] { typeof(object) }, ReturnType = typeof(void))]
1290 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Array), Member = "Clear", MemberParameters = new object[]
1291 {
1292 typeof(global::System.Array),
1293 typeof(int),
1294 typeof(int)
1295 }, ReturnType = typeof(void))]
1296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
1297 {
1298 typeof(string),
1299 typeof(string)
1300 }, ReturnType = typeof(void))]
1301 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
1302 private void InitBuffer(int size, bool isZeroSize)
1303 {
1304 throw null;
1305 }
1306
1307 [global::Cpp2ILInjected.Token(Token = "0x6002994")]
1308 [global::Cpp2ILInjected.Address(RVA = "0x1BCAA2C", Offset = "0x1BCAA2C", Length = "0x78")]
1309 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
1310 {
1311 typeof(string),
1315 typeof(int),
1316 typeof(bool),
1318 }, ReturnType = typeof(void))]
1319 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Length", ReturnType = typeof(long))]
1320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Position", ReturnType = typeof(long))]
1321 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
1322 {
1323 typeof(byte[]),
1324 typeof(int),
1325 typeof(int)
1326 }, ReturnType = typeof(void))]
1327 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Seek", MemberParameters = new object[]
1328 {
1329 typeof(long),
1330 typeof(SeekOrigin)
1331 }, ReturnType = typeof(long))]
1332 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "SetLength", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
1333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
1334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
1335 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
1336 {
1337 typeof(global::System.Runtime.InteropServices.SafeHandle),
1338 typeof(byte[]),
1339 typeof(int),
1340 typeof(int)
1341 }, ReturnType = typeof(int))]
1342 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 9)]
1343 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1344 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1345 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
1346 private string GetSecureFileName(string filename)
1347 {
1348 throw null;
1349 }
1350
1351 [global::Cpp2ILInjected.Token(Token = "0x6002995")]
1352 [global::Cpp2ILInjected.Address(RVA = "0x1BCA538", Offset = "0x1BCA538", Length = "0xA8")]
1353 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
1354 {
1355 typeof(string),
1359 typeof(int),
1360 typeof(bool),
1362 }, ReturnType = typeof(void))]
1363 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
1364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFileName", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1365 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
1366 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
1367 private string GetSecureFileName(string filename, bool full)
1368 {
1369 throw null;
1370 }
1371
1372 // Note: this type is marked as 'beforefieldinit'.
1373 [global::Cpp2ILInjected.Token(Token = "0x6002996")]
1374 [global::Cpp2ILInjected.Address(RVA = "0x1BCE074", Offset = "0x1BCE074", Length = "0x70")]
1375 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
1376 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
1377 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
1378 static FileStream()
1379 {
1380 throw null;
1381 }
1382
1383 [global::Cpp2ILInjected.Token(Token = "0x4001637")]
1384 private static byte[] buf_recycle;
1385
1386 [global::Cpp2ILInjected.Token(Token = "0x4001638")]
1387 private static readonly object buf_recycle_lock;
1388
1389 [global::Cpp2ILInjected.Token(Token = "0x4001639")]
1390 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
1391 private byte[] buf;
1392
1393 [global::Cpp2ILInjected.Token(Token = "0x400163A")]
1394 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
1395 private string name;
1396
1397 [global::Cpp2ILInjected.Token(Token = "0x400163B")]
1398 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
1400
1401 [global::Cpp2ILInjected.Token(Token = "0x400163C")]
1402 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
1403 private bool isExposed;
1404
1405 [global::Cpp2ILInjected.Token(Token = "0x400163D")]
1406 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
1407 private long append_startpos;
1408
1409 [global::Cpp2ILInjected.Token(Token = "0x400163E")]
1410 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
1412
1413 [global::Cpp2ILInjected.Token(Token = "0x400163F")]
1414 [global::Cpp2ILInjected.FieldOffset(Offset = "0x54")]
1415 private bool owner;
1416
1417 [global::Cpp2ILInjected.Token(Token = "0x4001640")]
1418 [global::Cpp2ILInjected.FieldOffset(Offset = "0x55")]
1419 private bool async;
1420
1421 [global::Cpp2ILInjected.Token(Token = "0x4001641")]
1422 [global::Cpp2ILInjected.FieldOffset(Offset = "0x56")]
1423 private bool canseek;
1424
1425 [global::Cpp2ILInjected.Token(Token = "0x4001642")]
1426 [global::Cpp2ILInjected.FieldOffset(Offset = "0x57")]
1427 private bool anonymous;
1428
1429 [global::Cpp2ILInjected.Token(Token = "0x4001643")]
1430 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
1431 private bool buf_dirty;
1432
1433 [global::Cpp2ILInjected.Token(Token = "0x4001644")]
1434 [global::Cpp2ILInjected.FieldOffset(Offset = "0x5C")]
1435 private int buf_size;
1436
1437 [global::Cpp2ILInjected.Token(Token = "0x4001645")]
1438 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
1439 private int buf_length;
1440
1441 [global::Cpp2ILInjected.Token(Token = "0x4001646")]
1442 [global::Cpp2ILInjected.FieldOffset(Offset = "0x64")]
1443 private int buf_offset;
1444
1445 [global::Cpp2ILInjected.Token(Token = "0x4001647")]
1446 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
1447 private long buf_start;
1448
1449 [global::Cpp2ILInjected.Token(Token = "0x2000566")]
1450 private delegate int ReadDelegate(byte[] buffer, int offset, int count);
1451
1452 [global::Cpp2ILInjected.Token(Token = "0x2000567")]
1453 private delegate void WriteDelegate(byte[] buffer, int offset, int count);
1454 }
1455}
class f__AnonymousType0<< Count > j__TPar
void Init(Microsoft.Win32.SafeHandles.SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
override int Read([global::System.Runtime.InteropServices.In][global::System.Runtime.InteropServices.Out] byte[] array, int offset, int count)
override void Write(byte[] array, int offset, int count)
override long Length
void InitBuffer(int size, bool isZeroSize)
override global::System.IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool isAsync, bool anonymous)
delegate int ReadDelegate(byte[] buffer, int offset, int count)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options)
string GetSecureFileName(string filename, bool full)
override global::System.Threading.Tasks.Task FlushAsync(global::System.Threading.CancellationToken cancellationToken)
override void Flush()
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
static byte[] buf_recycle
override void Finalize()
override void Dispose(bool disposing)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
int ReadInternal(byte[] dest, int offset, int count)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
override void EndWrite(global::System.IAsyncResult asyncResult)
override void SetLength(long value)
int ReadData(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] buf, int offset, int count)
int ReadSegment(byte[] dest, int dest_offset, int count)
int WriteSegment(byte[] src, int src_offset, int count)
override void WriteByte(byte value)
FileStream(string path, FileMode mode, FileAccess access)
override long Seek(long offset, SeekOrigin origin)
FileStream(global::System.IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
Definition FileStream.cs:24
override int ReadByte()
delegate void WriteDelegate(byte[] buffer, int offset, int count)
override int EndRead(global::System.IAsyncResult asyncResult)
override global::System.IAsyncResult BeginRead(byte[] array, int offset, int numBytes, global::System.AsyncCallback userCallback, object stateObject)
void WriteInternal(byte[] src, int offset, int count)
FileStream(string path, FileMode mode)
Definition FileStream.cs:93
static readonly object buf_recycle_lock
string GetSecureFileName(string filename)
FileStream(global::System.IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
Definition FileStream.cs:56
Microsoft.Win32.SafeHandles.SafeFileHandle safeHandle
FileStream(string path, FileMode mode, FileAccess access, FileShare share)