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