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
FileStatus.cs
Go to the documentation of this file.
1using System;
6
7namespace System.IO
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200054F")]
10 internal struct FileStatus
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x170005D0")]
13 internal bool InitiallyDirectory
14 {
15 [global::System.Runtime.CompilerServices.CompilerGenerated]
16 [global::Cpp2ILInjected.Token(Token = "0x6002873")]
17 [global::Cpp2ILInjected.Address(RVA = "0x1BA4044", Offset = "0x1BA4044", Length = "0x8")]
18 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
19 readonly get
20 {
21 throw null;
22 }
23 [global::System.Runtime.CompilerServices.CompilerGenerated]
24 [global::Cpp2ILInjected.Token(Token = "0x6002874")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1BA404C", Offset = "0x1BA404C", Length = "0xC")]
26 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
27 private set
28 {
29 throw null;
30 }
31 }
32
33 [global::Cpp2ILInjected.Token(Token = "0x6002875")]
34 [global::Cpp2ILInjected.Address(RVA = "0x1BA4058", Offset = "0x1BA4058", Length = "0x14")]
35 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "Initialize", MemberParameters = new object[]
36 {
37 typeof(ref global::System.IO.Enumeration.FileSystemEntry),
38 typeof(global::Interop.Sys.DirectoryEntry),
39 typeof(global::System.ReadOnlySpan<char>),
40 typeof(global::System.ReadOnlySpan<char>),
41 typeof(global::System.ReadOnlySpan<char>),
42 typeof(global::System.Span<char>)
43 }, ReturnType = typeof(FileAttributes))]
44 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
45 internal static void Initialize(ref FileStatus status, bool isDirectory)
46 {
47 throw null;
48 }
49
50 [global::Cpp2ILInjected.Token(Token = "0x6002876")]
51 [global::Cpp2ILInjected.Address(RVA = "0x1BA406C", Offset = "0x1BA406C", Length = "0xC")]
52 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
53 internal void Invalidate()
54 {
55 throw null;
56 }
57
58 [global::Cpp2ILInjected.Token(Token = "0x6002877")]
59 [global::Cpp2ILInjected.Address(RVA = "0x1BA4078", Offset = "0x1BA4078", Length = "0xF0")]
60 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "get_Attributes", ReturnType = typeof(FileAttributes))]
62 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
63 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
64 {
65 typeof(global::System.ReadOnlySpan<char>),
66 typeof(bool)
67 }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "GetEUid", ReturnType = typeof(uint))]
69 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "GetEGid", ReturnType = typeof(uint))]
70 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
71 internal bool IsReadOnly(global::System.ReadOnlySpan<char> path, bool continueOnError = false)
72 {
73 throw null;
74 }
75
76 [global::Cpp2ILInjected.Token(Token = "0x6002878")]
77 [global::Cpp2ILInjected.Address(RVA = "0x1BA4224", Offset = "0x1BA4224", Length = "0x1F8")]
78 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
79 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "SetAttributes", MemberParameters = new object[]
80 {
81 typeof(string),
83 }, ReturnType = typeof(void))]
84 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "set_Attributes", MemberParameters = new object[] { typeof(FileAttributes) }, ReturnType = typeof(void))]
85 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
86 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
87 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
88 {
89 typeof(global::System.ReadOnlySpan<char>),
90 typeof(bool)
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "LChflags", MemberParameters = new object[]
93 {
94 typeof(string),
95 typeof(uint)
96 }, ReturnType = typeof(int))]
97 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "CheckIo", MemberParameters = new object[]
98 {
99 typeof(int),
100 typeof(string),
101 typeof(bool),
103 }, ReturnType = typeof(int))]
104 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "ChMod", MemberParameters = new object[]
105 {
106 typeof(string),
107 typeof(int)
108 }, ReturnType = typeof(int))]
109 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
110 {
111 typeof(string),
112 typeof(string)
113 }, ReturnType = typeof(void))]
114 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemInfo), Member = "ThrowNotFound", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
115 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 12)]
116 public void SetAttributes(string path, FileAttributes attributes)
117 {
118 throw null;
119 }
120
121 [global::Cpp2ILInjected.Token(Token = "0x6002879")]
122 [global::Cpp2ILInjected.Address(RVA = "0x1BA44B0", Offset = "0x1BA44B0", Length = "0x44")]
123 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
124 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
125 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
126 internal bool GetExists(global::System.ReadOnlySpan<char> path)
127 {
128 throw null;
129 }
130
131 [global::Cpp2ILInjected.Token(Token = "0x600287A")]
132 [global::Cpp2ILInjected.Address(RVA = "0x1BA4688", Offset = "0x1BA4688", Length = "0xE4")]
133 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "get_CreationTimeCore", ReturnType = typeof(global::System.DateTimeOffset))]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
137 {
138 typeof(global::System.ReadOnlySpan<char>),
139 typeof(bool)
140 }, ReturnType = typeof(void))]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "FromFileTime", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.DateTimeOffset))]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
143 internal global::System.DateTimeOffset GetCreationTime(global::System.ReadOnlySpan<char> path, bool continueOnError = false)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x600287B")]
149 [global::Cpp2ILInjected.Address(RVA = "0x1BA4820", Offset = "0x1BA4820", Length = "0x9C")]
150 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "get_LastAccessTimeCore", ReturnType = typeof(global::System.DateTimeOffset))]
151 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
152 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
153 {
154 typeof(global::System.ReadOnlySpan<char>),
155 typeof(bool)
156 }, ReturnType = typeof(void))]
157 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "UnixTimeToDateTimeOffset", MemberParameters = new object[]
158 {
159 typeof(long),
160 typeof(long)
161 }, ReturnType = typeof(global::System.DateTimeOffset))]
162 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "FromFileTime", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.DateTimeOffset))]
163 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
164 internal global::System.DateTimeOffset GetLastAccessTime(global::System.ReadOnlySpan<char> path, bool continueOnError = false)
165 {
166 throw null;
167 }
168
169 [global::Cpp2ILInjected.Token(Token = "0x600287C")]
170 [global::Cpp2ILInjected.Address(RVA = "0x1BA48BC", Offset = "0x1BA48BC", Length = "0x9C")]
171 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "get_LastWriteTimeCore", ReturnType = typeof(global::System.DateTimeOffset))]
172 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
173 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
174 {
175 typeof(global::System.ReadOnlySpan<char>),
176 typeof(bool)
177 }, ReturnType = typeof(void))]
178 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "UnixTimeToDateTimeOffset", MemberParameters = new object[]
179 {
180 typeof(long),
181 typeof(long)
182 }, ReturnType = typeof(global::System.DateTimeOffset))]
183 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "FromFileTime", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.DateTimeOffset))]
184 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
185 internal global::System.DateTimeOffset GetLastWriteTime(global::System.ReadOnlySpan<char> path, bool continueOnError = false)
186 {
187 throw null;
188 }
189
190 [global::Cpp2ILInjected.Token(Token = "0x600287D")]
191 [global::Cpp2ILInjected.Address(RVA = "0x1BA476C", Offset = "0x1BA476C", Length = "0xB4")]
192 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
193 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetLastAccessTime", MemberParameters = new object[]
194 {
195 typeof(global::System.ReadOnlySpan<char>),
196 typeof(bool)
197 }, ReturnType = typeof(global::System.DateTimeOffset))]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetLastWriteTime", MemberParameters = new object[]
199 {
200 typeof(global::System.ReadOnlySpan<char>),
201 typeof(bool)
202 }, ReturnType = typeof(global::System.DateTimeOffset))]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
204 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "FromUnixTimeSeconds", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.DateTimeOffset))]
205 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "AddTicks", MemberParameters = new object[] { typeof(long) }, ReturnType = typeof(global::System.DateTimeOffset))]
206 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "ToLocalTime", ReturnType = typeof(global::System.DateTimeOffset))]
207 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
208 private global::System.DateTimeOffset UnixTimeToDateTimeOffset(long seconds, long nanoseconds)
209 {
210 throw null;
211 }
212
213 [global::Cpp2ILInjected.Token(Token = "0x600287E")]
214 [global::Cpp2ILInjected.Address(RVA = "0x1BA44F4", Offset = "0x1BA44F4", Length = "0x194")]
215 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
216 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetExists", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
217 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "EnsureStatInitialized", MemberParameters = new object[]
218 {
219 typeof(global::System.ReadOnlySpan<char>),
220 typeof(bool)
221 }, ReturnType = typeof(void))]
222 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "get_ExistsCore", ReturnType = typeof(bool))]
223 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
224 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "TrimEndingDirectorySeparator", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.ReadOnlySpan<char>))]
225 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "LStat", MemberParameters = new object[]
226 {
227 typeof(global::System.ReadOnlySpan<char>),
228 typeof(ref global::Interop.Sys.FileStatus)
229 }, ReturnType = typeof(int))]
230 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "Stat", MemberParameters = new object[]
231 {
232 typeof(global::System.ReadOnlySpan<char>),
233 typeof(ref global::Interop.Sys.FileStatus)
234 }, ReturnType = typeof(int))]
235 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.Sys), Member = "GetLastErrorInfo", ReturnType = typeof(global::Interop.ErrorInfo))]
236 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = "get_RawErrno", ReturnType = typeof(int))]
237 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
238 public void Refresh(global::System.ReadOnlySpan<char> path)
239 {
240 throw null;
241 }
242
243 [global::Cpp2ILInjected.Token(Token = "0x600287F")]
244 [global::Cpp2ILInjected.Address(RVA = "0x1BA4168", Offset = "0x1BA4168", Length = "0xBC")]
245 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "IsReadOnly", MemberParameters = new object[]
246 {
247 typeof(global::System.ReadOnlySpan<char>),
248 typeof(bool)
249 }, ReturnType = typeof(bool))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "SetAttributes", MemberParameters = new object[]
251 {
252 typeof(string),
253 typeof(FileAttributes)
254 }, ReturnType = typeof(void))]
255 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetCreationTime", MemberParameters = new object[]
256 {
257 typeof(global::System.ReadOnlySpan<char>),
258 typeof(bool)
259 }, ReturnType = typeof(global::System.DateTimeOffset))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetLastAccessTime", MemberParameters = new object[]
261 {
262 typeof(global::System.ReadOnlySpan<char>),
263 typeof(bool)
264 }, ReturnType = typeof(global::System.DateTimeOffset))]
265 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "GetLastWriteTime", MemberParameters = new object[]
266 {
267 typeof(global::System.ReadOnlySpan<char>),
268 typeof(bool)
269 }, ReturnType = typeof(global::System.DateTimeOffset))]
270 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
271 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop.ErrorInfo), Member = ".ctor", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(void))]
272 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "CreateString", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(string))]
273 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::Interop), Member = "GetExceptionForIoErrno", MemberParameters = new object[]
274 {
275 typeof(global::Interop.ErrorInfo),
276 typeof(string),
277 typeof(bool)
278 }, ReturnType = typeof(global::System.Exception))]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
280 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
281 internal void EnsureStatInitialized(global::System.ReadOnlySpan<char> path, bool continueOnError = false)
282 {
283 throw null;
284 }
285
286 [global::Cpp2ILInjected.Token(Token = "0x40015CA")]
287 [global::Cpp2ILInjected.FieldOffset(Offset = "0x0")]
288 private global::Interop.Sys.FileStatus _fileStatus;
289
290 [global::Cpp2ILInjected.Token(Token = "0x40015CB")]
291 [global::Cpp2ILInjected.FieldOffset(Offset = "0x70")]
293
294 [global::System.Runtime.CompilerServices.CompilerGenerated]
295 [global::Cpp2ILInjected.Token(Token = "0x40015CC")]
296 [global::Cpp2ILInjected.FieldOffset(Offset = "0x74")]
297 private bool <InitiallyDirectory>k__BackingField;
298
299 [global::Cpp2ILInjected.Token(Token = "0x40015CD")]
300 [global::Cpp2ILInjected.FieldOffset(Offset = "0x75")]
301 internal bool _isDirectory;
302
303 [global::Cpp2ILInjected.Token(Token = "0x40015CE")]
304 [global::Cpp2ILInjected.FieldOffset(Offset = "0x76")]
305 private bool _exists;
306 }
307}
class f__AnonymousType0<< Count > j__TPar
DateTimeOffset(long ticks, global::System.TimeSpan offset)
void Refresh(global::System.ReadOnlySpan< char > path)
global::System.DateTimeOffset UnixTimeToDateTimeOffset(long seconds, long nanoseconds)
void EnsureStatInitialized(global::System.ReadOnlySpan< char > path, bool continueOnError=false)
static void Initialize(ref FileStatus status, bool isDirectory)
Definition FileStatus.cs:45
global::System.DateTimeOffset GetLastAccessTime(global::System.ReadOnlySpan< char > path, bool continueOnError=false)
void SetAttributes(string path, FileAttributes attributes)
global::Interop.Sys.FileStatus _fileStatus
bool GetExists(global::System.ReadOnlySpan< char > path)
bool IsReadOnly(global::System.ReadOnlySpan< char > path, bool continueOnError=false)
Definition FileStatus.cs:71
global::System.DateTimeOffset GetCreationTime(global::System.ReadOnlySpan< char > path, bool continueOnError=false)
bool< InitiallyDirectory > k__BackingField
global::System.DateTimeOffset GetLastWriteTime(global::System.ReadOnlySpan< char > path, bool continueOnError=false)