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)
18
var 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)
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\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)
649
var projectPathSet = projectPaths.ToImmutableHashSet(PathUtilities.
OSSpecificPathComparer
);