9 references to TrimEndingDirectorySeparator
System.Private.CoreLib (9)
src\libraries\System.Private.CoreLib\src\System\IO\DirectoryInfo.cs (3)
53Path.GetFileName(Path.TrimEndingDirectorySeparator(fullPath))).ToString(); 85ReadOnlySpan<char> trimmedNewPath = Path.TrimEndingDirectorySeparator(newPath.AsSpan()); 86ReadOnlySpan<char> trimmedCurrentPath = Path.TrimEndingDirectorySeparator(FullPath.AsSpan());
src\libraries\System.Private.CoreLib\src\System\IO\FileStatus.Unix.cs (1)
507Interop.Sys.LStat(Path.TrimEndingDirectorySeparator(path), out _fileCache);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.cs (2)
33ReadOnlySpan<char> srcNoDirectorySeparator = Path.TrimEndingDirectorySeparator(sourceFullPath.AsSpan()); 34ReadOnlySpan<char> destNoDirectorySeparator = Path.TrimEndingDirectorySeparator(destFullPath.AsSpan());
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Exists.Unix.cs (1)
47fullPath = Path.TrimEndingDirectorySeparator(fullPath);
src\libraries\System.Private.CoreLib\src\System\IO\FileSystem.Unix.cs (2)
404ReadOnlySpan<char> srcNoDirectorySeparator = Path.TrimEndingDirectorySeparator(sourceFullPath.AsSpan()); 405ReadOnlySpan<char> destNoDirectorySeparator = Path.TrimEndingDirectorySeparator(destFullPath.AsSpan());