65 references to Dictionary
aspire (1)
DotNetCliRunner.cs (1)
211finalEnv = new Dictionary<string, string>(env ?? new Dictionary<string, string>())
Aspire.EndToEnd.Tests (1)
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
275EnvVars = new Dictionary<string, string>(otherBuildEnvironment.EnvVars);
Aspire.Templates.Tests (1)
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
275EnvVars = new Dictionary<string, string>(otherBuildEnvironment.EnvVars);
BasicWebSite (1)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
45routeValues = new Dictionary<string, object>(_actionContext.RouteData.Values),
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
145_scopedSupportingTokenAuthenticatorSpecification = new Dictionary<string, ICollection<SupportingTokenAuthenticatorSpecification>>(factory._scopedSupportingTokenAuthenticatorSpecification);
GenericHostWebSite (1)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
45routeValues = new Dictionary<string, object>(_actionContext.RouteData.Values),
illink (1)
ILLink.RoslynAnalyzer (1)
src\tools\illink\src\ILLink.Shared\DataFlow\DefaultValueDictionary.cs (1)
33Dictionary = other.Dictionary == null ? null : new Dictionary<TKey, TValue>(other.Dictionary);
Microsoft.AspNetCore.App.Analyzers.Test (1)
Http\HeaderDictionaryIndexerAnalyzerTests.cs (1)
172var propertyMapping = new Dictionary<string, string>(HeaderDictionaryIndexerAnalyzer.PropertyMapping);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionDispatcher.cs (1)
768newHttpContext.Items = new Dictionary<object, object?>(context.Items);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
Infrastructure\HtmlPageContext.cs (1)
15: this(new Dictionary<string, object>(currentContext._properties))
Microsoft.AspNetCore.Mvc.Core (4)
ApplicationModels\ActionModel.cs (1)
61Properties = new Dictionary<object, object?>(other.Properties);
ApplicationModels\ControllerModel.cs (1)
61Properties = new Dictionary<object, object?>(other.Properties);
ApplicationModels\ParameterModelBase.cs (1)
43Properties = new Dictionary<object, object?>(other.Properties);
Routing\ActionEndpointFactory.cs (1)
313resolvedRequiredValues = new Dictionary<string, string?>(action.RouteValues);
Microsoft.AspNetCore.Mvc.Core.Test (5)
ModelBinding\EnumerableValueProviderTest.cs (1)
238var store = new Dictionary<string, StringValues>(BackingStore)
ModelBinding\FormValueProviderTest.cs (1)
19var values = new Dictionary<string, StringValues>(BackingStore)
ModelBinding\JQueryFormValueProviderTest.cs (2)
37var store = new Dictionary<string, StringValues>(BackingStore) 57var values = new Dictionary<string, StringValues>(BackingStore)
ModelBinding\JQueryQueryStringValueProviderTest.cs (1)
40var store = new Dictionary<string, StringValues>(BackingStore)
Microsoft.AspNetCore.Mvc.RazorPages (4)
ApplicationModels\PageApplicationModel.cs (1)
65Properties = new Dictionary<object, object?>(other.Properties);
ApplicationModels\PageHandlerModel.cs (1)
49Properties = new Dictionary<object, object?>(other.Properties);
ApplicationModels\PageRouteModel.cs (1)
55Properties = new Dictionary<object, object?>(other.Properties);
Infrastructure\PageActionDescriptorProvider.cs (1)
105Properties = new Dictionary<object, object?>(model.Properties),
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMiddleware.cs (1)
47_policyMap = new Dictionary<string, DefaultRateLimiterPolicy>(options.Value.PolicyMap);
Microsoft.CodeAnalysis.AnalyzerUtilities (1)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (1)
124var originalCoreAnalysisData = new Dictionary<AnalysisEntity, CopyAbstractValue>(coreAnalysisData);
Microsoft.CodeAnalysis.Features (1)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
432var result = new Dictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>(_documentationMap);
Microsoft.Maui.Controls (2)
Shell\ShellRouteParameters.cs (2)
18 public ShellRouteParameters(ShellRouteParameters shellRouteParams) : base(shellRouteParams) 59 internal ShellRouteParameters(IDictionary<string, object> shellRouteParams) : base(shellRouteParams)
Microsoft.Maui.Graphics (1)
Text\TextAttributes.cs (1)
11 public TextAttributes(IDictionary<TextAttribute, string> dictionary) : base(dictionary)
Microsoft.ML.AutoML (1)
Sweepers\ISweeper.cs (1)
141new ParameterSet(new Dictionary<string, IParameterValue>(_parameterValues), _hash);
Microsoft.ML.Sweeper (1)
ISweeper.cs (1)
170new ParameterSet(new Dictionary<string, IParameterValue>(_parameterValues), _hash);
Microsoft.ML.TimeSeries (2)
RootCauseAnalyzer.cs (2)
130return new Dictionary<string, object>(keyList.Select(dim => new KeyValuePair<string, object>(dim, dimension[dim])).ToDictionary(kvp => kvp.Key, kvp => kvp.Value)); 639Dictionary<string, Object> newDim = new Dictionary<string, Object>(dimension);
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
90var diagnosticOptions = new Dictionary<string, ReportDiagnostic>(ruleSetSpecificDiagnosticOptions);
Mvc.RoutingWebSite (1)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
45routeValues = new Dictionary<string, object>(_actionContext.RouteData.Values),
PresentationCore (2)
System\Windows\Media\UniqueEventHelper.cs (2)
24ueh._delegates = new Dictionary<EventHandler<TEventArgs>, int>(_delegates); 55ueh._delegates = new Dictionary<EventHandler, int>(_delegates);
PresentationFramework (2)
MS\Internal\Data\CommitManager.cs (1)
158: base(other)
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
24_namespaces = new Dictionary<string, string>(source._namespaces);
System.ComponentModel.Annotations (2)
System\ComponentModel\DataAnnotations\ValidationContext.cs (2)
97_items = items != null ? new Dictionary<object, object?>(items) : new Dictionary<object, object?>(); 133_items = items != null ? new Dictionary<object, object?>(items) : new Dictionary<object, object?>();
System.ComponentModel.Composition (2)
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (1)
53reply = new Dictionary<string, object?>(_sourceDefinition.Metadata);
System\ComponentModel\Composition\ReflectionModel\PartCreatorExportDefinition.cs (1)
35var metadata = new Dictionary<string, object?>(_productDefinition.Metadata);
System.Composition.Hosting (1)
System\Composition\Hosting\Core\ExportDescriptorRegistry.cs (1)
29var updatedDefinitions = new Dictionary<CompositionContract, ExportDescriptor[]>(_partDefinitions);
System.Composition.Runtime (1)
System\Composition\Hosting\Core\CompositionContract.cs (1)
164var remainingConstraints = new Dictionary<string, object>(_metadataConstraints);
System.Data.Odbc (1)
Common\System\Data\Common\DBConnectionString.cs (1)
92_parsetable = new Dictionary<string, string?>(_parsetable);
System.Net.HttpListener (2)
System\Net\Managed\HttpEndPointListener.cs (2)
356p2 = new Dictionary<ListenerPrefix, HttpListener>(prefs); 399p2 = new Dictionary<ListenerPrefix, HttpListener>(prefs);
System.Net.NetworkInformation (2)
System\Net\NetworkInformation\NetworkAddressChange.Unix.cs (2)
270addressChangedSubscribers = new Dictionary<NetworkAddressChangedEventHandler, ExecutionContext?>(s_addressChangedSubscribers); 306new Dictionary<NetworkAvailabilityChangedEventHandler, ExecutionContext?>(
System.Private.Xml (3)
System\Xml\Serialization\Compilation.cs (2)
727? new Dictionary<TempAssemblyCacheKey, TempAssembly>(c) 734cache = new Dictionary<TempAssemblyCacheKey, TempAssembly>(_fastCache); // Clone
System\Xml\Serialization\XmlSerializerNamespaces.cs (1)
35_namespaces = new Dictionary<string, XmlQualifiedName>(namespaces.NamespacesInternal);
System.Security.Claims (1)
System\Security\Claims\Claim.cs (1)
300_properties = new Dictionary<string, string>(other._properties);
System.Windows.Forms.Design (1)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
97_objectState = new(objectState);
System.Xaml (2)
System\Xaml\Context\ObjectWriterFrame.cs (1)
31_preconstructionPropertyValues = new Dictionary<XamlMember, object>(source.PreconstructionPropertyValues);
System\Xaml\InfosetObjects\XamlXmlReaderSettings.cs (1)
28_xmlnsDictionary = new Dictionary<string, string>(settings._xmlnsDictionary);
Templates.Blazor.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
85var finalEnvironmentVariables = new Dictionary<string, string>(environmentVariables)
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
85var finalEnvironmentVariables = new Dictionary<string, string>(environmentVariables)
Templates.Blazor.WebAssembly.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
85var finalEnvironmentVariables = new Dictionary<string, string>(environmentVariables)
Templates.Mvc.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
85var finalEnvironmentVariables = new Dictionary<string, string>(environmentVariables)
Templates.Tests (1)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
85var finalEnvironmentVariables = new Dictionary<string, string>(environmentVariables)
VersioningWebSite (1)
src\Mvc\test\WebSites\Common\TestResponseGenerator.cs (1)
45routeValues = new Dictionary<string, object>(_actionContext.RouteData.Values),
Xunit.NetCore.Extensions (1)
AssemblyFixtureSupport\XunitTestCollectionRunnerWithAssemblyFixture.cs (1)
41var combinedFixtures = new Dictionary<Type, object>(assemblyFixtureMappings);