6internal static class PathInternal
47 if (
string.IsNullOrEmpty(path))
51 char c = path[path.Length - 1];
59 [
return: NotNullIfNotNull(
"path")]
77 return path.Insert(2,
"?\\UNC\\");
79 return "\\\\?\\" + path;
97 if (path.Length >= 4 && path[0] ==
'\\' && (path[1] ==
'\\' || path[1] ==
'?') && path[2] ==
'?')
99 return path[3] ==
'\\';
static bool IsValidDriveChar(char value)
static bool IsCaseSensitive
static bool IsDirectorySeparator(char c)
static bool EndsWithPeriodOrSpace(string path)
static string EnsureExtendedPrefix(string path)
static bool IsDevice(ReadOnlySpan< char > path)
static bool IsExtended(string path)
static bool IsExtended(ReadOnlySpan< char > path)
static bool IsPartiallyQualified(string path)
static bool IsDevice(string path)
static bool IsPartiallyQualified(ReadOnlySpan< char > path)
static string EnsureExtendedPrefixIfNeeded(string path)
static readonly char AltDirectorySeparatorChar
static readonly char DirectorySeparatorChar
static readonly char VolumeSeparatorChar