14 references to ToFrozenSet
Microsoft.AspNetCore.Components (1)
ResourceAssetCollection.cs (1)
49_contentSpecificUrls = contentSpecificUrls.ToFrozenSet();
Microsoft.AspNetCore.OpenApi (1)
Services\OpenApiDocumentService.cs (1)
53private static readonly FrozenSet<string> _disallowedHeaderParameters = new[] { HeaderNames.Accept, HeaderNames.Authorization, HeaderNames.ContentType }.ToFrozenSet(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
501private static readonly FrozenSet<string> IgnoredHeaders = FrozenSet.ToFrozenSet(new[] {
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
LspServices\LspServiceMetadataView.cs (1)
36InterfaceNames = FrozenSet.ToFrozenSet(interfaceNames);
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionState_Checksum.cs (1)
153var projectConeTemp = projectConeId is null ? null : new ProjectCone(projectConeId, projectCone.Object.ToFrozenSet());
Microsoft.DotNet.Internal.SymbolHelper (2)
SymbolPublisherOptions.cs (2)
41PackageFileExcludeList = packageFileExcludeList is null ? FrozenSet<string>.Empty : packageFileExcludeList.ToFrozenSet(); 44PdbConversionTreatAsWarning = pdbConversionTreatAsWarning is null ? FrozenSet<int>.Empty : pdbConversionTreatAsWarning.ToFrozenSet();
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Windows\Network\WindowsTcpStateInfo.cs (2)
36.ToFrozenSet(); 40.ToFrozenSet(new ByteArrayEqualityComparer());
Microsoft.Extensions.Http.Diagnostics (2)
Logging\Internal\HttpRequestBodyReader.cs (1)
38_readableRequestContentTypes = requestOptions.RequestBodyContentTypes.ToFrozenSet(StringComparer.OrdinalIgnoreCase);
Logging\Internal\HttpResponseBodyReader.cs (1)
34_readableResponseContentTypes = responseOptions.ResponseBodyContentTypes.ToFrozenSet(StringComparer.OrdinalIgnoreCase);
Microsoft.Extensions.Http.Diagnostics.Tests (2)
Logging\MediaTypeCollectionExtensionsTest.cs (2)
27var collection = new HashSet<string>(_readableContentTypes, StringComparer.OrdinalIgnoreCase).ToFrozenSet(StringComparer.OrdinalIgnoreCase); 44var collection = new HashSet<string>(_readableContentTypes, StringComparer.OrdinalIgnoreCase).ToFrozenSet(StringComparer.OrdinalIgnoreCase);
System.Collections.Immutable (1)
System\Collections\Frozen\FrozenSet.cs (1)
49return ToFrozenSet(set, equalityComparer);