26 references to OSPath
Microsoft.NET.Sdk.StaticWebAssets.Tasks (26)
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);
GenerateStaticWebAssetsDevelopmentManifest.cs (1)
313
if (asset.Identity.StartsWith(asset.ContentRoot,
OSPath
.PathComparison))
GenerateStaticWebAssetsManifest.cs (1)
107
var assetsByIdentity = assets.ToDictionary(a => a.Identity, a => a,
OSPath
.PathComparer);
MergeConfigurationProperties.cs (1)
120
OSPath
.PathComparison);
MergeStaticWebAssets.cs (1)
84
if (!ReferenceEquals(prototypeItem, item) && string.Equals(prototypeItem.Identity, item.Identity,
OSPath
.PathComparison))
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 (6)
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));
189
var regexOptions = (
OSPath
.PathComparison == StringComparison.OrdinalIgnoreCase ? RegexOptions.IgnoreCase : RegexOptions.None) |
UpdatePackageStaticWebAssets.cs (1)
46
var assetMapping = new Dictionary<string, (string NewIdentity, string OldBasePath)>(
OSPath
.PathComparer);
Utils\Globbing\PathTokenizer.cs (1)
87
foreach (var range in MemoryExtensions.SplitAny(_path,
OSPath
.DirectoryPathSeparators.Span))