4 references to IsRoot
System.Private.CoreLib (4)
src\libraries\Common\src\System\IO\PathInternal.cs (2)
220EndsInDirectorySeparator(path) && !IsRoot(path.AsSpan()) ? 234EndsInDirectorySeparator(path) && !IsRoot(path) ?
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (2)
51_name = name = (PathInternal.IsRoot(fullPath) ? 67string? parentName = Path.GetDirectoryName(PathInternal.IsRoot(FullPath.AsSpan()) ? FullPath : Path.TrimEndingDirectorySeparator(FullPath));