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