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