15 references to OSSpecificPathComparer
dotnet-watch (1)
Program.cs (1)
203.Where(p => !PathUtilities.OSSpecificPathComparer.Equals(Path.GetExtension(p), ".shproj"))];
Microsoft.DotNet.HotReload.Watch (14)
Build\FilePathExclusions.cs (1)
18var outputDirectories = new HashSet<string>(PathUtilities.OSSpecificPathComparer);
Build\LoadedProjectGraph.cs (1)
22.ToHashSet(PathUtilities.OSSpecificPathComparer));
Build\ProjectRepresentation.cs (2)
42=> PathUtilities.OSSpecificPathComparer.Equals(ProjectGraphPath, other.ProjectGraphPath); 45=> PathUtilities.OSSpecificPathComparer.GetHashCode(ProjectGraphPath);
FileWatcher\FileWatcher.cs (3)
14protected readonly Dictionary<string, DirectoryWatcher> _directoryTreeWatchers = new(PathUtilities.OSSpecificPathComparer); 18protected readonly Dictionary<string, DirectoryWatcher> _directoryWatchers = new(PathUtilities.OSSpecificPathComparer); 78select (g.Key, containingDirectories ? [] : g.Select(Path.GetFileName).ToImmutableHashSet(PathUtilities.OSSpecificPathComparer));
FileWatcher\PollingDirectoryWatcher.cs (3)
16private Dictionary<string, DateTime> _currentSnapshot = new(PathUtilities.OSSpecificPathComparer); 19private Dictionary<string, DateTime> _snapshotBuilder = new(PathUtilities.OSSpecificPathComparer); 20private readonly Dictionary<string, ChangeKind> _changesBuilder = new(PathUtilities.OSSpecificPathComparer);
HotReload\CompilationHandler.cs (3)
35= ImmutableDictionary<string, ImmutableArray<RunningProject>>.Empty.WithComparers(PathUtilities.OSSpecificPathComparer); 45= ImmutableDictionary<string, ImmutableArray<RestartOperation>>.Empty.WithComparers(PathUtilities.OSSpecificPathComparer); 60= ImmutableDictionary<string, ImmutableArray<ProjectInstance>>.Empty.WithComparers(PathUtilities.OSSpecificPathComparer);
HotReload\HotReloadDotNetWatcher.cs (1)
649var projectPathSet = projectPaths.ToImmutableHashSet(PathUtilities.OSSpecificPathComparer);