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
File.cs
Go to the documentation of this file.
1using System;
6using System.Text;
11
12namespace System.IO
13{
14 [global::Cpp2ILInjected.Token(Token = "0x200054D")]
15 public static class File
16 {
17 [global::Cpp2ILInjected.Token(Token = "0x6002859")]
18 [global::Cpp2ILInjected.Address(RVA = "0x1BA21A4", Offset = "0x1BA21A4", Length = "0xBC")]
19 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.KeyPairPersistence), Member = "Load", ReturnType = typeof(bool))]
20 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
21 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Text.Encoding), Member = "get_UTF8", ReturnType = typeof(global::System.Text.Encoding))]
22 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(StreamReader), Member = ".ctor", MemberParameters = new object[]
23 {
24 typeof(string),
25 typeof(global::System.Text.Encoding),
26 typeof(bool),
27 typeof(int)
28 }, ReturnType = typeof(void))]
29 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
30 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
31 public static StreamReader OpenText(string path)
32 {
33 throw null;
34 }
35
36 [global::Cpp2ILInjected.Token(Token = "0x600285A")]
37 [global::Cpp2ILInjected.Address(RVA = "0x1BA2260", Offset = "0x1BA2260", Length = "0x8")]
38 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.OldSaveSynchronise", Member = "CopyOldSaves", ReturnType = typeof(void))]
39 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
40 public static void Copy(string sourceFileName, string destFileName)
41 {
42 throw null;
43 }
44
45 [global::Cpp2ILInjected.Token(Token = "0x600285B")]
46 [global::Cpp2ILInjected.Address(RVA = "0x1BA2268", Offset = "0x1BA2268", Length = "0x194")]
47 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
48 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
49 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
50 {
51 typeof(string),
52 typeof(string)
53 }, ReturnType = typeof(void))]
54 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
55 {
56 typeof(string),
57 typeof(string)
58 }, ReturnType = typeof(void))]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 17)]
60 public static void Copy(string sourceFileName, string destFileName, bool overwrite)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x600285C")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1BA2824", Offset = "0x1BA2824", Length = "0x8")]
67 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.IO.ConsoleOutputMirror", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.PKCS12", Member = "SaveToFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
69 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Import", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
70 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Import", MemberParameters = new object[] { "Mono.Security.X509.X509Crl" }, ReturnType = typeof(void))]
71 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "ImportNewFormat", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
73 public static FileStream Create(string path)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x600285D")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1BA282C", Offset = "0x1BA282C", Length = "0x78")]
80 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
81 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
82 {
83 typeof(string),
87 typeof(int)
88 }, ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
90 public static FileStream Create(string path, int bufferSize)
91 {
92 throw null;
93 }
94
95 [global::Cpp2ILInjected.Token(Token = "0x600285E")]
96 [global::Cpp2ILInjected.Address(RVA = "0x1BA28A4", Offset = "0x1BA28A4", Length = "0xA8")]
97 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
98 {
99 typeof(string),
100 "System.String[]"
101 }, ReturnType = typeof(void))]
102 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
103 {
104 typeof(string),
105 "System.String[]",
106 typeof(global::System.Text.UTF8Encoding)
107 }, ReturnType = typeof(void))]
108 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DefaultFileAPI", Member = "Delete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.iOS.CloudSocialModule", Member = "Delete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
110 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.KeyPairPersistence), Member = "Remove", ReturnType = typeof(void))]
111 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.WebClient", Member = "DownloadFile", MemberParameters = new object[]
112 {
113 "System.Uri",
114 typeof(string)
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "ReallyDelete", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "InternalExtract", MemberParameters = new object[]
118 {
119 typeof(string),
120 typeof(Stream),
121 typeof(string)
122 }, ReturnType = typeof(void))]
123 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "DeleteFileWithRetry", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
124 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "Save", ReturnType = typeof(void))]
125 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "RemoveTempFile", ReturnType = typeof(void))]
126 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "_SetWriteStream", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "TruncateBackward", MemberParameters = new object[]
128 {
129 typeof(uint),
130 typeof(long)
131 }, ReturnType = typeof(long))]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Remove", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Remove", MemberParameters = new object[] { "Mono.Security.X509.X509Crl" }, ReturnType = typeof(void))]
134 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "RemoveNewFormat", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
135 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 19)]
136 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
137 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 7)]
139 public static void Delete(string path)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x600285F")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1B99AD0", Offset = "0x1B99AD0", Length = "0x1B0")]
146 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
147 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
148 {
149 typeof(string),
150 "System.String[]"
151 }, ReturnType = typeof(void))]
152 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
153 {
154 typeof(string),
155 "System.String[]",
156 typeof(global::System.Text.UTF8Encoding)
157 }, ReturnType = typeof(void))]
158 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DefaultFileAPI", Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
159 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "XNAUnityRunner", Member = "GetNextScreenshotFilename", ReturnType = typeof(string))]
160 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.iOS.CloudSocialModule", Member = "HasFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
161 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.ResourcePack", Member = ".ctor", MemberParameters = new object[]
162 {
163 typeof(global::System.IServiceProvider),
164 typeof(string)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.ResourcePack", Member = "HasFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
167 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.Content.Sources.FileSystemContentSource", Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
168 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.KeyPairPersistence), Member = "Load", ReturnType = typeof(bool))]
169 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "TryLoadTzFile", MemberParameters = new object[]
170 {
171 typeof(string),
172 typeof(ref byte[]),
173 typeof(ref string)
174 }, ReturnType = typeof(bool))]
175 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Environment), Member = "ReadXdgUserDir", MemberParameters = new object[]
176 {
177 typeof(string),
178 typeof(string),
179 typeof(string),
180 typeof(string)
181 }, ReturnType = typeof(string))]
182 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoDriver), Member = "TryTermInfoDir", MemberParameters = new object[]
183 {
184 typeof(string),
185 typeof(string)
186 }, ReturnType = typeof(string))]
187 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Resources.FileBasedResourceGroveler), Member = "FindResourceFile", MemberParameters = new object[]
188 {
189 typeof(global::System.Globalization.CultureInfo),
190 typeof(string)
191 }, ReturnType = typeof(string))]
192 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Reflection.Assembly), Member = "InternalGetSatelliteAssembly", MemberParameters = new object[]
193 {
194 typeof(string),
195 typeof(global::System.Globalization.CultureInfo),
196 typeof(global::System.Version),
197 typeof(bool),
198 typeof(ref global::System.Threading.StackCrawlMark)
199 }, ReturnType = typeof(global::System.Reflection.RuntimeAssembly))]
200 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "GetIsCaseSensitive", ReturnType = typeof(bool))]
201 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.HttpListener", Member = "LoadCertificateAndKey", MemberParameters = new object[]
202 {
203 "System.Net.IPAddress",
204 typeof(int)
205 }, ReturnType = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate))]
206 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.ComponentModel.LicFileLicenseProvider", Member = "GetLicense", MemberParameters = new object[]
207 {
208 "System.ComponentModel.LicenseContext",
209 typeof(global::System.Type),
210 typeof(object),
211 typeof(bool)
212 }, ReturnType = "System.ComponentModel.License")]
213 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.SharedUtilities", Member = "GetFileLength", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(long))]
214 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "Create", MemberParameters = new object[]
215 {
216 typeof(string),
217 "Ionic.Zip.ZipEntrySource",
218 typeof(object),
219 typeof(object)
220 }, ReturnType = "Ionic.Zip.ZipEntry")]
221 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "InternalExtract", MemberParameters = new object[]
222 {
223 typeof(string),
224 typeof(Stream),
225 typeof(string)
226 }, ReturnType = typeof(void))]
227 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "AddItem", MemberParameters = new object[]
228 {
229 typeof(string),
230 typeof(string)
231 }, ReturnType = "Ionic.Zip.ZipEntry")]
232 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "UpdateItem", MemberParameters = new object[]
233 {
234 typeof(string),
235 typeof(string)
236 }, ReturnType = typeof(void))]
237 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "_InitInstance", MemberParameters = new object[]
238 {
239 typeof(string),
240 typeof(TextWriter)
241 }, ReturnType = typeof(void))]
242 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "IsZipFile", MemberParameters = new object[]
243 {
244 typeof(string),
245 typeof(bool)
246 }, ReturnType = typeof(bool))]
247 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "Save", ReturnType = typeof(void))]
248 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "RemoveTempFile", ReturnType = typeof(void))]
249 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "Save", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
250 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "_SetWriteStream", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(void))]
251 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "TruncateBackward", MemberParameters = new object[]
252 {
253 typeof(uint),
254 typeof(long)
255 }, ReturnType = typeof(long))]
256 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Import", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
257 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Import", MemberParameters = new object[] { "Mono.Security.X509.X509Crl" }, ReturnType = typeof(void))]
258 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Remove", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
259 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Remove", MemberParameters = new object[] { "Mono.Security.X509.X509Crl" }, ReturnType = typeof(void))]
260 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "ImportNewFormat", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
261 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "RemoveNewFormat", MemberParameters = new object[] { "Mono.Security.X509.X509Certificate" }, ReturnType = typeof(void))]
262 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 46)]
263 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
264 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "get_Chars", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(char))]
265 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
266 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "FileExists", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
267 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 18)]
268 public static bool Exists(string path)
269 {
270 throw null;
271 }
272
273 [global::Cpp2ILInjected.Token(Token = "0x6002860")]
274 [global::Cpp2ILInjected.Address(RVA = "0x1BA2B74", Offset = "0x1BA2B74", Length = "0x14")]
275 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
276 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Mono.Security.Cryptography.KeyPairPersistence), Member = "Save", ReturnType = typeof(void))]
277 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
278 public static FileStream Open(string path, FileMode mode)
279 {
280 throw null;
281 }
282
283 [global::Cpp2ILInjected.Token(Token = "0x6002861")]
284 [global::Cpp2ILInjected.Address(RVA = "0x1BA2B88", Offset = "0x1BA2B88", Length = "0x84")]
285 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.SharedUtilities", Member = "GetFileLength", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(long))]
286 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "FigureCrc32", ReturnType = typeof(int))]
287 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "SetInputAndFigureFileLength", MemberParameters = new object[] { typeof(ref Stream) }, ReturnType = typeof(long))]
288 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "get_ReadStream", ReturnType = typeof(Stream))]
289 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "IsZipFile", MemberParameters = new object[]
290 {
291 typeof(string),
292 typeof(bool)
293 }, ReturnType = typeof(bool))]
294 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipInputStream", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
295 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipOutputStream", Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
296 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "ForUpdate", MemberParameters = new object[]
297 {
298 typeof(string),
299 typeof(uint)
300 }, ReturnType = typeof(Stream))]
301 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Crl", Member = "CreateFromFile", MemberParameters = new object[] { typeof(string) }, ReturnType = "Mono.Security.X509.X509Crl")]
302 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.Authenticode.PrivateKey", Member = "CreateFromFile", MemberParameters = new object[]
303 {
304 typeof(string),
305 typeof(string)
306 }, ReturnType = "Mono.Security.Authenticode.PrivateKey")]
307 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 10)]
308 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
309 {
310 typeof(string),
311 typeof(FileMode),
312 typeof(FileAccess),
313 typeof(FileShare)
314 }, ReturnType = typeof(void))]
315 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
316 public static FileStream Open(string path, FileMode mode, FileAccess access, FileShare share)
317 {
318 throw null;
319 }
320
321 [global::Cpp2ILInjected.Token(Token = "0x6002862")]
322 [global::Cpp2ILInjected.Address(RVA = "0x1BA2C0C", Offset = "0x1BA2C0C", Length = "0x7C")]
323 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile_OldMobile", Member = "GetAllMetadata", MemberParameters = new object[]
324 {
325 typeof(string),
326 typeof(bool)
327 }, ReturnType = "Terraria.IO.WorldFileData")]
328 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile", Member = "GetAllMetadata", MemberParameters = new object[]
329 {
330 typeof(string),
331 typeof(bool)
332 }, ReturnType = "Terraria.IO.WorldFileData")]
333 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFile", Member = "LoadWorld", MemberParameters = new object[] { typeof(bool) }, ReturnType = typeof(void))]
334 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.WorldFileData", Member = "FromInvalidWorld", MemberParameters = new object[]
335 {
336 typeof(string),
337 typeof(bool)
338 }, ReturnType = "Terraria.IO.WorldFileData")]
339 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "Create", MemberParameters = new object[]
340 {
341 typeof(string),
342 "Ionic.Zip.ZipEntrySource",
343 typeof(object),
344 typeof(object)
345 }, ReturnType = "Ionic.Zip.ZipEntry")]
346 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
347 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
348 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "GetCreationTime", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.DateTimeOffset))]
349 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "get_LocalDateTime", ReturnType = typeof(global::System.DateTime))]
350 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
351 public static global::System.DateTime GetCreationTime(string path)
352 {
353 throw null;
354 }
355
356 [global::Cpp2ILInjected.Token(Token = "0x6002863")]
357 [global::Cpp2ILInjected.Address(RVA = "0x1BA2D2C", Offset = "0x1BA2D2C", Length = "0x7C")]
358 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "Create", MemberParameters = new object[]
359 {
360 typeof(string),
361 "Ionic.Zip.ZipEntrySource",
362 typeof(object),
363 typeof(object)
364 }, ReturnType = "Ionic.Zip.ZipEntry")]
365 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
366 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
367 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "GetLastAccessTime", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.DateTimeOffset))]
368 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "get_LocalDateTime", ReturnType = typeof(global::System.DateTime))]
369 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
370 public static global::System.DateTime GetLastAccessTime(string path)
371 {
372 throw null;
373 }
374
375 [global::Cpp2ILInjected.Token(Token = "0x6002864")]
376 [global::Cpp2ILInjected.Address(RVA = "0x1BA2E4C", Offset = "0x1BA2E4C", Length = "0x7C")]
377 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "Create", MemberParameters = new object[]
378 {
379 typeof(string),
380 "Ionic.Zip.ZipEntrySource",
381 typeof(object),
382 typeof(object)
383 }, ReturnType = "Ionic.Zip.ZipEntry")]
384 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
385 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
386 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "GetLastWriteTime", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(global::System.DateTimeOffset))]
387 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.DateTimeOffset), Member = "get_LocalDateTime", ReturnType = typeof(global::System.DateTime))]
388 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
389 public static global::System.DateTime GetLastWriteTime(string path)
390 {
391 throw null;
392 }
393
394 [global::Cpp2ILInjected.Token(Token = "0x6002865")]
395 [global::Cpp2ILInjected.Address(RVA = "0x1BA2F6C", Offset = "0x1BA2F6C", Length = "0x108")]
396 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
397 {
398 typeof(string),
399 "System.String[]"
400 }, ReturnType = typeof(void))]
401 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = ".ctor", MemberParameters = new object[]
402 {
403 typeof(string),
404 "System.String[]",
405 typeof(global::System.Text.UTF8Encoding)
406 }, ReturnType = typeof(void))]
407 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DefaultFileAPI", Member = "SetAttributes", MemberParameters = new object[]
408 {
409 typeof(string),
410 typeof(FileAttributes)
411 }, ReturnType = typeof(void))]
412 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
413 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
414 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "SetAttributes", MemberParameters = new object[]
415 {
416 typeof(string),
417 typeof(FileAttributes)
418 }, ReturnType = typeof(void))]
419 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Validate", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
420 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "SetFileAttributes", MemberParameters = new object[]
421 {
422 typeof(string),
423 typeof(FileAttributes),
424 typeof(ref MonoIOError)
425 }, ReturnType = typeof(bool))]
426 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(MonoIO), Member = "GetException", MemberParameters = new object[]
427 {
428 typeof(string),
429 typeof(MonoIOError)
430 }, ReturnType = typeof(global::System.Exception))]
431 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 8)]
432 public static void SetAttributes(string path, FileAttributes fileAttributes)
433 {
434 throw null;
435 }
436
437 [global::Cpp2ILInjected.Token(Token = "0x6002866")]
438 [global::Cpp2ILInjected.Address(RVA = "0x1BA30EC", Offset = "0x1BA30EC", Length = "0x68")]
439 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.ResourcePack", Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
440 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.Content.Sources.FileSystemContentSource", Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
441 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "ReLogic.Content.Sources.XnaDirectContentSource", Member = "OpenStream", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(Stream))]
442 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TermInfoReader), Member = ".ctor", MemberParameters = new object[]
443 {
444 typeof(string),
445 typeof(string)
446 }, ReturnType = typeof(void))]
447 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "System.Net.NetworkInformation.LinuxNetworkInterface", Member = "ReadLine", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
448 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "_SetReadStream", ReturnType = typeof(void))]
449 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.PKCS12", Member = "LoadFile", MemberParameters = new object[] { typeof(string) }, ReturnType = "System.Byte[]")]
450 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Mono.Security.X509.X509Store", Member = "Load", MemberParameters = new object[] { typeof(string) }, ReturnType = "System.Byte[]")]
451 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
452 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
453 {
454 typeof(string),
455 typeof(FileMode),
456 typeof(FileAccess),
457 typeof(FileShare)
458 }, ReturnType = typeof(void))]
459 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
460 public static FileStream OpenRead(string path)
461 {
462 throw null;
463 }
464
465 [global::Cpp2ILInjected.Token(Token = "0x6002867")]
466 [global::Cpp2ILInjected.Address(RVA = "0x1BA3154", Offset = "0x1BA3154", Length = "0x2C4")]
467 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
468 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVReader", Member = "LoadFromFile", MemberParameters = new object[] { typeof(string) }, ReturnType = "CSVReader")]
469 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DefaultFileAPI", Member = "ReadFile", MemberParameters = new object[] { typeof(string) }, ReturnType = "System.Byte[]")]
470 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.iOS.CloudSocialModule", Member = "Read", MemberParameters = new object[]
471 {
472 typeof(string),
473 "System.Byte[]",
474 typeof(int)
475 }, ReturnType = typeof(void))]
476 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.iOS.CloudSocialModule", Member = "GetFileSize", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(int))]
477 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.TimeZoneInfo), Member = "TryLoadTzFile", MemberParameters = new object[]
478 {
479 typeof(string),
480 typeof(ref byte[]),
481 typeof(ref string)
482 }, ReturnType = typeof(bool))]
483 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.Security.Cryptography.X509Certificates.X509Certificate), Member = ".ctor", MemberParameters = new object[]
484 {
485 typeof(string),
486 typeof(string),
487 typeof(global::System.Security.Cryptography.X509Certificates.X509KeyStorageFlags)
488 }, ReturnType = typeof(void))]
489 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
490 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
491 {
492 typeof(string),
493 typeof(FileMode),
494 typeof(FileAccess),
495 typeof(FileShare),
496 typeof(int)
497 }, ReturnType = typeof(void))]
498 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "ReadAllBytesUnknownLength", MemberParameters = new object[] { typeof(FileStream) }, ReturnType = typeof(byte[]))]
499 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Error), Member = "GetEndOfFile", ReturnType = typeof(global::System.Exception))]
500 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.SystemException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
501 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 20)]
502 public static byte[] ReadAllBytes(string path)
503 {
504 throw null;
505 }
506
507 [global::Cpp2ILInjected.Token(Token = "0x6002868")]
508 [global::Cpp2ILInjected.Address(RVA = "0x1BA3418", Offset = "0x1BA3418", Length = "0x44C")]
509 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
510 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(File), Member = "ReadAllBytes", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(byte[]))]
511 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
512 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Math), Member = "Max", MemberParameters = new object[]
513 {
514 typeof(int),
515 typeof(int)
516 }, ReturnType = typeof(int))]
517 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "op_Implicit", MemberParameters = new object[] { "T[]" }, ReturnType = "System.Span`1<T>")]
518 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Span<>), Member = "CopyTo", MemberParameters = new object[] { "System.Span`1<T>" }, ReturnType = typeof(void))]
519 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
520 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 35)]
521 private static byte[] ReadAllBytesUnknownLength(FileStream fs)
522 {
523 throw null;
524 }
525
526 [global::Cpp2ILInjected.Token(Token = "0x6002869")]
527 [global::Cpp2ILInjected.Address(RVA = "0x1BA3864", Offset = "0x1BA3864", Length = "0xFC")]
528 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "CSVWriter", Member = "CloseStreams", ReturnType = typeof(void))]
529 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "DefaultFileAPI", Member = "WriteFile", MemberParameters = new object[]
530 {
531 typeof(string),
532 "System.Byte[]"
533 }, ReturnType = typeof(void))]
534 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.Social.iOS.CloudSocialModule", Member = "Write", MemberParameters = new object[]
535 {
536 typeof(string),
537 "System.Byte[]",
538 typeof(int)
539 }, ReturnType = typeof(bool))]
540 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
541 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
542 {
543 typeof(string),
544 typeof(string)
545 }, ReturnType = typeof(void))]
546 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
547 {
548 typeof(string),
549 typeof(string)
550 }, ReturnType = typeof(void))]
551 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
552 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 13)]
553 public static void WriteAllBytes(string path, byte[] bytes)
554 {
555 throw null;
556 }
557
558 [global::Cpp2ILInjected.Token(Token = "0x600286A")]
559 [global::Cpp2ILInjected.Address(RVA = "0x1BA3960", Offset = "0x1BA3960", Length = "0x1B4")]
560 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
561 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
562 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
563 {
564 typeof(string),
568 }, ReturnType = typeof(void))]
569 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 11)]
570 private static void InternalWriteAllBytes(string path, byte[] bytes)
571 {
572 throw null;
573 }
574
575 [global::Cpp2ILInjected.Token(Token = "0x600286B")]
576 [global::Cpp2ILInjected.Address(RVA = "0x1BA3B14", Offset = "0x1BA3B14", Length = "0x228")]
577 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Terraria.IO.OldSaveSynchronise", Member = "CopyOldSaves", ReturnType = typeof(void))]
578 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipEntry", Member = "InternalExtract", MemberParameters = new object[]
579 {
580 typeof(string),
581 typeof(Stream),
582 typeof(string)
583 }, ReturnType = typeof(void))]
584 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipFile", Member = "Save", ReturnType = typeof(void))]
585 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "_SetWriteStream", MemberParameters = new object[] { typeof(uint) }, ReturnType = typeof(void))]
586 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = "Ionic.Zip.ZipSegmentedStream", Member = "TruncateBackward", MemberParameters = new object[]
587 {
588 typeof(uint),
589 typeof(long)
590 }, ReturnType = typeof(long))]
591 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 8)]
592 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetFullPath", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
593 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
594 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystem), Member = "FileExists", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
595 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentNullException), Member = ".ctor", MemberParameters = new object[]
596 {
597 typeof(string),
598 typeof(string)
599 }, ReturnType = typeof(void))]
600 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
601 {
602 typeof(string),
603 typeof(string)
604 }, ReturnType = typeof(void))]
605 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::SR), Member = "Format", MemberParameters = new object[]
606 {
607 typeof(string),
608 typeof(object)
609 }, ReturnType = typeof(string))]
610 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileNotFoundException), Member = ".ctor", MemberParameters = new object[]
611 {
612 typeof(string),
613 typeof(string)
614 }, ReturnType = typeof(void))]
615 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 23)]
616 public static void Move(string sourceFileName, string destFileName)
617 {
618 throw null;
619 }
620 }
621}
class f__AnonymousType0<< Count > j__TPar
static void SetAttributes(string path, FileAttributes fileAttributes)
Definition File.cs:432
static FileStream Create(string path)
Definition File.cs:73
static global::System.DateTime GetLastAccessTime(string path)
Definition File.cs:370
static FileStream Open(string path, FileMode mode, FileAccess access, FileShare share)
Definition File.cs:316
static FileStream OpenRead(string path)
Definition File.cs:460
static byte[] ReadAllBytesUnknownLength(FileStream fs)
Definition File.cs:521
static global::System.DateTime GetLastWriteTime(string path)
Definition File.cs:389
static void InternalWriteAllBytes(string path, byte[] bytes)
Definition File.cs:570
static global::System.DateTime GetCreationTime(string path)
Definition File.cs:351
static FileStream Open(string path, FileMode mode)
Definition File.cs:278
static StreamReader OpenText(string path)
Definition File.cs:31
static void Copy(string sourceFileName, string destFileName)
Definition File.cs:40
static bool Exists(string path)
Definition File.cs:268
static FileStream Create(string path, int bufferSize)
Definition File.cs:90
static byte[] ReadAllBytes(string path)
Definition File.cs:502
static void Copy(string sourceFileName, string destFileName, bool overwrite)
Definition File.cs:60
static void Move(string sourceFileName, string destFileName)
Definition File.cs:616
static void WriteAllBytes(string path, byte[] bytes)
Definition File.cs:553
static void Delete(string path)
Definition File.cs:139
DateTime(long ticks)
Definition DateTime.cs:113