10 references to PathComparer
Microsoft.NET.Sdk.StaticWebAssets.Tasks (10)
Compression\DiscoverPrecompressedAssets.cs (1)
35var candidatesByIdentity = candidates.ToDictionary(asset => asset.Identity, OSPath.PathComparer);
DefineStaticWebAssetEndpoints.cs (3)
69Dictionary<string, HashSet<string>> existingEndpointsByAssetFile = new(ExistingEndpoints.Length, OSPath.PathComparer); 70var assets = new HashSet<string>(CandidateAssets.Length, OSPath.PathComparer); 88set = new HashSet<string>(OSPath.PathComparer);
GenerateStaticWebAssetEndpointsManifest.cs (1)
68.ToDictionary(a => a.ResolvedAsset.Identity, a => a, OSPath.PathComparer);
GenerateStaticWebAssetsManifest.cs (1)
102var assetsByIdentity = assets.ToDictionary(a => a.Identity, a => a, OSPath.PathComparer);
ResolveFingerprintedStaticWebAssetEndpointsForAssets.cs (2)
32var endpointsByAsset = candidateEndpoints.GroupBy(e => e.AssetFile, OSPath.PathComparer) 33.ToDictionary(g => g.Key, g => g.ToArray(), OSPath.PathComparer);
UpdateExternallyDefinedStaticWebAssets.cs (2)
42.GroupBy(e => e.AssetFile, OSPath.PathComparer) 43.ToDictionary(e => e.Key, e => e.ToArray(), OSPath.PathComparer);