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