8 references to DirectorySeparatorChar
Microsoft.CodeAnalysis.CodeStyle (8)
PathUtilities.cs (8)
28
internal static readonly string DirectorySeparatorStr = new(
DirectorySeparatorChar
, 1);
35
public static bool IsDirectorySeparator(char c) => c ==
DirectorySeparatorChar
|| c == AltDirectorySeparatorChar;
89
return s +
DirectorySeparatorChar
;
362
return path[0] ==
DirectorySeparatorChar
;
499
|| assemblyDisplayNameOrPath.IndexOf(
DirectorySeparatorChar
) != -1
624
private static readonly char[] s_pathChars = new char[] { VolumeSeparatorChar,
DirectorySeparatorChar
, AltDirectorySeparatorChar };
778
=>
DirectorySeparatorChar
== '/' ? p : p.Replace(
DirectorySeparatorChar
, '/');