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
FileSystemEnumerableFactory.cs
Go to the documentation of this file.
1using System;
6
8{
9 [global::Cpp2ILInjected.Token(Token = "0x200057A")]
10 internal static class FileSystemEnumerableFactory
11 {
12 [global::Cpp2ILInjected.Token(Token = "0x6002A23")]
13 [global::Cpp2ILInjected.Address(RVA = "0x1BD3110", Offset = "0x1BD3110", Length = "0x434")]
14 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InternalEnumeratePaths", MemberParameters = new object[]
16 {
17 typeof(string),
18 typeof(string),
21 }, ReturnType = typeof(global::System.Collections.Generic.IEnumerable<string>))]
22 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
23 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "IsPathRooted", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
24 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
25 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetDirectoryName", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.ReadOnlySpan<char>))]
26 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Join", MemberParameters = new object[]
27 {
28 typeof(global::System.ReadOnlySpan<char>),
29 typeof(global::System.ReadOnlySpan<char>)
30 }, ReturnType = typeof(string))]
31 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[] { typeof(int) }, ReturnType = typeof(string))]
32 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IsNullOrEmpty", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
33 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "op_Equality", MemberParameters = new object[]
34 {
35 typeof(string),
36 typeof(string)
37 }, ReturnType = typeof(bool))]
38 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "IndexOfAny", MemberParameters = new object[] { typeof(char[]) }, ReturnType = typeof(int))]
39 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Replace", MemberParameters = new object[]
40 {
41 typeof(string),
42 typeof(string)
43 }, ReturnType = typeof(string))]
44 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemName), Member = "TranslateWin32Expression", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
45 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentException), Member = ".ctor", MemberParameters = new object[]
46 {
47 typeof(string),
48 typeof(string)
49 }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
51 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 32)]
52 internal static void NormalizeInputs(ref string directory, ref string expression, EnumerationOptions options)
53 {
54 throw null;
55 }
56
57 [global::Cpp2ILInjected.Token(Token = "0x6002A24")]
58 [global::Cpp2ILInjected.Address(RVA = "0x1BD38B4", Offset = "0x1BD38B4", Length = "0x218")]
59 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
60 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemEnumerableFactory.<>c__DisplayClass3_0), Member = "<UserFiles>b__1", MemberParameters = new object[] { typeof(ref FileSystemEntry) }, ReturnType = typeof(bool))]
61 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemEnumerableFactory.<>c__DisplayClass4_0), Member = "<UserDirectories>b__1", MemberParameters = new object[] { typeof(ref FileSystemEntry) }, ReturnType = typeof(bool))]
62 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemEnumerableFactory.<>c__DisplayClass5_0), Member = "<UserEntries>b__1", MemberParameters = new object[] { typeof(ref FileSystemEntry) }, ReturnType = typeof(bool))]
63 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
64 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
65 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemName), Member = "MatchesWin32Expression", MemberParameters = new object[]
66 {
67 typeof(global::System.ReadOnlySpan<char>),
68 typeof(global::System.ReadOnlySpan<char>),
69 typeof(bool)
70 }, ReturnType = typeof(bool))]
71 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ArgumentOutOfRangeException), Member = ".ctor", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
72 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 14)]
73 private static bool MatchesPattern(string expression, global::System.ReadOnlySpan<char> name, EnumerationOptions options)
74 {
75 throw null;
76 }
77
78 [global::Cpp2ILInjected.Token(Token = "0x6002A25")]
79 [global::Cpp2ILInjected.Address(RVA = "0x1BD3BDC", Offset = "0x1BD3BDC", Length = "0x1C0")]
80 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InternalEnumeratePaths", MemberParameters = new object[]
81 {
82 typeof(string),
83 typeof(string),
86 }, ReturnType = typeof(global::System.Collections.Generic.IEnumerable<string>))]
87 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
88 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
89 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindTransform), Member = ".ctor", MemberParameters = new object[]
90 {
91 typeof(object),
92 typeof(global::System.IntPtr)
93 }, ReturnType = typeof(void))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>), Member = ".ctor", MemberParameters = new object[]
95 {
96 typeof(string),
97 "FindTransform<TResult>",
98 typeof(EnumerationOptions)
99 }, ReturnType = typeof(void))]
100 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindPredicate), Member = ".ctor", MemberParameters = new object[]
101 {
102 typeof(object),
103 typeof(global::System.IntPtr)
104 }, ReturnType = typeof(void))]
105 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
106 internal static global::System.Collections.Generic.IEnumerable<string> UserFiles(string directory, string expression, EnumerationOptions options)
107 {
108 throw null;
109 }
110
111 [global::Cpp2ILInjected.Token(Token = "0x6002A26")]
112 [global::Cpp2ILInjected.Address(RVA = "0x1BD3DA4", Offset = "0x1BD3DA4", Length = "0x1C0")]
113 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InternalEnumeratePaths", MemberParameters = new object[]
114 {
115 typeof(string),
116 typeof(string),
119 }, ReturnType = typeof(global::System.Collections.Generic.IEnumerable<string>))]
120 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindTransform), Member = ".ctor", MemberParameters = new object[]
123 {
124 typeof(object),
125 typeof(global::System.IntPtr)
126 }, ReturnType = typeof(void))]
127 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>), Member = ".ctor", MemberParameters = new object[]
128 {
129 typeof(string),
130 "FindTransform<TResult>",
131 typeof(EnumerationOptions)
132 }, ReturnType = typeof(void))]
133 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindPredicate), Member = ".ctor", MemberParameters = new object[]
134 {
135 typeof(object),
136 typeof(global::System.IntPtr)
137 }, ReturnType = typeof(void))]
138 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
139 internal static global::System.Collections.Generic.IEnumerable<string> UserDirectories(string directory, string expression, EnumerationOptions options)
140 {
141 throw null;
142 }
143
144 [global::Cpp2ILInjected.Token(Token = "0x6002A27")]
145 [global::Cpp2ILInjected.Address(RVA = "0x1BD3F6C", Offset = "0x1BD3F6C", Length = "0x1C0")]
146 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InternalEnumeratePaths", MemberParameters = new object[]
147 {
148 typeof(string),
149 typeof(string),
152 }, ReturnType = typeof(global::System.Collections.Generic.IEnumerable<string>))]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
154 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
155 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindTransform), Member = ".ctor", MemberParameters = new object[]
156 {
157 typeof(object),
158 typeof(global::System.IntPtr)
159 }, ReturnType = typeof(void))]
160 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>), Member = ".ctor", MemberParameters = new object[]
161 {
162 typeof(string),
163 "FindTransform<TResult>",
164 typeof(EnumerationOptions)
165 }, ReturnType = typeof(void))]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerable<>.FindPredicate), Member = ".ctor", MemberParameters = new object[]
167 {
168 typeof(object),
169 typeof(global::System.IntPtr)
170 }, ReturnType = typeof(void))]
171 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 15)]
172 internal static global::System.Collections.Generic.IEnumerable<string> UserEntries(string directory, string expression, EnumerationOptions options)
173 {
174 throw null;
175 }
176
177 // Note: this type is marked as 'beforefieldinit'.
178 [global::Cpp2ILInjected.Token(Token = "0x6002A28")]
179 [global::Cpp2ILInjected.Address(RVA = "0x1BD4134", Offset = "0x1BD4134", Length = "0x94")]
180 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
181 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Runtime.CompilerServices.RuntimeHelpers), Member = "InitializeArray", MemberParameters = new object[]
182 {
183 typeof(global::System.Array),
184 typeof(global::System.RuntimeFieldHandle)
185 }, ReturnType = typeof(void))]
186 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 4)]
188 {
189 throw null;
190 }
191
192 [global::Cpp2ILInjected.Token(Token = "0x400169D")]
193 private static readonly char[] s_unixEscapeChars;
194
195 [global::System.Runtime.CompilerServices.CompilerGenerated]
196 [global::Cpp2ILInjected.Token(Token = "0x200057B")]
197 private sealed class <>c__DisplayClass3_0
198 {
199 [global::Cpp2ILInjected.Token(Token = "0x6002A29")]
200 [global::Cpp2ILInjected.Address(RVA = "0x1BD3D9C", Offset = "0x1BD3D9C", Length = "0x8")]
201 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
202 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
204 {
205 throw null;
206 }
207
208 [global::Cpp2ILInjected.Token(Token = "0x6002A2A")]
209 [global::Cpp2ILInjected.Address(RVA = "0x1BD41C8", Offset = "0x1BD41C8", Length = "0xA0")]
210 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
211 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "get_FileName", ReturnType = typeof(global::System.ReadOnlySpan<char>))]
212 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerableFactory), Member = "MatchesPattern", MemberParameters = new object[]
213 {
214 typeof(string),
215 typeof(global::System.ReadOnlySpan<char>),
217 }, ReturnType = typeof(bool))]
218 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
220 {
221 throw null;
222 }
223
224 [global::Cpp2ILInjected.Token(Token = "0x400169E")]
225 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
226 public string expression;
227
228 [global::Cpp2ILInjected.Token(Token = "0x400169F")]
229 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
231 }
232
233 [global::System.Runtime.CompilerServices.CompilerGenerated]
234 [global::Cpp2ILInjected.Token(Token = "0x200057C")]
235 [global::System.Serializable]
236 private sealed class <>c
237 {
238 // Note: this type is marked as 'beforefieldinit'.
239 [global::Cpp2ILInjected.Token(Token = "0x6002A2B")]
240 [global::Cpp2ILInjected.Address(RVA = "0x1BD4268", Offset = "0x1BD4268", Length = "0x5C")]
241 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
242 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
243 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
244 static <>c()
245 {
246 throw null;
247 }
248
249 [global::Cpp2ILInjected.Token(Token = "0x6002A2C")]
250 [global::Cpp2ILInjected.Address(RVA = "0x1BD42C4", Offset = "0x1BD42C4", Length = "0x8")]
251 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
252 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
253 public <>c()
254 {
255 throw null;
256 }
257
258 [global::Cpp2ILInjected.Token(Token = "0x6002A2D")]
259 [global::Cpp2ILInjected.Address(RVA = "0x1BD42CC", Offset = "0x1BD42CC", Length = "0x8")]
260 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
261 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "ToSpecifiedFullPath", ReturnType = typeof(string))]
262 internal string <UserFiles>b__3_0(ref FileSystemEntry entry)
263 {
264 throw null;
265 }
266
267 [global::Cpp2ILInjected.Token(Token = "0x6002A2E")]
268 [global::Cpp2ILInjected.Address(RVA = "0x1BD42D4", Offset = "0x1BD42D4", Length = "0x8")]
269 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
270 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "ToSpecifiedFullPath", ReturnType = typeof(string))]
271 internal string <UserDirectories>b__4_0(ref FileSystemEntry entry)
272 {
273 throw null;
274 }
275
276 [global::Cpp2ILInjected.Token(Token = "0x6002A2F")]
277 [global::Cpp2ILInjected.Address(RVA = "0x1BD42DC", Offset = "0x1BD42DC", Length = "0x8")]
278 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
279 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "ToSpecifiedFullPath", ReturnType = typeof(string))]
280 internal string <UserEntries>b__5_0(ref FileSystemEntry entry)
281 {
282 throw null;
283 }
284
285 [global::Cpp2ILInjected.Token(Token = "0x40016A0")]
287
288 [global::Cpp2ILInjected.Token(Token = "0x40016A1")]
289 public static FileSystemEnumerable<string>.FindTransform <>9__3_0;
290
291 [global::Cpp2ILInjected.Token(Token = "0x40016A2")]
292 public static FileSystemEnumerable<string>.FindTransform <>9__4_0;
293
294 [global::Cpp2ILInjected.Token(Token = "0x40016A3")]
295 public static FileSystemEnumerable<string>.FindTransform <>9__5_0;
296 }
297
298 [global::System.Runtime.CompilerServices.CompilerGenerated]
299 [global::Cpp2ILInjected.Token(Token = "0x200057D")]
300 private sealed class <>c__DisplayClass4_0
301 {
302 [global::Cpp2ILInjected.Token(Token = "0x6002A30")]
303 [global::Cpp2ILInjected.Address(RVA = "0x1BD3F64", Offset = "0x1BD3F64", Length = "0x8")]
304 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
305 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
307 {
308 throw null;
309 }
310
311 [global::Cpp2ILInjected.Token(Token = "0x6002A31")]
312 [global::Cpp2ILInjected.Address(RVA = "0x1BD42E4", Offset = "0x1BD42E4", Length = "0xA0")]
313 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
314 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "get_FileName", ReturnType = typeof(global::System.ReadOnlySpan<char>))]
315 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerableFactory), Member = "MatchesPattern", MemberParameters = new object[]
316 {
317 typeof(string),
318 typeof(global::System.ReadOnlySpan<char>),
319 typeof(EnumerationOptions)
320 }, ReturnType = typeof(bool))]
321 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
322 internal bool <UserDirectories>b__1(ref FileSystemEntry entry)
323 {
324 throw null;
325 }
326
327 [global::Cpp2ILInjected.Token(Token = "0x40016A4")]
328 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
329 public string expression;
330
331 [global::Cpp2ILInjected.Token(Token = "0x40016A5")]
332 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
333 public EnumerationOptions options;
334 }
335
336 [global::System.Runtime.CompilerServices.CompilerGenerated]
337 [global::Cpp2ILInjected.Token(Token = "0x200057E")]
338 private sealed class <>c__DisplayClass5_0
339 {
340 [global::Cpp2ILInjected.Token(Token = "0x6002A32")]
341 [global::Cpp2ILInjected.Address(RVA = "0x1BD412C", Offset = "0x1BD412C", Length = "0x8")]
342 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
343 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(object), Member = ".ctor", ReturnType = typeof(void))]
345 {
346 throw null;
347 }
348
349 [global::Cpp2ILInjected.Token(Token = "0x6002A33")]
350 [global::Cpp2ILInjected.Address(RVA = "0x1BD4384", Offset = "0x1BD4384", Length = "0x84")]
351 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
352 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEntry), Member = "get_FileName", ReturnType = typeof(global::System.ReadOnlySpan<char>))]
353 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileSystemEnumerableFactory), Member = "MatchesPattern", MemberParameters = new object[]
354 {
355 typeof(string),
356 typeof(global::System.ReadOnlySpan<char>),
357 typeof(EnumerationOptions)
358 }, ReturnType = typeof(bool))]
359 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
360 internal bool <UserEntries>b__1(ref FileSystemEntry entry)
361 {
362 throw null;
363 }
364
365 [global::Cpp2ILInjected.Token(Token = "0x40016A6")]
366 [global::Cpp2ILInjected.FieldOffset(Offset = "0x10")]
367 public string expression;
368
369 [global::Cpp2ILInjected.Token(Token = "0x40016A7")]
370 [global::Cpp2ILInjected.FieldOffset(Offset = "0x18")]
371 public EnumerationOptions options;
372 }
373 }
374}
class f__AnonymousType0<< Count > j__TPar
static global::System.Collections.Generic.IEnumerable< string > UserEntries(string directory, string expression, EnumerationOptions options)
static global::System.Collections.Generic.IEnumerable< string > UserFiles(string directory, string expression, EnumerationOptions options)
static void NormalizeInputs(ref string directory, ref string expression, EnumerationOptions options)
static global::System.Collections.Generic.IEnumerable< string > UserDirectories(string directory, string expression, EnumerationOptions options)
static bool MatchesPattern(string expression, global::System.ReadOnlySpan< char > name, EnumerationOptions options)