Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ IsPartiallyQualified() [3/3]

static bool System.IO.PathInternal.IsPartiallyQualified ( string path)
inlinestaticpackage

Definition at line 104 of file PathInternal.cs.

105 {
106 if (path.Length < 2)
107 {
108 return true;
109 }
110 if (IsDirectorySeparator(path[0]))
111 {
112 if (path[1] != '?')
113 {
114 return !IsDirectorySeparator(path[1]);
115 }
116 return false;
117 }
118 if (path.Length >= 3 && path[1] == Path.VolumeSeparatorChar && IsDirectorySeparator(path[2]))
119 {
120 return !IsValidDriveChar(path[0]);
121 }
122 return true;
123 }
static bool IsValidDriveChar(char value)
static bool IsDirectorySeparator(char c)

References System.IO.PathInternal.IsDirectorySeparator(), System.IO.PathInternal.IsValidDriveChar(), and System.IO.Path.VolumeSeparatorChar.