16 references to DirectorySeparatorChar
System.Private.CoreLib (16)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
191if (c != DirectorySeparatorChar && c == AltDirectorySeparatorChar) 193c = DirectorySeparatorChar;
src\libraries\Common\src\System\IO\PathInternal.Unix.cs (2)
31Debug.Assert(DirectorySeparatorChar == AltDirectorySeparatorChar); 32return c == DirectorySeparatorChar;
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (1)
728sb.Append(PathInternal.DirectorySeparatorChar);
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (9)
18public static readonly char DirectorySeparatorChar = PathInternal.DirectorySeparatorChar; 243int i = PathInternal.DirectorySeparatorChar == PathInternal.AltDirectorySeparatorChar ? 244path.LastIndexOf(PathInternal.DirectorySeparatorChar) : 245path.LastIndexOfAny(PathInternal.DirectorySeparatorChar, PathInternal.AltDirectorySeparatorChar); 433builder.Append(PathInternal.DirectorySeparatorChar); 573builder.Append(PathInternal.DirectorySeparatorChar); 756destination[0] = PathInternal.DirectorySeparatorChar; 766destination[0] = PathInternal.DirectorySeparatorChar; 776destination[0] = PathInternal.DirectorySeparatorChar;
src\libraries\System.Private.CoreLib\src\System\IO\Path.Unix.cs (2)
92path + PathInternal.DirectorySeparatorChar; 134return path.StartsWith(PathInternal.DirectorySeparatorChar);