17 references to IsDirectorySeparator
mscorlib (17)
system\io\pathinternal.cs (17)
126
if (
IsDirectorySeparator
(fullPath[i]))
221
&&
IsDirectorySeparator
(path[0])
222
&&
IsDirectorySeparator
(path[1])
224
&&
IsDirectorySeparator
(path[3])
418
if ((!extendedSyntax || extendedUncSyntax) && pathLength > 0 &&
IsDirectorySeparator
(path[0]))
423
if (extendedUncSyntax || (pathLength > 1 &&
IsDirectorySeparator
(path[1])))
429
while (i < pathLength && (!
IsDirectorySeparator
(path[i]) || --n > 0)) i++;
437
if (pathLength >= volumeSeparatorLength + 1 &&
IsDirectorySeparator
(path[volumeSeparatorLength])) i++;
474
if (
IsDirectorySeparator
(path[0]))
478
return !(path[1] == '?' ||
IsDirectorySeparator
(path[1]));
485
&&
IsDirectorySeparator
(path[2])
542
if (startIndex > 0 && (startIndex < path.Length &&
IsDirectorySeparator
(path[startIndex]))
601
if (
IsDirectorySeparator
(current)
604
|| (i > 0 && i + 1 < path.Length &&
IsDirectorySeparator
(path[i + 1]))))
616
if (
IsDirectorySeparator
(path[start]))
627
if (
IsDirectorySeparator
(current))
630
if (i + 1 < path.Length &&
IsDirectorySeparator
(path[i + 1]))