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
Interop.cs
Go to the documentation of this file.
1using System;
2using System.IO;
7using System.Text;
11
12[global::Cpp2ILInjected.Token(Token = "0x2000002")]
13internal static class Interop
14{
15 [global::Cpp2ILInjected.Token(Token = "0x6000001")]
16 [global::Cpp2ILInjected.Address(RVA = "0x1AA9018", Offset = "0x1AA9018", Length = "0x58")]
17 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
18 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "CheckIo", MemberParameters = new object[]
19 {
20 typeof(long),
21 typeof(string),
22 typeof(bool),
24 }, ReturnType = typeof(long))]
25 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "GetExceptionForIoErrno", MemberParameters = new object[]
27 {
28 typeof(global::Interop.ErrorInfo),
29 typeof(string),
30 typeof(bool)
31 }, ReturnType = typeof(global::System.Exception))]
32 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
34 {
35 throw null;
36 }
37
38 [global::Cpp2ILInjected.Token(Token = "0x6000002")]
39 [global::Cpp2ILInjected.Address(RVA = "0x1AA9534", Offset = "0x1AA9534", Length = "0x78")]
40 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "CheckIo", MemberParameters = new object[]
41 {
42 typeof(int),
43 typeof(string),
44 typeof(bool),
46 }, ReturnType = typeof(int))]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "GetLastErrorInfo", ReturnType = typeof(global::Interop.ErrorInfo))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "ThrowExceptionForIoErrno", MemberParameters = new object[]
50 {
51 typeof(global::Interop.ErrorInfo),
52 typeof(string),
53 typeof(bool),
55 }, ReturnType = typeof(void))]
56 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
57 internal static long CheckIo(long result, string path = null, bool isDirectory = false, global::System.Func<global::Interop.ErrorInfo, global::Interop.ErrorInfo> errorRewriter = null)
58 {
59 throw null;
60 }
61
62 [global::Cpp2ILInjected.Token(Token = "0x6000003")]
63 [global::Cpp2ILInjected.Address(RVA = "0x1AA9614", Offset = "0x1AA9614", Length = "0x20")]
64 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "SetAttributes", MemberParameters = new object[]
65 {
66 typeof(string),
67 typeof(global::System.IO.FileAttributes)
68 }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyFile", MemberParameters = new object[]
70 {
71 typeof(string),
72 typeof(string),
73 typeof(bool)
74 }, ReturnType = typeof(void))]
75 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
76 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "CheckIo", MemberParameters = new object[]
77 {
78 typeof(long),
79 typeof(string),
80 typeof(bool),
82 }, ReturnType = typeof(long))]
83 internal static int CheckIo(int result, string path = null, bool isDirectory = false, global::System.Func<global::Interop.ErrorInfo, global::Interop.ErrorInfo> errorRewriter = null)
84 {
85 throw null;
86 }
87
88 [global::Cpp2ILInjected.Token(Token = "0x6000004")]
89 [global::Cpp2ILInjected.Address(RVA = "0x1AA9070", Offset = "0x1AA9070", Length = "0x4C4")]
90 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
91 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "ThrowExceptionForIoErrno", MemberParameters = new object[]
92 {
93 typeof(global::Interop.ErrorInfo),
94 typeof(string),
95 typeof(bool),
97 }, ReturnType = typeof(void))]
98 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
99 {
100 typeof(string),
101 typeof(global::System.Predicate<string>)
102 }, ReturnType = typeof(void))]
103 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
104 {
105 typeof(global::System.ReadOnlySpan<char>),
106 typeof(bool)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
109 {
110 typeof(string),
111 typeof(string)
112 }, ReturnType = typeof(bool))]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "LinkOrCopyFile", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(string)
117 }, ReturnType = typeof(void))]
118 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "DeleteFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
119 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
120 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystemInfo), Member = "ThrowNotFound", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
121 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "CreateDirectoryHandle", MemberParameters = new object[]
122 {
123 typeof(string),
124 typeof(bool)
125 }, ReturnType = typeof(global::System.IntPtr))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "FindNextEntry", MemberParameters = new object[]
127 {
128 typeof(byte*),
129 typeof(int)
130 }, ReturnType = typeof(void))]
131 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
132 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.OperationCanceledException), Member = ".ctor", ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[]
135 {
136 typeof(string),
137 typeof(string)
138 }, ReturnType = typeof(void))]
139 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
140 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "GetIOException", MemberParameters = new object[] { typeof(global::Interop.ErrorInfo) }, ReturnType = typeof(global::System.Exception))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
142 {
143 typeof(string),
144 typeof(object)
145 }, ReturnType = typeof(string))]
146 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.UnauthorizedAccessException), Member = ".ctor", MemberParameters = new object[]
147 {
148 typeof(string),
149 typeof(global::System.Exception)
150 }, ReturnType = typeof(void))]
151 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.IOException), Member = ".ctor", MemberParameters = new object[]
152 {
153 typeof(string),
154 typeof(int)
155 }, ReturnType = typeof(void))]
156 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.PathTooLongException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.FileNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.DirectoryNotFoundException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
159 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.FileNotFoundException), Member = ".ctor", MemberParameters = new object[]
160 {
161 typeof(string),
162 typeof(string)
163 }, ReturnType = typeof(void))]
164 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
165 internal unsafe static global::System.Exception GetExceptionForIoErrno(global::Interop.ErrorInfo errorInfo, string path = null, bool isDirectory = false)
166 {
167 throw null;
168 }
169
170 [global::Cpp2ILInjected.Token(Token = "0x6000005")]
171 [global::Cpp2ILInjected.Address(RVA = "0x1AA96A4", Offset = "0x1AA96A4", Length = "0x84")]
172 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "GetExceptionForIoErrno", MemberParameters = new object[]
173 {
174 typeof(global::Interop.ErrorInfo),
175 typeof(string),
176 typeof(bool)
177 }, ReturnType = typeof(global::System.Exception))]
178 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "GetErrorMessage", ReturnType = typeof(string))]
180 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IO.IOException), Member = ".ctor", MemberParameters = new object[]
182 {
183 typeof(string),
184 typeof(int)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
187 internal static global::System.Exception GetIOException(global::Interop.ErrorInfo errorInfo)
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x6000006")]
193 [global::Cpp2ILInjected.Address(RVA = "0x1AA97F8", Offset = "0x1AA97F8", Length = "0x64")]
194 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Guid), Member = "NewGuid", ReturnType = typeof(global::System.Guid))]
195 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Random), Member = "GenerateGlobalSeed", ReturnType = typeof(int))]
196 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Random), Member = ".cctor", ReturnType = typeof(void))]
197 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.RandomNumberGenerator), Member = "FillSpan", MemberParameters = new object[] { typeof(global::System.Span<byte>) }, ReturnType = typeof(void))]
198 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
199 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
200 internal unsafe static void GetRandomBytes(byte* buffer, int length)
201 {
202 throw null;
203 }
204
205 [global::Cpp2ILInjected.Token(Token = "0x2000003")]
206 internal enum Error
207 {
208 [global::Cpp2ILInjected.Token(Token = "0x4000002")]
209 SUCCESS,
210 [global::Cpp2ILInjected.Token(Token = "0x4000003")]
211 E2BIG = 65537,
212 [global::Cpp2ILInjected.Token(Token = "0x4000004")]
213 EACCES,
214 [global::Cpp2ILInjected.Token(Token = "0x4000005")]
216 [global::Cpp2ILInjected.Token(Token = "0x4000006")]
218 [global::Cpp2ILInjected.Token(Token = "0x4000007")]
220 [global::Cpp2ILInjected.Token(Token = "0x4000008")]
221 EAGAIN,
222 [global::Cpp2ILInjected.Token(Token = "0x4000009")]
223 EALREADY,
224 [global::Cpp2ILInjected.Token(Token = "0x400000A")]
225 EBADF,
226 [global::Cpp2ILInjected.Token(Token = "0x400000B")]
227 EBADMSG,
228 [global::Cpp2ILInjected.Token(Token = "0x400000C")]
229 EBUSY,
230 [global::Cpp2ILInjected.Token(Token = "0x400000D")]
231 ECANCELED,
232 [global::Cpp2ILInjected.Token(Token = "0x400000E")]
233 ECHILD,
234 [global::Cpp2ILInjected.Token(Token = "0x400000F")]
236 [global::Cpp2ILInjected.Token(Token = "0x4000010")]
238 [global::Cpp2ILInjected.Token(Token = "0x4000011")]
240 [global::Cpp2ILInjected.Token(Token = "0x4000012")]
241 EDEADLK,
242 [global::Cpp2ILInjected.Token(Token = "0x4000013")]
244 [global::Cpp2ILInjected.Token(Token = "0x4000014")]
245 EDOM,
246 [global::Cpp2ILInjected.Token(Token = "0x4000015")]
247 EDQUOT,
248 [global::Cpp2ILInjected.Token(Token = "0x4000016")]
249 EEXIST,
250 [global::Cpp2ILInjected.Token(Token = "0x4000017")]
251 EFAULT,
252 [global::Cpp2ILInjected.Token(Token = "0x4000018")]
253 EFBIG,
254 [global::Cpp2ILInjected.Token(Token = "0x4000019")]
256 [global::Cpp2ILInjected.Token(Token = "0x400001A")]
257 EIDRM,
258 [global::Cpp2ILInjected.Token(Token = "0x400001B")]
259 EILSEQ,
260 [global::Cpp2ILInjected.Token(Token = "0x400001C")]
262 [global::Cpp2ILInjected.Token(Token = "0x400001D")]
263 EINTR,
264 [global::Cpp2ILInjected.Token(Token = "0x400001E")]
265 EINVAL,
266 [global::Cpp2ILInjected.Token(Token = "0x400001F")]
267 EIO,
268 [global::Cpp2ILInjected.Token(Token = "0x4000020")]
269 EISCONN,
270 [global::Cpp2ILInjected.Token(Token = "0x4000021")]
271 EISDIR,
272 [global::Cpp2ILInjected.Token(Token = "0x4000022")]
273 ELOOP,
274 [global::Cpp2ILInjected.Token(Token = "0x4000023")]
275 EMFILE,
276 [global::Cpp2ILInjected.Token(Token = "0x4000024")]
277 EMLINK,
278 [global::Cpp2ILInjected.Token(Token = "0x4000025")]
279 EMSGSIZE,
280 [global::Cpp2ILInjected.Token(Token = "0x4000026")]
281 EMULTIHOP,
282 [global::Cpp2ILInjected.Token(Token = "0x4000027")]
284 [global::Cpp2ILInjected.Token(Token = "0x4000028")]
285 ENETDOWN,
286 [global::Cpp2ILInjected.Token(Token = "0x4000029")]
287 ENETRESET,
288 [global::Cpp2ILInjected.Token(Token = "0x400002A")]
290 [global::Cpp2ILInjected.Token(Token = "0x400002B")]
291 ENFILE,
292 [global::Cpp2ILInjected.Token(Token = "0x400002C")]
293 ENOBUFS,
294 [global::Cpp2ILInjected.Token(Token = "0x400002D")]
295 ENODEV = 65580,
296 [global::Cpp2ILInjected.Token(Token = "0x400002E")]
297 ENOENT,
298 [global::Cpp2ILInjected.Token(Token = "0x400002F")]
299 ENOEXEC,
300 [global::Cpp2ILInjected.Token(Token = "0x4000030")]
301 ENOLCK,
302 [global::Cpp2ILInjected.Token(Token = "0x4000031")]
303 ENOLINK,
304 [global::Cpp2ILInjected.Token(Token = "0x4000032")]
305 ENOMEM,
306 [global::Cpp2ILInjected.Token(Token = "0x4000033")]
307 ENOMSG,
308 [global::Cpp2ILInjected.Token(Token = "0x4000034")]
310 [global::Cpp2ILInjected.Token(Token = "0x4000035")]
311 ENOSPC,
312 [global::Cpp2ILInjected.Token(Token = "0x4000036")]
313 ENOSYS = 65591,
314 [global::Cpp2ILInjected.Token(Token = "0x4000037")]
315 ENOTCONN,
316 [global::Cpp2ILInjected.Token(Token = "0x4000038")]
317 ENOTDIR,
318 [global::Cpp2ILInjected.Token(Token = "0x4000039")]
319 ENOTEMPTY,
320 [global::Cpp2ILInjected.Token(Token = "0x400003A")]
321 ENOTSOCK = 65596,
322 [global::Cpp2ILInjected.Token(Token = "0x400003B")]
323 ENOTSUP,
324 [global::Cpp2ILInjected.Token(Token = "0x400003C")]
325 ENOTTY,
326 [global::Cpp2ILInjected.Token(Token = "0x400003D")]
327 ENXIO,
328 [global::Cpp2ILInjected.Token(Token = "0x400003E")]
329 EOVERFLOW,
330 [global::Cpp2ILInjected.Token(Token = "0x400003F")]
331 EPERM = 65602,
332 [global::Cpp2ILInjected.Token(Token = "0x4000040")]
333 EPIPE,
334 [global::Cpp2ILInjected.Token(Token = "0x4000041")]
335 EPROTO,
336 [global::Cpp2ILInjected.Token(Token = "0x4000042")]
338 [global::Cpp2ILInjected.Token(Token = "0x4000043")]
340 [global::Cpp2ILInjected.Token(Token = "0x4000044")]
341 ERANGE,
342 [global::Cpp2ILInjected.Token(Token = "0x4000045")]
343 EROFS,
344 [global::Cpp2ILInjected.Token(Token = "0x4000046")]
345 ESPIPE,
346 [global::Cpp2ILInjected.Token(Token = "0x4000047")]
347 ESRCH,
348 [global::Cpp2ILInjected.Token(Token = "0x4000048")]
349 ESTALE,
350 [global::Cpp2ILInjected.Token(Token = "0x4000049")]
351 ETIMEDOUT = 65613,
352 [global::Cpp2ILInjected.Token(Token = "0x400004A")]
353 ETXTBSY,
354 [global::Cpp2ILInjected.Token(Token = "0x400004B")]
355 EXDEV,
356 [global::Cpp2ILInjected.Token(Token = "0x400004C")]
357 ESOCKTNOSUPPORT = 65630,
358 [global::Cpp2ILInjected.Token(Token = "0x400004D")]
359 EPFNOSUPPORT = 65632,
360 [global::Cpp2ILInjected.Token(Token = "0x400004E")]
361 ESHUTDOWN = 65644,
362 [global::Cpp2ILInjected.Token(Token = "0x400004F")]
363 EHOSTDOWN = 65648,
364 [global::Cpp2ILInjected.Token(Token = "0x4000050")]
365 ENODATA,
366 [global::Cpp2ILInjected.Token(Token = "0x4000051")]
367 EOPNOTSUPP = 65597,
368 [global::Cpp2ILInjected.Token(Token = "0x4000052")]
369 EWOULDBLOCK = 65542
370 }
371
372 [global::Cpp2ILInjected.Token(Token = "0x2000004")]
373 internal struct ErrorInfo
374 {
375 [global::Cpp2ILInjected.Token(Token = "0x6000007")]
376 [global::Cpp2ILInjected.Address(RVA = "0x1AA9860", Offset = "0x1AA9860", Length = "0x68")]
377 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.Sys), Member = "GetLastErrorInfo", ReturnType = typeof(global::Interop.ErrorInfo))]
378 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
379 {
380 typeof(global::System.ReadOnlySpan<char>),
381 typeof(bool)
382 }, ReturnType = typeof(void))]
383 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "FindNextEntry", MemberParameters = new object[]
384 {
385 typeof(byte*),
386 typeof(int)
387 }, ReturnType = typeof(void))]
388 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
389 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
390 internal unsafe ErrorInfo(int errno)
391 {
392 throw null;
393 }
394
395 [global::Cpp2ILInjected.Token(Token = "0x6000008")]
396 [global::Cpp2ILInjected.Address(RVA = "0x1AA98CC", Offset = "0x1AA98CC", Length = "0xC")]
397 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystemInfo), Member = "ThrowNotFound", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
398 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
399 internal ErrorInfo(global::Interop.Error error)
400 {
401 throw null;
402 }
403
404 [global::Cpp2ILInjected.Token(Token = "0x17000001")]
405 internal global::Interop.Error Error
406 {
407 [global::Cpp2ILInjected.Token(Token = "0x6000009")]
408 [global::Cpp2ILInjected.Address(RVA = "0x1AA98D8", Offset = "0x1AA98D8", Length = "0x8")]
409 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
410 get
411 {
412 throw null;
413 }
414 }
415
416 [global::Cpp2ILInjected.Token(Token = "0x17000002")]
417 internal int RawErrno
418 {
419 [global::Cpp2ILInjected.Token(Token = "0x600000A")]
420 [global::Cpp2ILInjected.Address(RVA = "0x1AA9728", Offset = "0x1AA9728", Length = "0x6C")]
421 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.ErrorInfo), Member = "GetErrorMessage", ReturnType = typeof(string))]
422 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.ErrorInfo), Member = "ToString", ReturnType = typeof(string))]
423 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "GetExceptionForIoErrno", MemberParameters = new object[]
424 {
425 typeof(global::Interop.ErrorInfo),
426 typeof(string),
427 typeof(bool)
428 }, ReturnType = typeof(global::System.Exception))]
429 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "GetIOException", MemberParameters = new object[] { typeof(global::Interop.ErrorInfo) }, ReturnType = typeof(global::System.Exception))]
430 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
431 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "InternalContinueOnError", MemberParameters = new object[]
432 {
433 typeof(global::Interop.ErrorInfo),
434 typeof(bool)
435 }, ReturnType = typeof(bool))]
436 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 7)]
437 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "ConvertErrorPalToPlatform", MemberParameters = new object[] { typeof(global::Interop.Error) }, ReturnType = typeof(int))]
438 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
439 get
440 {
441 throw null;
442 }
443 }
444
445 [global::Cpp2ILInjected.Token(Token = "0x600000B")]
446 [global::Cpp2ILInjected.Address(RVA = "0x1AA9794", Offset = "0x1AA9794", Length = "0x64")]
447 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.ErrorInfo), Member = "ToString", ReturnType = typeof(string))]
448 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "GetIOException", MemberParameters = new object[] { typeof(global::Interop.ErrorInfo) }, ReturnType = typeof(global::System.Exception))]
449 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
450 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
451 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "StrError", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
452 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
453 internal string GetErrorMessage()
454 {
455 throw null;
456 }
457
458 [global::Cpp2ILInjected.Token(Token = "0x600000C")]
459 [global::Cpp2ILInjected.Address(RVA = "0x1AA9A58", Offset = "0x1AA9A58", Length = "0xD4")]
460 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
461 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
462 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "GetErrorMessage", ReturnType = typeof(string))]
463 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Format", MemberParameters = new object[]
464 {
465 typeof(string),
466 typeof(object),
467 typeof(object),
468 typeof(object)
469 }, ReturnType = typeof(string))]
470 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
471 public override string ToString()
472 {
473 throw null;
474 }
475
476 [global::Cpp2ILInjected.Token(Token = "0x4000053")]
477 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
478 private global::Interop.Error _error;
479
480 [global::Cpp2ILInjected.Token(Token = "0x4000054")]
481 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
482 private int _rawErrno;
483 }
484
485 [global::Cpp2ILInjected.Token(Token = "0x2000005")]
486 internal static class Sys
487 {
488 [global::Cpp2ILInjected.Token(Token = "0x600000D")]
489 [global::Cpp2ILInjected.Address(RVA = "0x1AA95AC", Offset = "0x1AA95AC", Length = "0x68")]
490 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop), Member = "CheckIo", MemberParameters = new object[]
491 {
492 typeof(long),
493 typeof(string),
494 typeof(bool),
496 }, ReturnType = typeof(long))]
497 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
498 {
499 typeof(string),
500 typeof(global::System.Predicate<string>)
501 }, ReturnType = typeof(void))]
502 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
503 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
504 {
505 typeof(string),
506 typeof(string)
507 }, ReturnType = typeof(bool))]
508 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "LinkOrCopyFile", MemberParameters = new object[]
509 {
510 typeof(string),
511 typeof(string)
512 }, ReturnType = typeof(void))]
513 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "DeleteFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
514 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
515 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "FileExists", MemberParameters = new object[]
516 {
517 typeof(global::System.ReadOnlySpan<char>),
518 typeof(int),
519 typeof(ref global::Interop.ErrorInfo)
520 }, ReturnType = typeof(bool))]
521 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "CreateDirectoryHandle", MemberParameters = new object[]
522 {
523 typeof(string),
524 typeof(bool)
525 }, ReturnType = typeof(global::System.IntPtr))]
526 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
527 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "GetLastWin32Error", ReturnType = typeof(int))]
528 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
529 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
530 internal static global::Interop.ErrorInfo GetLastErrorInfo()
531 {
532 throw null;
533 }
534
535 [global::Cpp2ILInjected.Token(Token = "0x600000E")]
536 [global::Cpp2ILInjected.Address(RVA = "0x1AA995C", Offset = "0x1AA995C", Length = "0xFC")]
537 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
538 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.ErrorInfo), Member = "GetErrorMessage", ReturnType = typeof(string))]
539 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
540 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.IntPtr), Member = "op_Explicit", MemberParameters = new object[] { typeof(void*) }, ReturnType = typeof(global::System.IntPtr))]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.Marshal), Member = "PtrToStringAnsi", MemberParameters = new object[] { typeof(global::System.IntPtr) }, ReturnType = typeof(string))]
542 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
543 internal unsafe static string StrError(int platformErrno)
544 {
545 throw null;
546 }
547
548 [global::Cpp2ILInjected.Token(Token = "0x600000F")]
549 [global::Cpp2ILInjected.Address(RVA = "0x1AA98C8", Offset = "0x1AA98C8", Length = "0x4")]
550 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
551 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
552 [global::System.Runtime.InteropServices.PreserveSig]
553 internal static extern global::Interop.Error ConvertErrorPlatformToPal(int platformErrno);
554
555 [global::Cpp2ILInjected.Token(Token = "0x6000010")]
556 [global::Cpp2ILInjected.Address(RVA = "0x1AA98E0", Offset = "0x1AA98E0", Length = "0x7C")]
557 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
558 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
559 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
560 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
561 [global::System.Runtime.InteropServices.PreserveSig]
562 internal static extern int ConvertErrorPalToPlatform(global::Interop.Error error);
563
564 [global::Cpp2ILInjected.Token(Token = "0x6000011")]
565 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B2C", Offset = "0x1AA9B2C", Length = "0x4")]
566 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
567 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
568 [global::System.Runtime.InteropServices.PreserveSig]
569 private unsafe static extern byte* StrErrorR(int platformErrno, byte* buffer, int bufferSize);
570
571 [global::Cpp2ILInjected.Token(Token = "0x6000012")]
572 [global::Cpp2ILInjected.Address(RVA = "0x1AA985C", Offset = "0x1AA985C", Length = "0x4")]
573 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
574 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
575 [global::System.Runtime.InteropServices.PreserveSig]
576 internal unsafe static extern void GetNonCryptographicallySecureRandomBytes(byte* buffer, int length);
577
578 [global::Cpp2ILInjected.Token(Token = "0x6000013")]
579 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B30", Offset = "0x1AA9B30", Length = "0x34")]
580 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
581 {
582 typeof(string),
583 typeof(global::System.Predicate<string>)
584 }, ReturnType = typeof(void))]
585 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "CreateDirectoryHandle", MemberParameters = new object[]
586 {
587 typeof(string),
588 typeof(bool)
589 }, ReturnType = typeof(global::System.IntPtr))]
590 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
591 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
592 [global::System.Runtime.InteropServices.PreserveSig]
593 internal static extern global::System.IntPtr OpenDir(string path);
594
595 [global::Cpp2ILInjected.Token(Token = "0x6000014")]
596 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B64", Offset = "0x1AA9B64", Length = "0x4")]
597 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
598 {
599 typeof(string),
600 typeof(global::System.Predicate<string>)
601 }, ReturnType = typeof(void))]
602 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = ".ctor", MemberParameters = new object[]
603 {
604 typeof(string),
605 typeof(global::System.IO.EnumerationOptions)
606 }, ReturnType = typeof(void))]
607 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
608 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
609 [global::System.Runtime.InteropServices.PreserveSig]
610 internal static extern int GetReadDirRBufferSize();
611
612 [global::Cpp2ILInjected.Token(Token = "0x6000015")]
613 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B68", Offset = "0x1AA9B68", Length = "0x4")]
614 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
615 {
616 typeof(string),
617 typeof(global::System.Predicate<string>)
618 }, ReturnType = typeof(void))]
619 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "FindNextEntry", MemberParameters = new object[]
620 {
621 typeof(byte*),
622 typeof(int)
623 }, ReturnType = typeof(void))]
624 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
625 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
626 [global::System.Runtime.InteropServices.PreserveSig]
627 internal unsafe static extern int ReadDirR(global::System.IntPtr dir, byte* buffer, int bufferSize, out global::Interop.Sys.DirectoryEntry outputEntry);
628
629 [global::Cpp2ILInjected.Token(Token = "0x6000016")]
630 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B6C", Offset = "0x1AA9B6C", Length = "0x1C")]
631 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
632 {
633 typeof(string),
634 typeof(global::System.Predicate<string>)
635 }, ReturnType = typeof(void))]
636 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = "CloseDirectoryHandle", ReturnType = typeof(void))]
637 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
638 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
639 [global::System.Runtime.InteropServices.PreserveSig]
640 internal static extern int CloseDir(global::System.IntPtr dir);
641
642 [global::Cpp2ILInjected.Token(Token = "0x6000017")]
643 [global::Cpp2ILInjected.Address(RVA = "0x1AA9B88", Offset = "0x1AA9B88", Length = "0x4C")]
644 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
645 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::Interop.Sys), Member = "ReadLink", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
646 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
647 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
648 [global::System.Runtime.InteropServices.PreserveSig]
649 private static extern int ReadLink(string path, byte[] buffer, int bufferSize);
650
651 [global::Cpp2ILInjected.Token(Token = "0x6000018")]
652 [global::Cpp2ILInjected.Address(RVA = "0x1AA9BD4", Offset = "0x1AA9BD4", Length = "0x1E4")]
653 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
654 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "FindTimeZoneIdUsingReadLink", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
655 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
656 {
657 typeof(string),
658 typeof(string)
659 }, ReturnType = typeof(bool))]
660 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
661 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "ReadLink", MemberParameters = new object[]
662 {
663 typeof(string),
664 typeof(byte[]),
665 typeof(int)
666 }, ReturnType = typeof(int))]
667 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_UTF8", ReturnType = typeof(global::System.Text.Encoding))]
668 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
669 public static string ReadLink(string path)
670 {
671 throw null;
672 }
673
674 [global::Cpp2ILInjected.Token(Token = "0x6000019")]
675 [global::Cpp2ILInjected.Address(RVA = "0x1AA9DB8", Offset = "0x1AA9DB8", Length = "0x3C")]
676 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "EnumerateFilesRecursively", MemberParameters = new object[]
677 {
678 typeof(string),
679 typeof(global::System.Predicate<string>)
680 }, ReturnType = typeof(void))]
681 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
682 {
683 typeof(string),
684 typeof(string)
685 }, ReturnType = typeof(bool))]
686 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
687 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
688 [global::System.Runtime.InteropServices.PreserveSig]
689 internal static extern int Stat(string path, out global::Interop.Sys.FileStatus output);
690
691 [global::Cpp2ILInjected.Token(Token = "0x600001A")]
692 [global::Cpp2ILInjected.Address(RVA = "0x1AA9DF4", Offset = "0x1AA9DF4", Length = "0x3C")]
693 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
694 {
695 typeof(string),
696 typeof(string)
697 }, ReturnType = typeof(bool))]
698 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "MoveFile", MemberParameters = new object[]
699 {
700 typeof(string),
701 typeof(string)
702 }, ReturnType = typeof(void))]
703 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
704 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
705 [global::System.Runtime.InteropServices.PreserveSig]
706 internal static extern int LStat(string path, out global::Interop.Sys.FileStatus output);
707
708 [global::Cpp2ILInjected.Token(Token = "0x600001B")]
709 [global::Cpp2ILInjected.Address(RVA = "0x1AA9E30", Offset = "0x1AA9E30", Length = "0xB8")]
710 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
711 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyDanglingSymlink", MemberParameters = new object[]
712 {
713 typeof(string),
714 typeof(string)
715 }, ReturnType = typeof(bool))]
716 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
717 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
718 [global::System.Runtime.InteropServices.PreserveSig]
719 internal static extern int Symlink(string target, string linkPath);
720
721 [global::Cpp2ILInjected.Token(Token = "0x600001C")]
722 [global::Cpp2ILInjected.Address(RVA = "0x1AA9EE8", Offset = "0x1AA9EE8", Length = "0x3C")]
723 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "SetAttributes", MemberParameters = new object[]
724 {
725 typeof(string),
726 typeof(global::System.IO.FileAttributes)
727 }, ReturnType = typeof(void))]
728 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
729 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
730 [global::System.Runtime.InteropServices.PreserveSig]
731 internal static extern int ChMod(string path, int mode);
732
733 [global::Cpp2ILInjected.Token(Token = "0x600001D")]
734 [global::Cpp2ILInjected.Address(RVA = "0x1AA9F24", Offset = "0x1AA9F24", Length = "0xB4")]
735 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CopyFile", MemberParameters = new object[]
736 {
737 typeof(string),
738 typeof(string),
739 typeof(bool)
740 }, ReturnType = typeof(void))]
741 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
742 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousAddRef", MemberParameters = new object[] { typeof(ref bool) }, ReturnType = typeof(void))]
743 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.SafeHandle), Member = "DangerousRelease", ReturnType = typeof(void))]
744 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
745 [global::System.Runtime.InteropServices.PreserveSig]
747
748 [global::Cpp2ILInjected.Token(Token = "0x600001E")]
749 [global::Cpp2ILInjected.Address(RVA = "0x1AA9FD8", Offset = "0x1AA9FD8", Length = "0x4")]
750 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "IsReadOnly", MemberParameters = new object[]
751 {
752 typeof(global::System.ReadOnlySpan<char>),
753 typeof(bool)
754 }, ReturnType = typeof(bool))]
755 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
756 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
757 [global::System.Runtime.InteropServices.PreserveSig]
758 internal static extern uint GetEGid();
759
760 [global::Cpp2ILInjected.Token(Token = "0x600001F")]
761 [global::Cpp2ILInjected.Address(RVA = "0x1AA9FDC", Offset = "0x1AA9FDC", Length = "0x4")]
762 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "IsReadOnly", MemberParameters = new object[]
763 {
764 typeof(global::System.ReadOnlySpan<char>),
765 typeof(bool)
766 }, ReturnType = typeof(bool))]
767 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
768 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
769 [global::System.Runtime.InteropServices.PreserveSig]
770 internal static extern uint GetEUid();
771
772 [global::Cpp2ILInjected.Token(Token = "0x6000020")]
773 [global::Cpp2ILInjected.Address(RVA = "0x1AA9FE0", Offset = "0x1AA9FE0", Length = "0xA0")]
774 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
775 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "SetAttributes", MemberParameters = new object[]
776 {
777 typeof(string),
778 typeof(global::System.IO.FileAttributes)
779 }, ReturnType = typeof(void))]
780 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
781 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
782 [global::System.Runtime.InteropServices.PreserveSig]
783 internal static extern int LChflags(string path, uint flags);
784
785 [global::Cpp2ILInjected.Token(Token = "0x6000021")]
786 [global::Cpp2ILInjected.Address(RVA = "0x1AAA080", Offset = "0x1AAA080", Length = "0x4")]
787 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
788 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
789 [global::System.Runtime.InteropServices.PreserveSig]
790 private static extern int LChflagsCanSetHiddenFlag();
791
792 [global::Cpp2ILInjected.Token(Token = "0x6000022")]
793 [global::Cpp2ILInjected.Address(RVA = "0x1AAA084", Offset = "0x1AAA084", Length = "0x54")]
794 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "LinkOrCopyFile", MemberParameters = new object[]
795 {
796 typeof(string),
797 typeof(string)
798 }, ReturnType = typeof(void))]
799 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
800 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
801 [global::System.Runtime.InteropServices.PreserveSig]
802 internal static extern int Link(string source, string link);
803
804 [global::Cpp2ILInjected.Token(Token = "0x6000023")]
805 [global::Cpp2ILInjected.Address(RVA = "0x1AAA0D8", Offset = "0x1AAA0D8", Length = "0x3C")]
806 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
807 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
808 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
809 [global::System.Runtime.InteropServices.PreserveSig]
810 internal static extern int MkDir(string path, int mode);
811
812 [global::Cpp2ILInjected.Token(Token = "0x6000024")]
813 [global::Cpp2ILInjected.Address(RVA = "0x1AAA114", Offset = "0x1AAA114", Length = "0x54")]
814 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "MoveFile", MemberParameters = new object[]
815 {
816 typeof(string),
817 typeof(string)
818 }, ReturnType = typeof(void))]
819 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
820 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
821 [global::System.Runtime.InteropServices.PreserveSig]
822 internal static extern int Rename(string oldPath, string newPath);
823
824 [global::Cpp2ILInjected.Token(Token = "0x6000025")]
825 [global::Cpp2ILInjected.Address(RVA = "0x1AAA168", Offset = "0x1AAA168", Length = "0x1C")]
826 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
827 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
828 [global::System.Runtime.InteropServices.PreserveSig]
829 internal static extern int Stat(ref byte path, out global::Interop.Sys.FileStatus output);
830
831 [global::Cpp2ILInjected.Token(Token = "0x6000026")]
832 [global::Cpp2ILInjected.Address(RVA = "0x1AAA184", Offset = "0x1AAA184", Length = "0x158")]
833 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
834 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
835 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "FileExists", MemberParameters = new object[]
836 {
837 typeof(global::System.ReadOnlySpan<char>),
838 typeof(int),
839 typeof(ref global::Interop.ErrorInfo)
840 }, ReturnType = typeof(bool))]
841 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "Initialize", MemberParameters = new object[]
842 {
843 typeof(ref global::System.IO.Enumeration.FileSystemEntry),
844 typeof(global::Interop.Sys.DirectoryEntry),
845 typeof(global::System.ReadOnlySpan<char>),
846 typeof(global::System.ReadOnlySpan<char>),
847 typeof(global::System.ReadOnlySpan<char>),
848 typeof(global::System.Span<char>)
849 }, ReturnType = typeof(global::System.IO.FileAttributes))]
850 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
851 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Span<byte>) }, ReturnType = typeof(void))]
852 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = "ConvertAndTerminateString", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.Span<byte>))]
853 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
854 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = "Dispose", ReturnType = typeof(void))]
855 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
856 internal static int Stat(global::System.ReadOnlySpan<char> path, out global::Interop.Sys.FileStatus output)
857 {
858 throw null;
859 }
860
861 [global::Cpp2ILInjected.Token(Token = "0x6000027")]
862 [global::Cpp2ILInjected.Address(RVA = "0x1AAA2DC", Offset = "0x1AAA2DC", Length = "0x1C")]
863 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
864 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
865 [global::System.Runtime.InteropServices.PreserveSig]
866 internal static extern int LStat(ref byte path, out global::Interop.Sys.FileStatus output);
867
868 [global::Cpp2ILInjected.Token(Token = "0x6000028")]
869 [global::Cpp2ILInjected.Address(RVA = "0x1AAA2F8", Offset = "0x1AAA2F8", Length = "0x158")]
870 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
871 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
872 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "FileExists", MemberParameters = new object[]
873 {
874 typeof(global::System.ReadOnlySpan<char>),
875 typeof(int),
876 typeof(ref global::Interop.ErrorInfo)
877 }, ReturnType = typeof(bool))]
878 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "Initialize", MemberParameters = new object[]
879 {
880 typeof(ref global::System.IO.Enumeration.FileSystemEntry),
881 typeof(global::Interop.Sys.DirectoryEntry),
882 typeof(global::System.ReadOnlySpan<char>),
883 typeof(global::System.ReadOnlySpan<char>),
884 typeof(global::System.ReadOnlySpan<char>),
885 typeof(global::System.Span<char>)
886 }, ReturnType = typeof(global::System.IO.FileAttributes))]
887 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 4)]
888 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = ".ctor", MemberParameters = new object[] { typeof(global::System.Span<byte>) }, ReturnType = typeof(void))]
889 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = "ConvertAndTerminateString", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.Span<byte>))]
890 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.InteropServices.MemoryMarshal), Member = "GetReference", MemberTypeParameters = new object[] { "T" }, MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = "T&")]
891 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.ValueUtf8Converter), Member = "Dispose", ReturnType = typeof(void))]
892 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 9)]
893 internal static int LStat(global::System.ReadOnlySpan<char> path, out global::Interop.Sys.FileStatus output)
894 {
895 throw null;
896 }
897
898 [global::Cpp2ILInjected.Token(Token = "0x6000029")]
899 [global::Cpp2ILInjected.Address(RVA = "0x1AAA450", Offset = "0x1AAA450", Length = "0x34")]
900 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.FileSystem), Member = "DeleteFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
901 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
902 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
903 [global::System.Runtime.InteropServices.PreserveSig]
904 internal static extern int Unlink(string pathname);
905
906 [global::Cpp2ILInjected.Token(Token = "0x600002A")]
907 [global::Cpp2ILInjected.Address(RVA = "0x1AAA484", Offset = "0x1AAA484", Length = "0x4")]
908 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Number), Member = "DoubleToNumber", MemberParameters = new object[]
909 {
910 typeof(double),
911 typeof(int),
912 typeof(ref global::System.Number.NumberBuffer)
913 }, ReturnType = typeof(void))]
914 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
915 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
916 [MethodImpl(4096)]
917 internal unsafe static extern int DoubleToString(double value, byte* format, byte* buffer, int bufferLength);
918
919 // Note: this type is marked as 'beforefieldinit'.
920 [global::Cpp2ILInjected.Token(Token = "0x600002B")]
921 [global::Cpp2ILInjected.Address(RVA = "0x1AAA488", Offset = "0x1AAA488", Length = "0x54")]
922 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
923 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
924 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
925 static Sys()
926 {
927 throw null;
928 }
929
930 [global::Cpp2ILInjected.Token(Token = "0x4000055")]
931 internal static readonly bool CanSetHiddenFlag;
932
933 [global::Cpp2ILInjected.Token(Token = "0x2000006")]
934 internal enum NodeType
935 {
936 [global::Cpp2ILInjected.Token(Token = "0x4000057")]
938 [global::Cpp2ILInjected.Token(Token = "0x4000058")]
939 DT_FIFO,
940 [global::Cpp2ILInjected.Token(Token = "0x4000059")]
941 DT_CHR,
942 [global::Cpp2ILInjected.Token(Token = "0x400005A")]
943 DT_DIR = 4,
944 [global::Cpp2ILInjected.Token(Token = "0x400005B")]
945 DT_BLK = 6,
946 [global::Cpp2ILInjected.Token(Token = "0x400005C")]
947 DT_REG = 8,
948 [global::Cpp2ILInjected.Token(Token = "0x400005D")]
949 DT_LNK = 10,
950 [global::Cpp2ILInjected.Token(Token = "0x400005E")]
951 DT_SOCK = 12,
952 [global::Cpp2ILInjected.Token(Token = "0x400005F")]
953 DT_WHT = 14
954 }
955
956 [global::Cpp2ILInjected.Token(Token = "0x2000007")]
957 internal struct DirectoryEntry
958 {
959 [global::Cpp2ILInjected.Token(Token = "0x600002C")]
960 [global::Cpp2ILInjected.Address(RVA = "0x1AAA4DC", Offset = "0x1AAA4DC", Length = "0x168")]
961 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
962 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "GetDirectoryEntryFullPath", MemberParameters = new object[]
963 {
964 typeof(ref global::Interop.Sys.DirectoryEntry),
965 typeof(string)
966 }, ReturnType = typeof(string))]
967 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "get_FileName", ReturnType = typeof(global::System.ReadOnlySpan<char>))]
968 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
969 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_UTF8", ReturnType = typeof(global::System.Text.Encoding))]
970 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
971 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<char>), Member = "op_Implicit", MemberParameters = new object[] { typeof(global::System.Span<char>) }, ReturnType = "System.ReadOnlySpan`1<T>")]
972 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
973 internal global::System.ReadOnlySpan<char> GetName(global::System.Span<char> buffer)
974 {
975 throw null;
976 }
977
978 [global::Cpp2ILInjected.Token(Token = "0x4000060")]
979 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
980 internal unsafe byte* Name;
981
982 [global::Cpp2ILInjected.Token(Token = "0x4000061")]
983 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
984 internal int NameLength;
985
986 [global::Cpp2ILInjected.Token(Token = "0x4000062")]
987 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
988 internal global::Interop.Sys.NodeType InodeType;
989 }
990
991 [global::Cpp2ILInjected.Token(Token = "0x2000008")]
992 internal struct FileStatus
993 {
994 [global::Cpp2ILInjected.Token(Token = "0x4000063")]
995 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
996 internal global::Interop.Sys.FileStatusFlags Flags;
997
998 [global::Cpp2ILInjected.Token(Token = "0x4000064")]
999 [global::Cpp2ILInjected.FieldOffset(Offset = "0x4")]
1000 internal int Mode;
1001
1002 [global::Cpp2ILInjected.Token(Token = "0x4000065")]
1003 [global::Cpp2ILInjected.FieldOffset(Offset = "0x8")]
1004 internal uint Uid;
1005
1006 [global::Cpp2ILInjected.Token(Token = "0x4000066")]
1007 [global::Cpp2ILInjected.FieldOffset(Offset = "0xC")]
1008 internal uint Gid;
1009
1010 [global::Cpp2ILInjected.Token(Token = "0x4000067")]
1011 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
1012 internal long Size;
1013
1014 [global::Cpp2ILInjected.Token(Token = "0x4000068")]
1015 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
1016 internal long ATime;
1017
1018 [global::Cpp2ILInjected.Token(Token = "0x4000069")]
1019 [global::Cpp2ILInjected.FieldOffset(Offset = "0x20")]
1020 internal long ATimeNsec;
1021
1022 [global::Cpp2ILInjected.Token(Token = "0x400006A")]
1023 [global::Cpp2ILInjected.FieldOffset(Offset = "0x28")]
1024 internal long MTime;
1025
1026 [global::Cpp2ILInjected.Token(Token = "0x400006B")]
1027 [global::Cpp2ILInjected.FieldOffset(Offset = "0x30")]
1028 internal long MTimeNsec;
1029
1030 [global::Cpp2ILInjected.Token(Token = "0x400006C")]
1031 [global::Cpp2ILInjected.FieldOffset(Offset = "0x38")]
1032 internal long CTime;
1033
1034 [global::Cpp2ILInjected.Token(Token = "0x400006D")]
1035 [global::Cpp2ILInjected.FieldOffset(Offset = "0x40")]
1036 internal long CTimeNsec;
1037
1038 [global::Cpp2ILInjected.Token(Token = "0x400006E")]
1039 [global::Cpp2ILInjected.FieldOffset(Offset = "0x48")]
1040 internal long BirthTime;
1041
1042 [global::Cpp2ILInjected.Token(Token = "0x400006F")]
1043 [global::Cpp2ILInjected.FieldOffset(Offset = "0x50")]
1044 internal long BirthTimeNsec;
1045
1046 [global::Cpp2ILInjected.Token(Token = "0x4000070")]
1047 [global::Cpp2ILInjected.FieldOffset(Offset = "0x58")]
1048 internal long Dev;
1049
1050 [global::Cpp2ILInjected.Token(Token = "0x4000071")]
1051 [global::Cpp2ILInjected.FieldOffset(Offset = "0x60")]
1052 internal long Ino;
1053
1054 [global::Cpp2ILInjected.Token(Token = "0x4000072")]
1055 [global::Cpp2ILInjected.FieldOffset(Offset = "0x68")]
1056 internal uint UserFlags;
1057 }
1058
1059 [global::System.Flags]
1060 [global::Cpp2ILInjected.Token(Token = "0x2000009")]
1061 internal enum FileStatusFlags
1062 {
1063 [global::Cpp2ILInjected.Token(Token = "0x4000074")]
1064 None = 0,
1065 [global::Cpp2ILInjected.Token(Token = "0x4000075")]
1066 HasBirthTime = 1
1067 }
1068
1069 [global::System.Flags]
1070 [global::Cpp2ILInjected.Token(Token = "0x200000A")]
1071 internal enum Permissions
1072 {
1073 [global::Cpp2ILInjected.Token(Token = "0x4000077")]
1074 Mask = 511,
1075 [global::Cpp2ILInjected.Token(Token = "0x4000078")]
1076 S_IRWXU = 448,
1077 [global::Cpp2ILInjected.Token(Token = "0x4000079")]
1078 S_IRUSR = 256,
1079 [global::Cpp2ILInjected.Token(Token = "0x400007A")]
1080 S_IWUSR = 128,
1081 [global::Cpp2ILInjected.Token(Token = "0x400007B")]
1082 S_IXUSR = 64,
1083 [global::Cpp2ILInjected.Token(Token = "0x400007C")]
1084 S_IRWXG = 56,
1085 [global::Cpp2ILInjected.Token(Token = "0x400007D")]
1086 S_IRGRP = 32,
1087 [global::Cpp2ILInjected.Token(Token = "0x400007E")]
1088 S_IWGRP = 16,
1089 [global::Cpp2ILInjected.Token(Token = "0x400007F")]
1090 S_IXGRP = 8,
1091 [global::Cpp2ILInjected.Token(Token = "0x4000080")]
1092 S_IRWXO = 7,
1093 [global::Cpp2ILInjected.Token(Token = "0x4000081")]
1094 S_IROTH = 4,
1095 [global::Cpp2ILInjected.Token(Token = "0x4000082")]
1096 S_IWOTH = 2,
1097 [global::Cpp2ILInjected.Token(Token = "0x4000083")]
1098 S_IXOTH = 1
1099 }
1100 }
1101}
class f__AnonymousType0<< Count > j__TPar
static global::Interop.Error ConvertErrorPlatformToPal(int platformErrno)
static uint GetEUid()
static int MkDir(string path, int mode)
static int Symlink(string target, string linkPath)
static int GetReadDirRBufferSize()
static int ConvertErrorPalToPlatform(global::Interop.Error error)
static int CloseDir(global::System.IntPtr dir)
static unsafe string StrError(int platformErrno)
Definition Interop.cs:543
static int Stat(string path, out global::Interop.Sys.FileStatus output)
static int Stat(global::System.ReadOnlySpan< char > path, out global::Interop.Sys.FileStatus output)
Definition Interop.cs:856
static int ChMod(string path, int mode)
static int LStat(global::System.ReadOnlySpan< char > path, out global::Interop.Sys.FileStatus output)
Definition Interop.cs:893
static unsafe int ReadDirR(global::System.IntPtr dir, byte *buffer, int bufferSize, out global::Interop.Sys.DirectoryEntry outputEntry)
static int LStat(ref byte path, out global::Interop.Sys.FileStatus output)
static Sys()
Definition Interop.cs:925
static uint GetEGid()
static int LStat(string path, out global::Interop.Sys.FileStatus output)
static global::System.IntPtr OpenDir(string path)
static unsafe void GetNonCryptographicallySecureRandomBytes(byte *buffer, int length)
static unsafe int DoubleToString(double value, byte *format, byte *buffer, int bufferLength)
static unsafe byte * StrErrorR(int platformErrno, byte *buffer, int bufferSize)
static int Unlink(string pathname)
static int Stat(ref byte path, out global::Interop.Sys.FileStatus output)
static int Rename(string oldPath, string newPath)
static int CopyFile(Microsoft.Win32.SafeHandles.SafeFileHandle source, Microsoft.Win32.SafeHandles.SafeFileHandle destination)
static readonly bool CanSetHiddenFlag
Definition Interop.cs:931
static global::Interop.ErrorInfo GetLastErrorInfo()
Definition Interop.cs:530
static int LChflagsCanSetHiddenFlag()
static string ReadLink(string path)
Definition Interop.cs:669
static int Link(string source, string link)
static int ReadLink(string path, byte[] buffer, int bufferSize)
static int LChflags(string path, uint flags)
static int CheckIo(int result, string path=null, bool isDirectory=false, global::System.Func< global::Interop.ErrorInfo, global::Interop.ErrorInfo > errorRewriter=null)
Definition Interop.cs:83
static unsafe void GetRandomBytes(byte *buffer, int length)
Definition Interop.cs:200
static global::System.Exception GetIOException(global::Interop.ErrorInfo errorInfo)
Definition Interop.cs:187
static long CheckIo(long result, string path=null, bool isDirectory=false, global::System.Func< global::Interop.ErrorInfo, global::Interop.ErrorInfo > errorRewriter=null)
Definition Interop.cs:57
static void ThrowExceptionForIoErrno(global::Interop.ErrorInfo errorInfo, string path, bool isDirectory, global::System.Func< global::Interop.ErrorInfo, global::Interop.ErrorInfo > errorRewriter)
Definition Interop.cs:33
static unsafe global::System.Exception GetExceptionForIoErrno(global::Interop.ErrorInfo errorInfo, string path=null, bool isDirectory=false)
Definition Interop.cs:165
override string ToString()
Definition Interop.cs:471
unsafe ErrorInfo(int errno)
Definition Interop.cs:390
ErrorInfo(global::Interop.Error error)
Definition Interop.cs:399
string GetErrorMessage()
Definition Interop.cs:453
global::Interop.Error _error
Definition Interop.cs:478
global::Interop.Sys.NodeType InodeType
Definition Interop.cs:988
global::System.ReadOnlySpan< char > GetName(global::System.Span< char > buffer)
Definition Interop.cs:973
global::Interop.Sys.FileStatusFlags Flags
Definition Interop.cs:996