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
PathInternal.cs
Go to the documentation of this file.
1using System;
5
6namespace System.IO
7{
8 [global::Cpp2ILInjected.Token(Token = "0x200053A")]
9 internal static class PathInternal
10 {
11 [global::Cpp2ILInjected.Token(Token = "0x6002776")]
12 [global::Cpp2ILInjected.Address(RVA = "0x1B99358", Offset = "0x1B99358", Length = "0x7C")]
13 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
14 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "IsRoot", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
15 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Directory), Member = "InternalGetDirectoryRoot", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
16 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
17 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
18 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
19 internal static int GetRootLength(global::System.ReadOnlySpan<char> path)
20 {
21 throw null;
22 }
23
24 [global::Cpp2ILInjected.Token(Token = "0x6002777")]
25 [global::Cpp2ILInjected.Address(RVA = "0x1B993D4", Offset = "0x1B993D4", Length = "0x10")]
26 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
27 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Path), Member = "JoinInternal", MemberParameters = new object[]
28 {
29 typeof(global::System.ReadOnlySpan<char>),
30 typeof(global::System.ReadOnlySpan<char>)
31 }, ReturnType = typeof(string))]
32 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Path), Member = "JoinInternal", MemberParameters = new object[]
33 {
34 typeof(global::System.ReadOnlySpan<char>),
35 typeof(global::System.ReadOnlySpan<char>),
36 typeof(global::System.ReadOnlySpan<char>)
37 }, ReturnType = typeof(string))]
38 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 6)]
39 internal static bool IsDirectorySeparator(char c)
40 {
41 throw null;
42 }
43
44 [global::Cpp2ILInjected.Token(Token = "0x6002778")]
45 [global::Cpp2ILInjected.Address(RVA = "0x1B993E4", Offset = "0x1B993E4", Length = "0x88")]
46 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
47 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "TrimEndingDirectorySeparator", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
48 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "TrimEndingDirectorySeparator", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.ReadOnlySpan<char>))]
49 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "CreateDirectory", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
50 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Path), Member = "TryJoin", MemberParameters = new object[]
51 {
52 typeof(global::System.ReadOnlySpan<char>),
53 typeof(global::System.ReadOnlySpan<char>),
54 typeof(global::System.Span<char>),
55 typeof(ref int)
56 }, ReturnType = typeof(bool))]
57 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "ToSpecifiedFullPath", ReturnType = typeof(string))]
58 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 5)]
59 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
60 internal static bool EndsInDirectorySeparator(global::System.ReadOnlySpan<char> path)
61 {
62 throw null;
63 }
64
65 [global::Cpp2ILInjected.Token(Token = "0x6002779")]
66 [global::Cpp2ILInjected.Address(RVA = "0x1B9946C", Offset = "0x1B9946C", Length = "0x7C")]
67 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
68 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(Path), Member = "TryJoin", MemberParameters = new object[]
69 {
70 typeof(global::System.ReadOnlySpan<char>),
71 typeof(global::System.ReadOnlySpan<char>),
72 typeof(global::System.Span<char>),
73 typeof(ref int)
74 }, ReturnType = typeof(bool))]
75 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEntry), Member = "ToSpecifiedFullPath", ReturnType = typeof(string))]
76 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 2)]
77 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
78 internal static bool StartsWithDirectorySeparator(global::System.ReadOnlySpan<char> path)
79 {
80 throw null;
81 }
82
83 [global::Cpp2ILInjected.Token(Token = "0x600277A")]
84 [global::Cpp2ILInjected.Address(RVA = "0x1B994E8", Offset = "0x1B994E8", Length = "0x138")]
85 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "DeleteFile", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
86 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystemInfo), Member = "ThrowNotFound", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(void))]
87 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(global::System.IO.Enumeration.FileSystemEnumerator<>), Member = ".ctor", MemberParameters = new object[]
88 {
89 typeof(string),
91 }, ReturnType = typeof(void))]
92 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
93 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "GetRawStringData", ReturnType = typeof(ref char))]
94 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "EndsInDirectorySeparator", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
95 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "IsRoot", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
96 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Substring", MemberParameters = new object[]
97 {
98 typeof(int),
99 typeof(int)
100 }, ReturnType = typeof(string))]
101 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 5)]
102 internal static string TrimEndingDirectorySeparator(string path)
103 {
104 throw null;
105 }
106
107 [global::Cpp2ILInjected.Token(Token = "0x600277B")]
108 [global::Cpp2ILInjected.Address(RVA = "0x1B9969C", Offset = "0x1B9969C", Length = "0xE0")]
109 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DirectoryInfo), Member = "Init", MemberParameters = new object[]
110 {
111 typeof(string),
112 typeof(string),
113 typeof(string),
114 typeof(bool)
115 }, ReturnType = typeof(void))]
116 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileStatus), Member = "Refresh", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(void))]
117 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(FileSystem), Member = "FileExists", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
118 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
119 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "EndsInDirectorySeparator", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
120 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "IsRoot", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(bool))]
121 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.ThrowHelper), Member = "ThrowArgumentOutOfRangeException", ReturnType = typeof(void))]
122 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 6)]
123 internal static global::System.ReadOnlySpan<char> TrimEndingDirectorySeparator(global::System.ReadOnlySpan<char> path)
124 {
125 throw null;
126 }
127
128 [global::Cpp2ILInjected.Token(Token = "0x600277C")]
129 [global::Cpp2ILInjected.Address(RVA = "0x1B99620", Offset = "0x1B99620", Length = "0x7C")]
130 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
131 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "TrimEndingDirectorySeparator", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
132 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = "TrimEndingDirectorySeparator", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(global::System.ReadOnlySpan<char>))]
133 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(DirectoryInfo), Member = "Init", MemberParameters = new object[]
134 {
135 typeof(string),
136 typeof(string),
137 typeof(string),
138 typeof(bool)
139 }, ReturnType = typeof(void))]
140 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 3)]
141 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "GetRootLength", MemberParameters = new object[] { typeof(global::System.ReadOnlySpan<char>) }, ReturnType = typeof(int))]
142 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 3)]
143 internal static bool IsRoot(global::System.ReadOnlySpan<char> path)
144 {
145 throw null;
146 }
147
148 [global::Cpp2ILInjected.Token(Token = "0x170005AF")]
149 internal static bool IsCaseSensitive
150 {
151 [global::Cpp2ILInjected.Token(Token = "0x600277D")]
152 [global::Cpp2ILInjected.Address(RVA = "0x1B9977C", Offset = "0x1B9977C", Length = "0x58")]
153 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
154 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 2)]
155 get
156 {
157 throw null;
158 }
159 }
160
161 [global::Cpp2ILInjected.Token(Token = "0x600277E")]
162 [global::Cpp2ILInjected.Address(RVA = "0x1B997D4", Offset = "0x1B997D4", Length = "0x2FC")]
163 [global::Cpp2ILInjected.CallAnalysis.ContainsUnimplementedInstructions]
164 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(PathInternal), Member = ".cctor", ReturnType = typeof(void))]
165 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
166 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "GetTempPath", ReturnType = typeof(string))]
167 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Guid), Member = "NewGuid", ReturnType = typeof(global::System.Guid))]
168 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(global::System.Guid), Member = "ToString", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(string))]
169 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "Concat", MemberParameters = new object[]
170 {
171 typeof(string),
172 typeof(string)
173 }, ReturnType = typeof(string))]
174 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(Path), Member = "Combine", MemberParameters = new object[]
175 {
176 typeof(string),
177 typeof(string)
178 }, ReturnType = typeof(string))]
179 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(FileStream), Member = ".ctor", MemberParameters = new object[]
180 {
181 typeof(string),
183 typeof(FileAccess),
185 typeof(int),
187 }, ReturnType = typeof(void))]
188 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(string), Member = "ToLowerInvariant", ReturnType = typeof(string))]
189 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(File), Member = "Exists", MemberParameters = new object[] { typeof(string) }, ReturnType = typeof(bool))]
190 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 22)]
191 private static bool GetIsCaseSensitive()
192 {
193 throw null;
194 }
195
196 [global::Cpp2ILInjected.Token(Token = "0x600277F")]
197 [global::Cpp2ILInjected.Address(RVA = "0x1B99C80", Offset = "0x1B99C80", Length = "0x8")]
198 [global::Cpp2ILInjected.CallAnalysis.CalledBy(Type = typeof(__Error), Member = "GetDisplayablePath", MemberParameters = new object[]
199 {
200 typeof(string),
201 typeof(bool)
202 }, ReturnType = typeof(string))]
203 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 1)]
204 public static bool IsPartiallyQualified(string path)
205 {
206 throw null;
207 }
208
209 // Note: this type is marked as 'beforefieldinit'.
210 [global::Cpp2ILInjected.Token(Token = "0x6002780")]
211 [global::Cpp2ILInjected.Address(RVA = "0x1B99C88", Offset = "0x1B99C88", Length = "0x50")]
212 [global::Cpp2ILInjected.CallAnalysis.CallerCount(Count = 0)]
213 [global::Cpp2ILInjected.CallAnalysis.Calls(Type = typeof(PathInternal), Member = "GetIsCaseSensitive", ReturnType = typeof(bool))]
214 [global::Cpp2ILInjected.CallAnalysis.CallsUnknownMethods(Count = 1)]
216 {
217 throw null;
218 }
219
220 [global::Cpp2ILInjected.Token(Token = "0x400158D")]
221 private static readonly bool s_isCaseSensitive;
222 }
223}
class f__AnonymousType0<< Count > j__TPar
static bool IsCaseSensitive
static string TrimEndingDirectorySeparator(string path)
static bool EndsInDirectorySeparator(global::System.ReadOnlySpan< char > path)
static int GetRootLength(global::System.ReadOnlySpan< char > path)
static bool IsDirectorySeparator(char c)
static global::System.ReadOnlySpan< char > TrimEndingDirectorySeparator(global::System.ReadOnlySpan< char > path)
static bool IsPartiallyQualified(string path)
static bool StartsWithDirectorySeparator(global::System.ReadOnlySpan< char > path)
static bool IsRoot(global::System.ReadOnlySpan< char > path)
static readonly bool s_isCaseSensitive
static bool GetIsCaseSensitive()