8 references to DirectorySeparatorChar
Metrics (8)
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (8)
32
internal static readonly string DirectorySeparatorStr = new(
DirectorySeparatorChar
, 1);
39
public static bool IsDirectorySeparator(char c) => c ==
DirectorySeparatorChar
|| c == AltDirectorySeparatorChar;
93
return s +
DirectorySeparatorChar
;
388
return path[0] ==
DirectorySeparatorChar
;
525
|| assemblyDisplayNameOrPath.IndexOf(
DirectorySeparatorChar
) != -1
653
private static readonly char[] s_pathChars = new char[] { VolumeSeparatorChar,
DirectorySeparatorChar
, AltDirectorySeparatorChar };
821
=>
DirectorySeparatorChar
== '/' ? p : p.Replace(
DirectorySeparatorChar
, '/');