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