4 references to StartsWithDirectorySeparator
System.Private.CoreLib (4)
src\libraries\System.Private.CoreLib\src\System\IO\Enumeration\FileSystemEntry.cs (1)
39
if (Path.EndsInDirectorySeparator(OriginalRootDirectory) && PathInternal.
StartsWithDirectorySeparator
(relativePath))
src\libraries\System.Private.CoreLib\src\System\IO\Path.cs (3)
602
bool needsSeparator = !(EndsInDirectorySeparator(path1) || PathInternal.
StartsWithDirectorySeparator
(path2));
630
int neededSeparators = EndsInDirectorySeparator(path1) || PathInternal.
StartsWithDirectorySeparator
(path2) ? 0 : 1;
631
bool needsSecondSeparator = !(EndsInDirectorySeparator(path2) || PathInternal.
StartsWithDirectorySeparator
(path3));