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
MonoIO.cs
Go to the documentation of this file.
1using System;
7
8namespace System.IO
9{
10 [global::Cpp2ILInjected.Token(Token = "0x200056A")]
11 internal static class MonoIO
12 {
13 [global::Cpp2ILInjected.Token(Token = "0x60029A5")]
14 [global::Cpp2ILInjected.Address(RVA = "0x1BCE1B8", Offset = "0x1BCE1B8", Length = "0x124")]
15 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InsecureGetCurrentDirectory", ReturnType = typeof(string))]
17 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Win32.NativeMethods", Member = "DuplicateHandle", MemberParameters = new object[]
18 {
19 typeof(global::System.Runtime.InteropServices.HandleRef),
20 typeof(global::System.Runtime.InteropServices.SafeHandle),
21 typeof(global::System.Runtime.InteropServices.HandleRef),
23 typeof(int),
24 typeof(bool),
25 typeof(int)
26 }, ReturnType = typeof(bool))]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Win32.NativeMethods", Member = "DuplicateHandle", MemberParameters = new object[]
28 {
29 typeof(global::System.Runtime.InteropServices.HandleRef),
30 typeof(global::System.Runtime.InteropServices.HandleRef),
31 typeof(global::System.Runtime.InteropServices.HandleRef),
32 "Microsoft.Win32.SafeHandles.SafeProcessHandle&",
33 typeof(int),
34 typeof(bool),
35 typeof(int)
36 }, ReturnType = typeof(bool))]
37 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "CreatePipe", MemberParameters = new object[]
38 {
39 typeof(ref global::System.IntPtr),
40 typeof(ref global::System.IntPtr),
41 typeof(bool)
42 }, ReturnType = typeof(void))]
43 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnauthorizedAccessException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", MemberParameters = new object[]
46 {
47 typeof(string),
48 typeof(int)
49 }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
51 {
52 typeof(string),
53 typeof(MonoIOError)
54 }, ReturnType = typeof(global::System.Exception))]
55 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
56 public static global::System.Exception GetException(MonoIOError error)
57 {
58 throw null;
59 }
60
61 [global::Cpp2ILInjected.Token(Token = "0x60029A6")]
62 [global::Cpp2ILInjected.Address(RVA = "0x1BCAAA4", Offset = "0x1BCAAA4", Length = "0x6C4")]
63 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "SetAttributes", MemberParameters = new object[]
65 {
66 typeof(string),
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(FileMode),
73 typeof(FileAccess),
74 typeof(FileShare),
75 typeof(int),
76 typeof(bool),
77 typeof(FileOptions)
78 }, ReturnType = typeof(void))]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Init", MemberParameters = new object[]
80 {
82 typeof(FileAccess),
83 typeof(bool),
84 typeof(int),
85 typeof(bool),
86 typeof(bool)
87 }, ReturnType = typeof(void))]
88 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Length", ReturnType = typeof(long))]
89 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Position", ReturnType = typeof(long))]
90 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
91 {
92 typeof(byte[]),
93 typeof(int),
94 typeof(int)
95 }, ReturnType = typeof(void))]
96 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Seek", MemberParameters = new object[]
97 {
98 typeof(long),
99 typeof(SeekOrigin)
100 }, ReturnType = typeof(long))]
101 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "SetLength", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
104 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
105 {
106 typeof(global::System.Runtime.InteropServices.SafeHandle),
107 typeof(byte[]),
108 typeof(int),
109 typeof(int)
110 }, ReturnType = typeof(int))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[] { typeof(MonoIOError) }, ReturnType = typeof(global::System.Exception))]
112 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
113 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(object)
117 }, ReturnType = typeof(string))]
118 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileNotFoundException), Member = ".ctor", MemberParameters = new object[]
119 {
120 typeof(string),
121 typeof(string)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
124 {
125 typeof(string),
126 typeof(object),
127 typeof(object)
128 }, ReturnType = typeof(string))]
129 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
130 {
131 typeof(string),
132 typeof(object[])
133 }, ReturnType = typeof(string))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathTooLongException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(IOException), Member = ".ctor", MemberParameters = new object[]
136 {
137 typeof(string),
138 typeof(int)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(DirectoryNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnauthorizedAccessException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 54)]
143 public static global::System.Exception GetException(string path, MonoIOError error)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x60029A7")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1BCE2E0", Offset = "0x1BCE2E0", Length = "0x4")]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InsecureGetCurrentDirectory", ReturnType = typeof(string))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
153 [MethodImpl(4096)]
154 public static extern string GetCurrentDirectory(out MonoIOError error);
155
156 [global::Cpp2ILInjected.Token(Token = "0x60029A8")]
157 [global::Cpp2ILInjected.Address(RVA = "0x1BCE2E4", Offset = "0x1BCE2E4", Length = "0x4")]
158 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
159 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
160 [MethodImpl(4096)]
161 private unsafe static extern bool SetFileAttributes(char* path, FileAttributes attrs, out MonoIOError error);
162
163 [global::Cpp2ILInjected.Token(Token = "0x60029A9")]
164 [global::Cpp2ILInjected.Address(RVA = "0x1BCE2E8", Offset = "0x1BCE2E8", Length = "0x7C")]
165 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "SetAttributes", MemberParameters = new object[]
166 {
167 typeof(string),
169 }, ReturnType = typeof(void))]
170 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
171 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
172 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
173 public static bool SetFileAttributes(string path, FileAttributes attrs, out MonoIOError error)
174 {
175 throw null;
176 }
177
178 [global::Cpp2ILInjected.Token(Token = "0x60029AA")]
179 [global::Cpp2ILInjected.Address(RVA = "0x1BCE364", Offset = "0x1BCE364", Length = "0x4")]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
181 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
182 [MethodImpl(4096)]
183 private static extern MonoFileType GetFileType(global::System.IntPtr handle, out MonoIOError error);
184
185 [global::Cpp2ILInjected.Token(Token = "0x60029AB")]
186 [global::Cpp2ILInjected.Address(RVA = "0x1BCB168", Offset = "0x1BCB168", Length = "0x110")]
187 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
188 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
189 {
190 typeof(string),
194 typeof(int),
195 typeof(bool),
197 }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Init", MemberParameters = new object[]
199 {
202 typeof(bool),
203 typeof(int),
204 typeof(bool),
205 typeof(bool)
206 }, ReturnType = typeof(void))]
207 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
208 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
209 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
210 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
211 public static MonoFileType GetFileType(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
212 {
213 throw null;
214 }
215
216 [global::Cpp2ILInjected.Token(Token = "0x60029AC")]
217 [global::Cpp2ILInjected.Address(RVA = "0x1BCE368", Offset = "0x1BCE368", Length = "0x4")]
218 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
219 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
220 [MethodImpl(4096)]
221 private unsafe static extern global::System.IntPtr Open(char* filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error);
222
223 [global::Cpp2ILInjected.Token(Token = "0x60029AD")]
224 [global::Cpp2ILInjected.Address(RVA = "0x1BCA990", Offset = "0x1BCA990", Length = "0x9C")]
225 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
226 {
227 typeof(string),
231 typeof(int),
232 typeof(bool),
234 }, ReturnType = typeof(void))]
235 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "get_OffsetToStringData", ReturnType = typeof(int))]
237 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
238 public static global::System.IntPtr Open(string filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error)
239 {
240 throw null;
241 }
242
243 [global::Cpp2ILInjected.Token(Token = "0x60029AE")]
244 [global::Cpp2ILInjected.Address(RVA = "0x1BCE36C", Offset = "0x1BCE36C", Length = "0x4")]
245 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
246 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
247 [MethodImpl(4096)]
248 private static extern bool Cancel_internal(global::System.IntPtr handle, out MonoIOError error);
249
250 [global::Cpp2ILInjected.Token(Token = "0x60029AF")]
251 [global::Cpp2ILInjected.Address(RVA = "0x1BCE370", Offset = "0x1BCE370", Length = "0x110")]
252 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
253 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.AsyncStreamReader", Member = "Dispose", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
254 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
255 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
256 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
258 internal static bool Cancel(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
259 {
260 throw null;
261 }
262
263 [global::Cpp2ILInjected.Token(Token = "0x60029B0")]
264 [global::Cpp2ILInjected.Address(RVA = "0x1BCDEB0", Offset = "0x1BCDEB0", Length = "0x4")]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Microsoft.Win32.SafeHandles.SafeFileHandle), Member = "ReleaseHandle", ReturnType = typeof(bool))]
266 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "CreatePipe", MemberParameters = new object[]
267 {
268 typeof(ref global::System.IntPtr),
269 typeof(ref global::System.IntPtr),
270 typeof(bool)
271 }, ReturnType = typeof(void))]
272 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
273 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 12)]
274 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
275 [MethodImpl(4096)]
276 public static extern bool Close(global::System.IntPtr handle, out MonoIOError error);
277
278 [global::Cpp2ILInjected.Token(Token = "0x60029B1")]
279 [global::Cpp2ILInjected.Address(RVA = "0x1BCE480", Offset = "0x1BCE480", Length = "0x4")]
280 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
281 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
282 [MethodImpl(4096)]
283 private static extern int Read(global::System.IntPtr handle, byte[] dest, int dest_offset, int count, out MonoIOError error);
284
285 [global::Cpp2ILInjected.Token(Token = "0x60029B2")]
286 [global::Cpp2ILInjected.Address(RVA = "0x1BCDF44", Offset = "0x1BCDF44", Length = "0x130")]
287 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "ReadData", MemberParameters = new object[]
289 {
290 typeof(global::System.Runtime.InteropServices.SafeHandle),
291 typeof(byte[]),
292 typeof(int),
293 typeof(int)
294 }, ReturnType = typeof(int))]
295 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
296 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
297 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
298 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
299 public static int Read(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] dest, int dest_offset, int count, out MonoIOError error)
300 {
301 throw null;
302 }
303
304 [global::Cpp2ILInjected.Token(Token = "0x60029B3")]
305 [global::Cpp2ILInjected.Address(RVA = "0x1BCE484", Offset = "0x1BCE484", Length = "0x4")]
306 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
307 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
308 [MethodImpl(4096)]
309 private static extern int Write(global::System.IntPtr handle, [global::System.Runtime.InteropServices.In] byte[] src, int src_offset, int count, out MonoIOError error);
310
311 [global::Cpp2ILInjected.Token(Token = "0x60029B4")]
312 [global::Cpp2ILInjected.Address(RVA = "0x1BCCD0C", Offset = "0x1BCCD0C", Length = "0x130")]
313 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
314 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
315 {
316 typeof(byte[]),
317 typeof(int),
318 typeof(int)
319 }, ReturnType = typeof(void))]
320 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
321 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
322 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
323 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
324 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
325 public static int Write(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] src, int src_offset, int count, out MonoIOError error)
326 {
327 throw null;
328 }
329
330 [global::Cpp2ILInjected.Token(Token = "0x60029B5")]
331 [global::Cpp2ILInjected.Address(RVA = "0x1BCE488", Offset = "0x1BCE488", Length = "0x4")]
332 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
333 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
334 [MethodImpl(4096)]
335 private static extern long Seek(global::System.IntPtr handle, long offset, SeekOrigin origin, out MonoIOError error);
336
337 [global::Cpp2ILInjected.Token(Token = "0x60029B6")]
338 [global::Cpp2ILInjected.Address(RVA = "0x1BCB528", Offset = "0x1BCB528", Length = "0x128")]
339 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
340 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Init", MemberParameters = new object[]
341 {
344 typeof(bool),
345 typeof(int),
346 typeof(bool),
347 typeof(bool)
348 }, ReturnType = typeof(void))]
349 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Position", ReturnType = typeof(long))]
350 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "WriteInternal", MemberParameters = new object[]
351 {
352 typeof(byte[]),
353 typeof(int),
354 typeof(int)
355 }, ReturnType = typeof(void))]
356 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "Seek", MemberParameters = new object[]
357 {
358 typeof(long),
359 typeof(SeekOrigin)
360 }, ReturnType = typeof(long))]
361 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "FlushBuffer", ReturnType = typeof(void))]
362 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
363 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
364 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
365 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
366 public static long Seek(global::System.Runtime.InteropServices.SafeHandle safeHandle, long offset, SeekOrigin origin, out MonoIOError error)
367 {
368 throw null;
369 }
370
371 [global::Cpp2ILInjected.Token(Token = "0x60029B7")]
372 [global::Cpp2ILInjected.Address(RVA = "0x1BCE48C", Offset = "0x1BCE48C", Length = "0x4")]
373 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
374 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
375 [MethodImpl(4096)]
376 private static extern long GetLength(global::System.IntPtr handle, out MonoIOError error);
377
378 [global::Cpp2ILInjected.Token(Token = "0x60029B8")]
379 [global::Cpp2ILInjected.Address(RVA = "0x1BCB7E4", Offset = "0x1BCB7E4", Length = "0x110")]
380 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
381 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "get_Length", ReturnType = typeof(long))]
382 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
383 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
384 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
385 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
386 public static long GetLength(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
387 {
388 throw null;
389 }
390
391 [global::Cpp2ILInjected.Token(Token = "0x60029B9")]
392 [global::Cpp2ILInjected.Address(RVA = "0x1BCE490", Offset = "0x1BCE490", Length = "0x4")]
393 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
394 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
395 [MethodImpl(4096)]
396 private static extern bool SetLength(global::System.IntPtr handle, long length, out MonoIOError error);
397
398 [global::Cpp2ILInjected.Token(Token = "0x60029BA")]
399 [global::Cpp2ILInjected.Address(RVA = "0x1BCD960", Offset = "0x1BCD960", Length = "0x118")]
400 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStream), Member = "SetLength", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(void))]
402 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
403 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
404 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
405 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
406 public static bool SetLength(global::System.Runtime.InteropServices.SafeHandle safeHandle, long length, out MonoIOError error)
407 {
408 throw null;
409 }
410
411 [global::Cpp2ILInjected.Token(Token = "0x170005FF")]
412 public static extern global::System.IntPtr ConsoleOutput
413 {
414 [global::Cpp2ILInjected.Token(Token = "0x60029BB")]
415 [global::Cpp2ILInjected.Address(RVA = "0x1BCE494", Offset = "0x1BCE494", Length = "0x4")]
416 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardOutput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Stream))]
417 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = "get_IsConsole", ReturnType = typeof(bool))]
418 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
419 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
420 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
421 [MethodImpl(4096)]
422 get;
423 }
424
425 [global::Cpp2ILInjected.Token(Token = "0x17000600")]
426 public static extern global::System.IntPtr ConsoleInput
427 {
428 [global::Cpp2ILInjected.Token(Token = "0x60029BC")]
429 [global::Cpp2ILInjected.Address(RVA = "0x1BCE498", Offset = "0x1BCE498", Length = "0x4")]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardInput", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Stream))]
431 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.ConsoleDriver), Member = "get_IsConsole", ReturnType = typeof(bool))]
432 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
433 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
434 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
435 [MethodImpl(4096)]
436 get;
437 }
438
439 [global::Cpp2ILInjected.Token(Token = "0x17000601")]
440 public static extern global::System.IntPtr ConsoleError
441 {
442 [global::Cpp2ILInjected.Token(Token = "0x60029BD")]
443 [global::Cpp2ILInjected.Address(RVA = "0x1BCE49C", Offset = "0x1BCE49C", Length = "0x4")]
444 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Console), Member = "OpenStandardError", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(Stream))]
445 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "StartWithCreateProcess", MemberParameters = new object[] { "System.Diagnostics.ProcessStartInfo" }, ReturnType = typeof(bool))]
446 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
447 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
448 [MethodImpl(4096)]
449 get;
450 }
451
452 [global::Cpp2ILInjected.Token(Token = "0x60029BE")]
453 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4A0", Offset = "0x1BCE4A0", Length = "0x4")]
454 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "CreatePipe", MemberParameters = new object[]
455 {
456 typeof(ref global::System.IntPtr),
457 typeof(ref global::System.IntPtr),
458 typeof(bool)
459 }, ReturnType = typeof(void))]
460 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
461 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
462 [MethodImpl(4096)]
463 public static extern bool CreatePipe(out global::System.IntPtr read_handle, out global::System.IntPtr write_handle, out MonoIOError error);
464
465 [global::Cpp2ILInjected.Token(Token = "0x60029BF")]
466 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4A4", Offset = "0x1BCE4A4", Length = "0x4")]
467 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Win32.NativeMethods", Member = "DuplicateHandle", MemberParameters = new object[]
468 {
469 typeof(global::System.Runtime.InteropServices.HandleRef),
470 typeof(global::System.Runtime.InteropServices.SafeHandle),
471 typeof(global::System.Runtime.InteropServices.HandleRef),
473 typeof(int),
474 typeof(bool),
475 typeof(int)
476 }, ReturnType = typeof(bool))]
477 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Microsoft.Win32.NativeMethods", Member = "DuplicateHandle", MemberParameters = new object[]
478 {
479 typeof(global::System.Runtime.InteropServices.HandleRef),
480 typeof(global::System.Runtime.InteropServices.HandleRef),
481 typeof(global::System.Runtime.InteropServices.HandleRef),
482 "Microsoft.Win32.SafeHandles.SafeProcessHandle&",
483 typeof(int),
484 typeof(bool),
485 typeof(int)
486 }, ReturnType = typeof(bool))]
487 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Diagnostics.Process", Member = "CreatePipe", MemberParameters = new object[]
488 {
489 typeof(ref global::System.IntPtr),
490 typeof(ref global::System.IntPtr),
491 typeof(bool)
492 }, ReturnType = typeof(void))]
493 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
494 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
495 [MethodImpl(4096)]
496 public static extern bool DuplicateHandle(global::System.IntPtr source_process_handle, global::System.IntPtr source_handle, global::System.IntPtr target_process_handle, out global::System.IntPtr target_handle, int access, int inherit, int options, out MonoIOError error);
497
498 [global::Cpp2ILInjected.Token(Token = "0x17000602")]
499 public static extern char VolumeSeparatorChar
500 {
501 [global::Cpp2ILInjected.Token(Token = "0x60029C0")]
502 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4A8", Offset = "0x1BCE4A8", Length = "0x4")]
503 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
504 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
505 [MethodImpl(4096)]
506 get;
507 }
508
509 [global::Cpp2ILInjected.Token(Token = "0x17000603")]
510 public static extern char DirectorySeparatorChar
511 {
512 [global::Cpp2ILInjected.Token(Token = "0x60029C1")]
513 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4AC", Offset = "0x1BCE4AC", Length = "0x4")]
514 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
515 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
516 [MethodImpl(4096)]
517 get;
518 }
519
520 [global::Cpp2ILInjected.Token(Token = "0x17000604")]
521 public static extern char AltDirectorySeparatorChar
522 {
523 [global::Cpp2ILInjected.Token(Token = "0x60029C2")]
524 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4B0", Offset = "0x1BCE4B0", Length = "0x4")]
525 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
526 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
527 [MethodImpl(4096)]
528 get;
529 }
530
531 [global::Cpp2ILInjected.Token(Token = "0x17000605")]
532 public static extern char PathSeparator
533 {
534 [global::Cpp2ILInjected.Token(Token = "0x60029C3")]
535 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4B4", Offset = "0x1BCE4B4", Length = "0x4")]
536 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
537 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
538 [MethodImpl(4096)]
539 get;
540 }
541
542 [global::Cpp2ILInjected.Token(Token = "0x60029C4")]
543 [global::Cpp2ILInjected.Address(RVA = "0x1BCE2DC", Offset = "0x1BCE2DC", Length = "0x4")]
544 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
545 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
546 [MethodImpl(4096)]
547 private static extern void DumpHandles();
548
549 [global::Cpp2ILInjected.Token(Token = "0x60029C5")]
550 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4B8", Offset = "0x1BCE4B8", Length = "0x4")]
551 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
552 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
553 [MethodImpl(4096)]
554 public static extern bool RemapPath(string path, out string newPath);
555
556 // Note: this type is marked as 'beforefieldinit'.
557 [global::Cpp2ILInjected.Token(Token = "0x60029C6")]
558 [global::Cpp2ILInjected.Address(RVA = "0x1BCE4BC", Offset = "0x1BCE4BC", Length = "0x88")]
559 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
560 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
561 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.IntPtr))]
562 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Environment), Member = "GetEnvironmentVariable", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
563 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
564 static MonoIO()
565 {
566 throw null;
567 }
568
569 [global::Cpp2ILInjected.Token(Token = "0x4001657")]
570 public static readonly global::System.IntPtr InvalidHandle;
571
572 [global::Cpp2ILInjected.Token(Token = "0x4001658")]
573 private static bool dump_handles;
574 }
575}
class f__AnonymousType0<< Count > j__TPar
static long GetLength(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
Definition MonoIO.cs:386
static long Seek(global::System.IntPtr handle, long offset, SeekOrigin origin, out MonoIOError error)
static bool SetLength(global::System.Runtime.InteropServices.SafeHandle safeHandle, long length, out MonoIOError error)
Definition MonoIO.cs:406
static bool SetLength(global::System.IntPtr handle, long length, out MonoIOError error)
static int Read(global::System.IntPtr handle, byte[] dest, int dest_offset, int count, out MonoIOError error)
static bool dump_handles
Definition MonoIO.cs:573
static bool SetFileAttributes(string path, FileAttributes attrs, out MonoIOError error)
Definition MonoIO.cs:173
static unsafe global::System.IntPtr Open(char *filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error)
static int Write(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] src, int src_offset, int count, out MonoIOError error)
Definition MonoIO.cs:325
static bool Close(global::System.IntPtr handle, out MonoIOError error)
static MonoIO()
Definition MonoIO.cs:564
static void DumpHandles()
static bool DuplicateHandle(global::System.IntPtr source_process_handle, global::System.IntPtr source_handle, global::System.IntPtr target_process_handle, out global::System.IntPtr target_handle, int access, int inherit, int options, out MonoIOError error)
static int Write(global::System.IntPtr handle, [global::System.Runtime.InteropServices.In] byte[] src, int src_offset, int count, out MonoIOError error)
static long GetLength(global::System.IntPtr handle, out MonoIOError error)
static global::System.Exception GetException(string path, MonoIOError error)
Definition MonoIO.cs:143
static int Read(global::System.Runtime.InteropServices.SafeHandle safeHandle, byte[] dest, int dest_offset, int count, out MonoIOError error)
Definition MonoIO.cs:299
static global::System.IntPtr Open(string filename, FileMode mode, FileAccess access, FileShare share, FileOptions options, out MonoIOError error)
Definition MonoIO.cs:238
static MonoFileType GetFileType(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
Definition MonoIO.cs:211
static MonoFileType GetFileType(global::System.IntPtr handle, out MonoIOError error)
static unsafe bool SetFileAttributes(char *path, FileAttributes attrs, out MonoIOError error)
static readonly global::System.IntPtr InvalidHandle
Definition MonoIO.cs:570
static long Seek(global::System.Runtime.InteropServices.SafeHandle safeHandle, long offset, SeekOrigin origin, out MonoIOError error)
Definition MonoIO.cs:366
static bool RemapPath(string path, out string newPath)
static string GetCurrentDirectory(out MonoIOError error)
static global::System.Exception GetException(MonoIOError error)
Definition MonoIO.cs:56
static bool Cancel_internal(global::System.IntPtr handle, out MonoIOError error)
static bool Cancel(global::System.Runtime.InteropServices.SafeHandle safeHandle, out MonoIOError error)
Definition MonoIO.cs:258
static bool CreatePipe(out global::System.IntPtr read_handle, out global::System.IntPtr write_handle, out MonoIOError error)