10 references to IsDirectorySeparator
System.Private.CoreLib (10)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
146
if (
IsDirectorySeparator
(c) && i + 1 < path.Length)
174
if (
IsDirectorySeparator
(sb[s]))
src\libraries\Common\src\System\IO\PathInternal.Unix.cs (1)
67
if (
IsDirectorySeparator
(current)
src\libraries\System.Private.CoreLib\src\System\IO\FileSystemInfo.cs (1)
57
if (PathInternal.
IsDirectorySeparator
(ch) || ch == Path.VolumeSeparatorChar)
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (6)
61
if (PathInternal.
IsDirectorySeparator
(ch))
209
if (PathInternal.
IsDirectorySeparator
(ch))
338
if (PathInternal.
IsDirectorySeparator
(ch))
410
if (!PathInternal.
IsDirectorySeparator
(ch))
431
if (!PathInternal.
IsDirectorySeparator
(ch))
571
if (!PathInternal.
IsDirectorySeparator
(builder[^1]) && !PathInternal.IsDirectorySeparator(path[0]))