31 references to ToFrozenDictionary
Microsoft.AspNetCore.Components (1)
ResourceAssetCollection.cs (1)
48_uniqueUrlMappings = mappings.ToFrozenDictionary();
Microsoft.AspNetCore.Diagnostics.Middleware (2)
Logging\HttpLoggingRedactionInterceptor.cs (1)
53_parametersToRedactMap = optionsValue.RouteParameterDataClasses.ToFrozenDictionary(StringComparer.Ordinal);
Logging\IncomingHttpRouteUtility.cs (1)
63return _parametersToRedactCache.GetOrAdd(httpRoute, static (_, paramsToRedact) => paramsToRedact.ToFrozenDictionary(StringComparer.Ordinal), parametersToRedact);
Microsoft.AspNetCore.Hosting (1)
Internal\HostingMetrics.cs (1)
120private static readonly FrozenDictionary<string, string> KnownMethods = FrozenDictionary.ToFrozenDictionary(new[]
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheEntryFormatter.cs (1)
520return FrozenDictionary.ToFrozenDictionary(pairs, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Routing (2)
EndpointNameAddressScheme.cs (1)
71return entries.ToFrozenDictionary(StringComparer.Ordinal);
RouteValuesAddressScheme.cs (1)
143namedOutboundMatchResults.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase));
Microsoft.CodeAnalysis.Features (1)
QuickInfo\Presentation\QuickInfoContentBuilder.cs (1)
29return result.ToFrozenDictionary();
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
LspServices\LspServices.cs (1)
60_lazyMefLspServices = serviceMap.ToFrozenDictionary();
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\HandlerProvider.cs (1)
96return builder.ToFrozenDictionary();
src\LanguageServer\Microsoft.CommonLanguageServerProtocol.Framework\RequestExecutionQueue.cs (2)
123genericMethodMap.Add(methodGroup.Key, languages.ToFrozenDictionary()); 126return genericMethodMap.ToFrozenDictionary();
Microsoft.CodeAnalysis.Workspaces (1)
Workspace\Solution\SolutionCompilationState_SourceGenerators.cs (1)
100return new(generators.ToImmutableAndClear(), generatorToAnalyzerReference.ToFrozenDictionary());
Microsoft.CommonLanguageServerProtocol.Framework.Package (3)
HandlerProvider.cs (1)
96return builder.ToFrozenDictionary();
RequestExecutionQueue.cs (2)
123genericMethodMap.Add(methodGroup.Key, languages.ToFrozenDictionary()); 126return genericMethodMap.ToFrozenDictionary();
Microsoft.Extensions.Compliance.Redaction (1)
RedactorProvider.cs (1)
59return dict.ToFrozenDictionary();
Microsoft.Extensions.Diagnostics.ExceptionSummarization (3)
ExceptionSummarizer.cs (1)
28_exceptionTypesToProviders = exceptionTypesToProvidersBuilder.ToFrozenDictionary();
HttpExceptionSummaryProvider.cs (2)
68_socketErrorMap = socketErrors.ToFrozenDictionary(); 69_webExceptionStatusMap = webStatuses.ToFrozenDictionary();
Microsoft.Extensions.Http.Diagnostics (8)
Http\DownstreamDependencyMetadataManager.cs (1)
38_frozenProcessedMetadataMap = ProcessDownstreamDependencyMetadata(dependencyTrieMap).ToFrozenDictionary(StringComparer.Ordinal);
Latency\Internal\HttpRequestLatencyListener.cs (4)
144{ SocketProviderName, socket.ToFrozenDictionary(StringComparer.Ordinal) }, 145{ NameResolutionProivderName, nameResolution.ToFrozenDictionary(StringComparer.Ordinal) }, 146{ HttpProviderName, http.ToFrozenDictionary(StringComparer.Ordinal) } 147}.ToFrozenDictionary(StringComparer.Ordinal);
Logging\Internal\HttpHeadersReader.cs (2)
32_requestHeadersToLog = options.RequestHeadersDataClasses.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase); 33_responseHeadersToLog = options.ResponseHeadersDataClasses.ToFrozenDictionary(StringComparer.OrdinalIgnoreCase);
Logging\Internal\HttpRequestReader.cs (1)
79_defaultSensitiveParameters = options.RouteParameterDataClasses.ToFrozenDictionary(StringComparer.Ordinal);
Microsoft.Extensions.Telemetry (1)
Latency\Internal\Registry.cs (1)
44_keyOrder = keyOrderBuilder.ToFrozenDictionary(StringComparer.Ordinal);
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenDictionary.cs (2)
44source.ToDictionary(keySelector, comparer).ToFrozenDictionary(comparer); 58source.ToDictionary(keySelector, elementSelector, comparer).ToFrozenDictionary(comparer);