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