15 references to OSPath
Microsoft.NET.Sdk.StaticWebAssets.Tasks (15)
Compression\DiscoverPrecompressedAssets.cs (1)
35
var candidatesByIdentity = candidates.ToDictionary(asset => asset.Identity,
OSPath
.PathComparer);
DefineStaticWebAssetEndpoints.cs (3)
69
Dictionary<string, HashSet<string>> existingEndpointsByAssetFile = new(ExistingEndpoints.Length,
OSPath
.PathComparer);
70
var assets = new HashSet<string>(CandidateAssets.Length,
OSPath
.PathComparer);
88
set = new HashSet<string>(
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)
102
var assetsByIdentity = assets.ToDictionary(a => a.Identity, a => a,
OSPath
.PathComparer);
MergeConfigurationProperties.cs (1)
117
OSPath
.PathComparison);
MergeStaticWebAssets.cs (1)
84
if (!ReferenceEquals(prototypeItem, item) && string.Equals(prototypeItem.Identity, item.Identity,
OSPath
.PathComparison))
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 (3)
42
.GroupBy(e => e.AssetFile,
OSPath
.PathComparer)
43
.ToDictionary(e => e.Key, e => e.ToArray(),
OSPath
.PathComparer);
109
var regexOptions = (
OSPath
.PathComparison == StringComparison.OrdinalIgnoreCase ? RegexOptions.IgnoreCase : RegexOptions.None) |
Utils\Globbing\PathTokenizer.cs (1)
87
foreach (var range in MemoryExtensions.SplitAny(_path,
OSPath
.DirectoryPathSeparators.Span))