21 references to PathComparer
Microsoft.NET.Sdk.StaticWebAssets.Tasks (21)
Compression\DiscoverPrecompressedAssets.cs (1)
39
var candidatesByIdentity = candidates.ToDictionary(asset => asset.Identity, OSPath.
PathComparer
);
Data\StaticWebAsset.cs (3)
300
var excluded = new HashSet<string>(OSPath.
PathComparer
);
334
var seen = new HashSet<string>(assets.Length, OSPath.
PathComparer
);
335
var deferred = new Dictionary<string, int>(OSPath.
PathComparer
);
Data\StaticWebAssetEndpoint.cs (1)
179
var result = new Dictionary<string, List<StaticWebAssetEndpoint>>(candidateEndpoints.Length / 2, OSPath.
PathComparer
);
DefineStaticWebAssetEndpoints.cs (3)
78
Dictionary<string, HashSet<string>> existingEndpointsByAssetFile = new(ExistingEndpoints.Length, OSPath.
PathComparer
);
79
var assets = new HashSet<string>(CandidateAssets.Length, OSPath.
PathComparer
);
97
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)
107
var assetsByIdentity = assets.ToDictionary(a => a.Identity, a => a, OSPath.
PathComparer
);
ReadPackageAssetsManifest.cs (1)
110
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 (5)
56
.GroupBy(e => e.AssetFile, OSPath.
PathComparer
)
57
.ToDictionary(e => e.Key, e => e.ToArray(), OSPath.
PathComparer
);
67
var filteredSet = new HashSet<string>(filteredAssets.Select(a => a.Identity), OSPath.
PathComparer
);
71
var assetMapping = new Dictionary<string, (string NewIdentity, string OldBasePath)>(OSPath.
PathComparer
);
81
var originalIndex = Array.FindIndex(assets, a => OSPath.
PathComparer
.Equals(a.Identity, asset.Identity));
UpdatePackageStaticWebAssets.cs (1)
46
var assetMapping = new Dictionary<string, (string NewIdentity, string OldBasePath)>(OSPath.
PathComparer
);