8 references to DirectorySeparatorChar
Microsoft.CodeAnalysis.Workspaces (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (8)
29internal static readonly string DirectorySeparatorStr = new(DirectorySeparatorChar, 1); 36public static bool IsDirectorySeparator(char c) => c == DirectorySeparatorChar || c == AltDirectorySeparatorChar; 90return s + DirectorySeparatorChar; 363return path[0] == DirectorySeparatorChar; 500|| assemblyDisplayNameOrPath.IndexOf(DirectorySeparatorChar) != -1 628private static readonly char[] s_pathChars = new char[] { VolumeSeparatorChar, DirectorySeparatorChar, AltDirectorySeparatorChar }; 792=> DirectorySeparatorChar == '/' ? p : p.Replace(DirectorySeparatorChar, '/');