84 references to Dictionary
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
211EnvVars = new Dictionary<string, string>(otherBuildEnvironment.EnvVars);
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
211EnvVars = 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)
33 Dictionary = 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.OpenApi (2)
Extensions\OpenApiSchemaExtensions.cs (2)
63Extensions = schema.Extensions != null ? new Dictionary<string, IOpenApiExtension>(schema.Extensions) : null, 66Annotations = schema.Annotations != null ? new Dictionary<string, object>(schema.Annotations) : null,
Microsoft.AspNetCore.RateLimiting (1)
RateLimitingMiddleware.cs (1)
47_policyMap = new Dictionary<string, DefaultRateLimiterPolicy>(options.Value.PolicyMap);
Microsoft.Build (8)
BackEnd\BuildManager\BuildParameters.cs (1)
277? new Dictionary<string, string>(other._buildProcessEnvironment)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (1)
776Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties)
Definition\Toolset.cs (1)
323_subToolsets = subToolsetsAsDictionary ?? new Dictionary<string, SubToolset>(subToolsets);
Instance\TaskFactories\TaskHostTask.cs (1)
283new Dictionary<string, string>(_buildComponentHost.BuildParameters.GlobalProperties),
Logging\BinaryLogger\ExtendedDataFields.cs (1)
29new Dictionary<string, string?>(ExtendedMetadata);
TaskHostConfiguration.cs (1)
178_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskHostTaskComplete.cs (1)
133_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskParameter.cs (1)
986IDictionary clonedDictionary = new Dictionary<string, string>(_customEscapedMetadata);
Microsoft.Build.Engine.OM.UnitTests (3)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTaskElementLink.cs (1)
32return local == null ? local : new Dictionary<string, string>(local);
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\ProjectElemetExportHelper.cs (1)
126var newKnown = new Dictionary<Type, ExporterFactory>(knownTypes);
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
217Dictionary<UInt32, ExternalConnection> newMap = new Dictionary<uint, ExternalConnection>(imported);
Microsoft.Build.Engine.UnitTests (2)
BackEnd\LoggingServicesLogMethod_Tests.cs (1)
1294Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties),
Graph\ProjectGraph_Tests.cs (1)
2331var expectedGlobalProperties = new Dictionary<string, string>(globalProperties);
Microsoft.CodeAnalysis.Features (1)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
427var result = new Dictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>(_documentationMap);
Microsoft.DotNet.VersionTools (1)
Automation\GitHubVersionsRepoUpdater.cs (1)
100var allPackages = new Dictionary<string, string>(packageDictionary);
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)
89var diagnosticOptions = new Dictionary<string, ReportDiagnostic>(ruleSetSpecificDiagnosticOptions);
MSBuild (6)
OutOfProcTaskHostNode.cs (2)
482Properties = properties == null ? new Dictionary<string, string>() : new Dictionary<string, string>(properties), 496return new Dictionary<string, string>(_currentConfiguration.GlobalProperties);
TaskHostConfiguration.cs (1)
178_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskHostTaskComplete.cs (1)
133_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskParameter.cs (1)
986IDictionary clonedDictionary = new Dictionary<string, string>(_customEscapedMetadata);
XMake.cs (1)
1830Dictionary<string, string> restoreGlobalProperties = new Dictionary<string, string>(globalProperties);
MSBuildTaskHost (3)
TaskHostConfiguration.cs (1)
178_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskHostTaskComplete.cs (1)
133_buildProcessEnvironment = new Dictionary<string, string>(buildProcessEnvironment);
TaskParameter.cs (1)
986IDictionary clonedDictionary = new Dictionary<string, string>(_customEscapedMetadata);
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)
28ueh._delegates = new Dictionary<EventHandler<TEventArgs>, int>(_delegates); 59ueh._delegates = new Dictionary<EventHandler, int>(_delegates);
PresentationFramework (2)
MS\Internal\Data\CommitManager.cs (1)
165: base(other)
System\Windows\Markup\Baml2006\Baml2006ReaderFrame.cs (1)
28_namespaces = new Dictionary<string, string>(source._namespaces);
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\ValidationContext.cs (1)
97_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)
167var 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)
725? new Dictionary<TempAssemblyCacheKey, TempAssembly>(c) 732cache = 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)
93_objectState = new(objectState);
System.Xaml (2)
System\Xaml\Context\ObjectWriterFrame.cs (1)
37_preconstructionPropertyValues = new Dictionary<XamlMember, object>(source.PreconstructionPropertyValues);
System\Xaml\InfosetObjects\XamlXmlReaderSettings.cs (1)
31_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);