48 references to Dictionary
Microsoft.AspNetCore.Authentication.Abstractions (2)
AuthenticationProperties.cs (2)
54new Dictionary<string, string?>(Items, StringComparer.Ordinal), 55new Dictionary<string, object?>(Parameters, StringComparer.Ordinal));
Microsoft.AspNetCore.Components.Endpoints (1)
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
47_innerDictionary = new Dictionary<TKey, TValue>(_sourceDictionary,
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
65_copy = new Dictionary<TKey, TValue>(_source, _source.Comparer);
Microsoft.AspNetCore.Http.Abstractions (1)
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.Core (5)
ApplicationModels\ActionModel.cs (1)
62RouteValues = new Dictionary<string, string?>(other.RouteValues, StringComparer.OrdinalIgnoreCase);
ApplicationModels\ControllerModel.cs (1)
60RouteValues = new Dictionary<string, string?>(other.RouteValues, StringComparer.OrdinalIgnoreCase);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
47_innerDictionary = new Dictionary<TKey, TValue>(_sourceDictionary,
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
65_copy = new Dictionary<TKey, TValue>(_source, _source.Comparer);
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.NewtonsoftJson (1)
BsonTempDataSerializer.cs (1)
57var convertedDictionary = new Dictionary<string, object?>(
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\PageRouteModel.cs (1)
57RouteValues = new Dictionary<string, string>(other.RouteValues, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
HtmlHelper.cs (1)
161return new Dictionary<string, object>(dictionary, StringComparer.OrdinalIgnoreCase);
TempDataDictionary.cs (1)
141? new Dictionary<string, object?>(providerDictionary, StringComparer.OrdinalIgnoreCase)
Microsoft.AspNetCore.Razor.Runtime (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
47_innerDictionary = new Dictionary<TKey, TValue>(_sourceDictionary,
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
65_copy = new Dictionary<TKey, TValue>(_source, _source.Comparer);
Microsoft.AspNetCore.Routing (1)
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Routing.Abstractions (1)
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Shared.Tests (3)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
47_innerDictionary = new Dictionary<TKey, TValue>(_sourceDictionary,
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionaryHolder.cs (1)
65_copy = new Dictionary<TKey, TValue>(_source, _source.Comparer);
src\Shared\PropertyHelper\PropertyHelper.cs (1)
326return new Dictionary<string, object?>(dictionary, StringComparer.OrdinalIgnoreCase);
Microsoft.Build (7)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
693var globalProperties = new Dictionary<string, string>(templateGlobalProperties, StringComparer.OrdinalIgnoreCase)
BackEnd\Components\RequestBuilder\Lookup.cs (1)
1057_modifications = new Dictionary<string, MetadataModification>(other._modifications, MSBuildNameIgnoreCaseComparer.Default);
Instance\ProjectInstance.cs (1)
3021clone = new Dictionary<string, TValue>(dictionary, strComparer);
Instance\TaskFactories\AssemblyTaskFactory.cs (3)
265_factoryIdentityParameters = new Dictionary<string, string>(taskFactoryIdentityParameters, StringComparer.OrdinalIgnoreCase); 558mergedParameters = new Dictionary<string, string>(taskIdentityParameters, StringComparer.OrdinalIgnoreCase); 562mergedParameters = new Dictionary<string, string>(factoryIdentityParameters, StringComparer.OrdinalIgnoreCase);
Instance\TaskRegistry.cs (1)
807return new Dictionary<string, string>(initialState, StringComparer.OrdinalIgnoreCase);
Microsoft.Build.Engine.UnitTests (3)
Collections\OMcollections_tests.cs (1)
344clone = new Dictionary<string, TValue>(dictionary, strComparer);
InternalEngineHelpers.cs (2)
116newMetadata = new Dictionary<string, string>(item.Value.Metadata, StringComparer.OrdinalIgnoreCase); 125sdkResult.PropertiesToAdd == null ? null : new Dictionary<string, string>(sdkResult.PropertiesToAdd, StringComparer.OrdinalIgnoreCase),
Microsoft.CodeAnalysis.CSharp (2)
Symbols\Source\QuickAttributeChecker.cs (1)
69_nameToAttributeMap = new Dictionary<string, QuickAttributes>(previous._nameToAttributeMap, StringComparer.Ordinal);
Symbols\Source\SourceMemberContainerSymbol.cs (1)
3774membersByName = new Dictionary<ReadOnlyMemory<char>, ImmutableArray<Symbol>>(membersByName, ReadOnlyMemoryOfCharComparer.Instance);
Microsoft.Extensions.Http.Resilience.Tests (2)
Helpers\ConfigurationStubFactory.cs (1)
40Data = new Dictionary<string, string?>(data, StringComparer.OrdinalIgnoreCase);
Routing\RoutingStrategyTest.cs (1)
192Data = new Dictionary<string, string?>(data, StringComparer.OrdinalIgnoreCase);
MSBuild (2)
OutOfProcTaskHostNode.cs (2)
1041updatedEnvironment = new Dictionary<string, string>(environment, StringComparer.OrdinalIgnoreCase); 1101updatedEnvironment ??= new Dictionary<string, string>(environment, StringComparer.OrdinalIgnoreCase);
MSBuildTaskHost (5)
Immutable\ImmutableDictionary.cs (3)
186_backing = new Dictionary<K, V>(imm._backing, keyComparer ?? imm._backing.Comparer); 190_backing = new Dictionary<K, V>(source, keyComparer); 211var n = new Dictionary<K, V>(_backing, _backing.Comparer);
OutOfProcTaskHostNode.cs (2)
1041updatedEnvironment = new Dictionary<string, string>(environment, StringComparer.OrdinalIgnoreCase); 1101updatedEnvironment ??= new Dictionary<string, string>(environment, StringComparer.OrdinalIgnoreCase);
PresentationFramework (1)
System\Windows\Controls\Primitives\Selector.cs (1)
2684_set = new Dictionary<ItemInfo, ItemInfo>(collection._set, _equalityComparer);
System.ComponentModel.Composition (3)
System\ComponentModel\Composition\ReflectionModel\GenericSpecializationPartCreationInfo.cs (3)
100var originalMetadata = new Dictionary<string, object?>(_originalPartCreationInfo.GetMetadata()!, StringComparers.MetadataKeyNames); 443Dictionary<string, object?> metadata = new Dictionary<string, object?>(originalImport.Metadata, StringComparers.MetadataKeyNames); 460Dictionary<string, object?> metadata = new Dictionary<string, object?>(originalExport.Metadata, StringComparers.MetadataKeyNames);
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
85public Dictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) { }