17 references to PathComparer
Microsoft.NET.Sdk.StaticWebAssets.Tasks (17)
Compression\DiscoverPrecompressedAssets.cs (1)
35var candidatesByIdentity = candidates.ToDictionary(asset => asset.Identity, OSPath.PathComparer);
Data\StaticWebAsset.cs (3)
299var excluded = new HashSet<string>(OSPath.PathComparer); 333var seen = new HashSet<string>(assets.Length, OSPath.PathComparer); 334var deferred = new Dictionary<string, int>(OSPath.PathComparer);
DefineStaticWebAssetEndpoints.cs (3)
73Dictionary<string, HashSet<string>> existingEndpointsByAssetFile = new(ExistingEndpoints.Length, OSPath.PathComparer); 74var assets = new HashSet<string>(CandidateAssets.Length, OSPath.PathComparer); 92set = new HashSet<string>(OSPath.PathComparer);
GeneratePackageAssetsManifestFile.cs (2)
92var identityToPackagePath = new Dictionary<string, string>(parsedAssets.Length, Utils.OSPath.PathComparer); 111var assets = new Dictionary<string, StaticWebAsset>(OSPath.PathComparer);
GenerateStaticWebAssetEndpointsManifest.cs (1)
68.ToDictionary(a => a.ResolvedAsset.Identity, a => a, OSPath.PathComparer);
GenerateStaticWebAssetsManifest.cs (1)
103var assetsByIdentity = assets.ToDictionary(a => a.Identity, a => a, OSPath.PathComparer);
ReadPackageAssetsManifest.cs (1)
113var frameworkPaths = new Dictionary<string, string>(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)
45.GroupBy(e => e.AssetFile, OSPath.PathComparer) 46.ToDictionary(e => e.Key, e => e.ToArray(), OSPath.PathComparer);
UpdatePackageStaticWebAssets.cs (1)
40var assetMapping = new Dictionary<string, string>(OSPath.PathComparer);