11 interfaces inheriting from IDictionary
Microsoft.AspNetCore.Components.Endpoints (1)
Microsoft.AspNetCore.Http.Features (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
Microsoft.Build (3)
Microsoft.Maui (1)
Microsoft.ML.GenAI.Core (1)
Microsoft.TemplateEngine.Abstractions (1)
System.ServiceModel.Primitives (1)
System.Xaml (1)
125 implementations of IDictionary
dotnet-svcutil-lib (1)
GenerateDocumentationAndConfigFiles (5)
Microsoft.AspNetCore.Components (1)
Microsoft.AspNetCore.Connections.Abstractions (1)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
Microsoft.AspNetCore.Http (3)
Microsoft.AspNetCore.Http.Abstractions (1)
Microsoft.AspNetCore.Mvc.Abstractions (1)
Microsoft.AspNetCore.Mvc.Core (1)
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
Microsoft.AspNetCore.Owin (2)
Microsoft.AspNetCore.Razor.Runtime (1)
Microsoft.Build (8)
Microsoft.Build.Framework (2)
Microsoft.CodeAnalysis (5)
Microsoft.CodeAnalysis.Analyzers (5)
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
Microsoft.CodeAnalysis.CodeStyle (5)
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.NetAnalyzers (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
Microsoft.CodeAnalysis.Workspaces (5)
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions (3)
Microsoft.Extensions.Configuration (1)
Microsoft.Extensions.Http.Diagnostics (1)
Microsoft.Gen.BuildMetadata.Unit.Tests (1)
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (1)
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
Microsoft.Gen.Metrics.Unit.Tests (1)
Microsoft.Gen.MetricsReports.Unit.Tests (1)
Microsoft.Interop.SourceGeneration (1)
Microsoft.Maui.Controls (3)
Microsoft.ML.Core (1)
Microsoft.ML.SearchSpace (3)
Microsoft.ML.TorchSharp (1)
PresentationCore (4)
PresentationFramework (2)
Roslyn.Diagnostics.Analyzers (5)
Shared (1)
System.Collections (3)
System.Collections.Immutable (8)
System.Composition.Hosting (1)
System.Diagnostics.DiagnosticSource (1)
System.Diagnostics.Process (1)
System.Linq.Expressions (1)
System.Net.Http (1)
System.Private.CoreLib (4)
System.Security.Cryptography.Cose (1)
System.ServiceModel.Primitives (1)
System.Speech (1)
System.Text.Json (1)
3990 references to IDictionary
aspire (22)
DotNet\DotNetCliRunner.cs (3)
31Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken);
101IDictionary<string, string>? env,
415public async Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
Aspire.Cli.Tests (10)
TestServices\TestDotNetCliExecutionFactory.cs (5)
24public Func<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions, IDotNetCliExecution>? CreateExecutionCallback { get; set; }
30public Action<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions>? AssertionCallback { get; set; }
54public IDotNetCliExecution CreateExecution(string[] args, IDictionary<string, string>? env, DirectoryInfo workingDirectory, DotNetCliRunnerInvocationOptions options)
82IDictionary<string, string>? env,
140Action<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions> assertionCallback,
TestServices\TestDotNetCliRunner.cs (2)
23public Func<FileInfo, bool, bool, bool, string[], IDictionary<string, string>?, TaskCompletionSource<IAppHostCliBackchannel>?, DotNetCliRunnerInvocationOptions, CancellationToken, Task<int>>? RunAsyncCallback { get; set; }
102public Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
Aspire.Dashboard (14)
Aspire.Dashboard.Tests (1)
Aspire.EndToEnd.Tests (2)
Aspire.Hosting (18)
Ats\CollectionExports.cs (9)
34public static object? DictGet(this IDictionary<string, object> dict, string key)
44public static void DictSet(this IDictionary<string, object> dict, string key, object value)
54public static bool DictRemove(this IDictionary<string, object> dict, string key)
63public static string[] DictKeys(this IDictionary<string, object> dict)
73public static bool DictHas(this IDictionary<string, object> dict, string key)
82public static int DictCount(this IDictionary<string, object> dict)
90public static void DictClear(this IDictionary<string, object> dict)
99public static object[] DictValues(this IDictionary<string, object> dict)
108public static Dictionary<string, object> DictToObject(this IDictionary<string, object> dict)
Aspire.Hosting.Azure (4)
Aspire.Hosting.Azure.CosmosDB (5)
Aspire.Hosting.Azure.EventHubs (4)
Aspire.Hosting.Azure.ServiceBus (5)
Aspire.Hosting.Azure.Storage (5)
Aspire.Hosting.Azure.Tests (1)
Aspire.Hosting.Docker (3)
Aspire.Hosting.Foundry (4)
Aspire.Hosting.RemoteHost (3)
Aspire.Hosting.RemoteHost.Tests (3)
Aspire.Hosting.Tests (2)
Aspire.Hosting.Yarp (1)
Aspire.RabbitMQ.Client (4)
Aspire.Templates.Tests (2)
Aspire.TypeSystem (2)
ConfigurationSchemaGenerator (1)
ConfigurationSchemaGenerator.Tests (4)
crossgen2 (4)
CSharpSyntaxGenerator (4)
datacollector (1)
datacollector.arm64 (1)
dotnet (21)
dotnet-aot (10)
dotnet-openapi (5)
dotnet-svcutil-lib (70)
dotnet-user-jwts (29)
_generated\1\JwtSerializerContext.Jwt.g.cs (3)
253var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
268AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt).GetProperty("CustomClaims", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
271properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info10);
_generated\5\JwtSerializerContext.IDictionaryStringJwt.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>? _IDictionaryStringJwt;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> IDictionaryStringJwt
22get => _IDictionaryStringJwt ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> Create_IDictionaryStringJwt(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>, string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>(options, info);
47private void IDictionaryStringJwtSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>? value)
_generated\6\JwtSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
dotnet-user-secrets (16)
_generated\0\SecretManagerJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
GenerateDocumentationAndConfigFiles (49)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value)
271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value)
340IDictionary<string, ISymbol>? parameterToExistingFieldMap,
341IDictionary<string, string>? parameterToNewFieldMap,
GetDocument.Insider (3)
ilc (4)
ILCompiler.Compiler (12)
Compiler\Logger.cs (2)
56IDictionary<int, bool> warningsAsErrors,
72public Logger(TextWriter writer, ILProvider ilProvider, bool isVerbose, IEnumerable<int> suppressedWarnings, bool singleWarn, IEnumerable<string> singleWarnEnabledModules, IEnumerable<string> singleWarnDisabledModules, IEnumerable<string> suppressedCategories, bool treatWarningsAsErrors, IDictionary<int, bool> warningsAsErrors, bool disableGeneratedCodeHeuristics)
ILCompiler.ReadyToRun (7)
illink (2)
Microsoft.Analyzers.Local (1)
Microsoft.AspNetCore (5)
Microsoft.AspNetCore.Authentication.Abstractions (6)
Microsoft.AspNetCore.Authentication.Core (2)
Microsoft.AspNetCore.Authentication.Google (5)
Microsoft.AspNetCore.Authentication.MicrosoftAccount (3)
Microsoft.AspNetCore.Authentication.Negotiate (3)
Microsoft.AspNetCore.Authentication.OAuth (4)
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
Microsoft.AspNetCore.Components (25)
Microsoft.AspNetCore.Components.Endpoints (194)
_generated\20\BrowserOptionsJsonContext.InteractiveServerBrowserOptions.g.cs (3)
113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>
128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.InteractiveServerBrowserOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>), global::System.Array.Empty<global::System.Type>(), null),
131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>(options, info3);
_generated\22\BrowserOptionsJsonContext.WebAssemblyBrowserOptions.g.cs (4)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssemblyBrowserOptions).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null),
111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info2);
139global::System.Collections.Generic.IDictionary<string, string> __value_EnvironmentVariables = ((global::Microsoft.AspNetCore.Components.WebAssemblyBrowserOptions)value).EnvironmentVariables;
_generated\25\BrowserOptionsJsonContext.IDictionaryStringJsonElement.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>? _IDictionaryStringJsonElement;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> IDictionaryStringJsonElement
22get => _IDictionaryStringJsonElement ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> Create_IDictionaryStringJsonElement(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>, string, global::System.Text.Json.JsonElement>(options, info);
47private void IDictionaryStringJsonElementSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>? value)
_generated\26\BrowserOptionsJsonContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\48\JsonTempDataSerializerContext.IDictionaryStringNullableBoolean.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>>? _IDictionaryStringNullableBoolean;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> IDictionaryStringNullableBoolean
22get => _IDictionaryStringNullableBoolean ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, bool?>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> Create_IDictionaryStringNullableBoolean(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, bool?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, bool?>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, bool?>, string, bool?>(options, info);
47private void IDictionaryStringNullableBooleanSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, bool?>? value)
_generated\49\JsonTempDataSerializerContext.IDictionaryStringBoolean.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>>? _IDictionaryStringBoolean;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> IDictionaryStringBoolean
22get => _IDictionaryStringBoolean ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, bool>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> Create_IDictionaryStringBoolean(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, bool>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, bool>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, bool>, string, bool>(options, info);
47private void IDictionaryStringBooleanSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, bool>? value)
_generated\50\JsonTempDataSerializerContext.IDictionaryStringNullableDateTime.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>? _IDictionaryStringNullableDateTime;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> IDictionaryStringNullableDateTime
22get => _IDictionaryStringNullableDateTime ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> Create_IDictionaryStringNullableDateTime(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>, string, global::System.DateTime?>(options, info);
47private void IDictionaryStringNullableDateTimeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>? value)
_generated\51\JsonTempDataSerializerContext.IDictionaryStringDateTime.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>? _IDictionaryStringDateTime;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> IDictionaryStringDateTime
22get => _IDictionaryStringDateTime ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> Create_IDictionaryStringDateTime(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>, string, global::System.DateTime>(options, info);
47private void IDictionaryStringDateTimeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.DateTime>? value)
_generated\52\JsonTempDataSerializerContext.IDictionaryStringNullableGuid.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>? _IDictionaryStringNullableGuid;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> IDictionaryStringNullableGuid
22get => _IDictionaryStringNullableGuid ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid?>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> Create_IDictionaryStringNullableGuid(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>, string, global::System.Guid?>(options, info);
47private void IDictionaryStringNullableGuidSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Guid?>? value)
_generated\53\JsonTempDataSerializerContext.IDictionaryStringGuid.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>? _IDictionaryStringGuid;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> IDictionaryStringGuid
22get => _IDictionaryStringGuid ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> Create_IDictionaryStringGuid(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>, string, global::System.Guid>(options, info);
47private void IDictionaryStringGuidSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Guid>? value)
_generated\54\JsonTempDataSerializerContext.IDictionaryStringNullableInt32.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>>? _IDictionaryStringNullableInt32;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> IDictionaryStringNullableInt32
22get => _IDictionaryStringNullableInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, int?>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> Create_IDictionaryStringNullableInt32(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, int?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, int?>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, int?>, string, int?>(options, info);
47private void IDictionaryStringNullableInt32SerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, int?>? value)
_generated\55\JsonTempDataSerializerContext.IDictionaryStringInt32.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>>? _IDictionaryStringInt32;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> IDictionaryStringInt32
22get => _IDictionaryStringInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, int>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> Create_IDictionaryStringInt32(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, int>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, int>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, int>, string, int>(options, info);
47private void IDictionaryStringInt32SerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, int>? value)
_generated\56\JsonTempDataSerializerContext.IDictionaryStringObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>? _IDictionaryStringObject;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> IDictionaryStringObject
22get => _IDictionaryStringObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, object>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> Create_IDictionaryStringObject(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, object>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, object>, string, object>(options, info);
_generated\57\JsonTempDataSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\68\JsonTempDataSerializerContext.GetJsonTypeInfo.g.cs (10)
70if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool?>))
74if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool>))
78if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>))
82if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime>))
86if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid?>))
90if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid>))
94if (type == typeof(global::System.Collections.Generic.IDictionary<string, int?>))
98if (type == typeof(global::System.Collections.Generic.IDictionary<string, int>))
102if (type == typeof(global::System.Collections.Generic.IDictionary<string, object>))
106if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (6)
35var _ when type == (typeof(IDictionary<TKey, TValue>)) => true,
61var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null => true,
92var _ when type == (typeof(IDictionary<TKey, TValue>)) =>
93new DictionaryConverter<IDictionary<TKey, TValue>,
95IDictionary<TKey, TValue>,
143var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null =>
TempData\JsonTempDataSerializer.cs (15)
12public IDictionary<string, object?> DeserializeData(IDictionary<string, JsonElement> data)
117var dictionaryInterface = type.GetInterface(typeof(IDictionary<,>).Name);
142public byte[] SerializeData(IDictionary<string, object?> data)
151return JsonSerializer.SerializeToUtf8Bytes<IDictionary<string, object?>>(normalizedData, JsonTempDataSerializerContext.Default.Options);
178[JsonSerializable(typeof(IDictionary<string, int>))]
179[JsonSerializable(typeof(IDictionary<string, bool>))]
180[JsonSerializable(typeof(IDictionary<string, string>))]
181[JsonSerializable(typeof(IDictionary<string, Guid>))]
182[JsonSerializable(typeof(IDictionary<string, DateTime>))]
184[JsonSerializable(typeof(IDictionary<string, int?>))]
185[JsonSerializable(typeof(IDictionary<string, bool?>))]
186[JsonSerializable(typeof(IDictionary<string, Guid?>))]
187[JsonSerializable(typeof(IDictionary<string, DateTime?>))]
192[JsonSerializable(typeof(IDictionary<string, object?>))]
TempData\TempData.cs (10)
14private Func<IDictionary<string, object?>>? _loadFunc;
17internal TempData(Func<IDictionary<string, object?>> loadFunc)
28var dataToLoad = _loadFunc();
87public IDictionary<string, object?> Save()
97public void Load(IDictionary<string, object?> data)
115ICollection<string> IDictionary<string, object?>.Keys => Data.Keys;
117ICollection<object?> IDictionary<string, object?>.Values => Data.Values;
122void IDictionary<string, object?>.Add(string key, object? value)
127bool IDictionary<string, object?>.TryGetValue(string key, out object? value)
139((IDictionary<string, object?>)this).Add(item.Key, item.Value);
Microsoft.AspNetCore.Components.Server (11)
Microsoft.AspNetCore.Components.Web (1)
Microsoft.AspNetCore.Components.WebAssembly (7)
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
Microsoft.AspNetCore.Components.WebView (20)
_generated\7\SourceGenerationContext.IDictionaryStringStaticWebAssetNode.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>? _IDictionaryStringStaticWebAssetNode;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> IDictionaryStringStaticWebAssetNode
24get => _IDictionaryStringStaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> Create_IDictionaryStringStaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> jsonTypeInfo))
31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>, string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>(options, info);
49private void IDictionaryStringStaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>? value)
Microsoft.AspNetCore.Components.WebView.Maui (2)
Microsoft.AspNetCore.Components.WebView.WindowsForms (6)
Microsoft.AspNetCore.Components.WebView.Wpf (4)
Microsoft.AspNetCore.Connections.Abstractions (15)
ConnectionItems.cs (9)
30public ConnectionItems(IDictionary<object, object?> items)
38public IDictionary<object, object?> Items { get; }
41object? IDictionary<object, object?>.this[object key]
54void IDictionary<object, object?>.Add(object key, object? value)
59bool IDictionary<object, object?>.ContainsKey(object key)
64ICollection<object> IDictionary<object, object?>.Keys
69bool IDictionary<object, object?>.Remove(object key)
74bool IDictionary<object, object?>.TryGetValue(object key, out object? value)
79ICollection<object?> IDictionary<object, object?>.Values
Microsoft.AspNetCore.Cors (1)
Microsoft.AspNetCore.Diagnostics (1)
Microsoft.AspNetCore.Diagnostics.HealthChecks (4)
Microsoft.AspNetCore.Diagnostics.Middleware (5)
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Microsoft.AspNetCore.HeaderParsing (2)
Microsoft.AspNetCore.HeaderPropagation (5)
Microsoft.AspNetCore.Hosting (15)
_generated\7\SourceGenerationContext.IDictionaryStringStaticWebAssetNode.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>? _IDictionaryStringStaticWebAssetNode;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> IDictionaryStringStaticWebAssetNode
24get => _IDictionaryStringStaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> Create_IDictionaryStringStaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> jsonTypeInfo))
31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>, string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>(options, info);
49private void IDictionaryStringStaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>? value)
Microsoft.AspNetCore.Http (26)
Internal\ItemsDictionary.cs (11)
15private IDictionary<object, object?>? _items;
20public ItemsDictionary(IDictionary<object, object?> items)
25public IDictionary<object, object?> Items => this;
28object? IDictionary<object, object?>.this[object key]
45void IDictionary<object, object?>.Add(object key, object? value)
51bool IDictionary<object, object?>.ContainsKey(object key)
54ICollection<object> IDictionary<object, object?>.Keys
67bool IDictionary<object, object?>.Remove(object key)
70bool IDictionary<object, object?>.TryGetValue(object key, out object? value)
76ICollection<object?> IDictionary<object, object?>.Values
163public static readonly IDictionary<object, object?> Dictionary = new Dictionary<object, object?>();
Microsoft.AspNetCore.Http.Abstractions (14)
Microsoft.AspNetCore.Http.Connections (2)
Microsoft.AspNetCore.Http.Connections.Client (3)
Microsoft.AspNetCore.Http.Extensions (40)
_generated\1\ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (6)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string[]>>
68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetProperty("Errors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string[]>), global::System.Array.Empty<global::System.Type>(), null),
71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string[]>>(options, info0);
180var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>>
195AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
198properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info6);
_generated\2\ProblemDetailsJsonContext.ProblemDetails.g.cs (3)
158var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>>
173AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null),
176properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info5);
_generated\3\ProblemDetailsJsonContext.IDictionaryStringObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>? _IDictionaryStringObject;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> IDictionaryStringObject
22get => _IDictionaryStringObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, object>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> Create_IDictionaryStringObject(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, object>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, object>, string, object>(options, info);
_generated\4\ProblemDetailsJsonContext.IDictionaryStringStringArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>>? _IDictionaryStringStringArray;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> IDictionaryStringStringArray
22get => _IDictionaryStringStringArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string[]>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> Create_IDictionaryStringStringArray(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string[]>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string[]>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string[]>, string, string[]>(options, info);
47private void IDictionaryStringStringArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string[]>? value)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (6)
35var _ when type == (typeof(IDictionary<TKey, TValue>)) => true,
61var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null => true,
92var _ when type == (typeof(IDictionary<TKey, TValue>)) =>
93new DictionaryConverter<IDictionary<TKey, TValue>,
95IDictionary<TKey, TValue>,
143var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null =>
Microsoft.AspNetCore.Http.Features (4)
Microsoft.AspNetCore.Http.Results (6)
Microsoft.AspNetCore.Identity (1)
Microsoft.AspNetCore.InternalTesting (2)
Microsoft.AspNetCore.JsonPatch (12)
Microsoft.AspNetCore.JsonPatch.SystemTextJson (12)
Microsoft.AspNetCore.MiddlewareAnalysis (1)
Microsoft.AspNetCore.Mvc.Abstractions (18)
ModelBinding\Validation\ValidationStateDictionary.cs (9)
46ValidationStateEntry IDictionary<object, ValidationStateEntry>.this[object key]
58public bool IsReadOnly => ((IDictionary<object, ValidationStateEntry>)_inner).IsReadOnly;
61public ICollection<object> Keys => ((IDictionary<object, ValidationStateEntry>)_inner).Keys;
64public ICollection<ValidationStateEntry> Values => ((IDictionary<object, ValidationStateEntry>)_inner).Values;
77((IDictionary<object, ValidationStateEntry>)_inner).Add(item);
95return ((IDictionary<object, ValidationStateEntry>)_inner).Contains(item);
107((IDictionary<object, ValidationStateEntry>)_inner).CopyTo(array, arrayIndex);
113return ((IDictionary<object, ValidationStateEntry>)_inner).GetEnumerator();
137return ((IDictionary<object, ValidationStateEntry>)_inner).GetEnumerator();
Microsoft.AspNetCore.Mvc.Core (68)
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (6)
Microsoft.AspNetCore.Mvc.Razor (8)
Microsoft.AspNetCore.Mvc.RazorPages (15)
Microsoft.AspNetCore.Mvc.TagHelpers (16)
Microsoft.AspNetCore.Mvc.Testing (17)
_generated\0\CustomJsonSerializerContext.IDictionaryStringString.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
24get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
49private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
Microsoft.AspNetCore.Mvc.ViewFeatures (201)
HtmlHelper.cs (21)
129/// If the <paramref name="value"/> is already an <see cref="IDictionary{String, Object}"/> instance, then it
138public static IDictionary<string, object> ObjectToDictionary(object value)
150/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a shallow copy is
157public static IDictionary<string, object> AnonymousObjectToHtmlAttributes(object htmlAttributes)
159if (htmlAttributes is IDictionary<string, object> dictionary)
474/// <param name="additionalViewData">The additional view data, either an <see cref="IDictionary{String, Object}"/> or some other object whose public properties will be merged with the <see cref="T:ViewDataDictionary" />.</param>
711/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
813/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
877/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
888/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
935/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
946/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
991/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1036/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1088/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1132/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1164/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1198/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1232/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1266/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
1298/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
IHtmlGenerator.cs (23)
55/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
59/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
89/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
93/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
128/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
161/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
166/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
190/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
196/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
220/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
225/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
249/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
271/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
292/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
314/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
338/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
342/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
378/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
426/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
475/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
498/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
527/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
550/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
Rendering\HtmlHelperFormExtensions.cs (11)
99/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
138/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
173/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
235/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
303/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
341/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
377/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
407/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
496/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
558/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
593/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
Rendering\HtmlHelperLinkExtensions.cs (12)
49/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
83/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
88/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
152/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
188/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
193/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
228/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
285/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
317/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
322/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
355/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the route
360/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
Rendering\IHtmlHelper.cs (21)
71/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
75/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
105/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
116/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
141/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
152/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
184/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
209/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
272/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
301/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
413/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
437/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
460/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
503/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
542/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
594/// <see cref="IDictionary{String, Object}"/> instance containing the route parameters.
598/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
625/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
653/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
675/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
698/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
Rendering\IHtmlHelperOfT.cs (12)
36/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
59/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
133/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
160/// An anonymous <see cref="object"/> or <see cref="IDictionary{String, Object}"/> that can contain additional
198/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
226/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
252/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
284/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
317/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
349/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
379/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
405/// Alternatively, an <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
Microsoft.AspNetCore.OutputCaching (3)
Microsoft.AspNetCore.Owin (66)
DictionaryStringArrayWrapper.cs (9)
26string[] IDictionary<string, string[]>.this[string key]
28get { return ((IDictionary<string, StringValues>)Inner)[key]; }
36ICollection<string> IDictionary<string, string[]>.Keys => Inner.Keys;
38ICollection<string[]> IDictionary<string, string[]>.Values => Inner.Values.Select(Convert).ToList();
42void IDictionary<string, string[]>.Add(string key, string[] value) => Inner.Add(key, value);
48bool IDictionary<string, string[]>.ContainsKey(string key) => Inner.ContainsKey(key);
66bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key);
68bool IDictionary<string, string[]>.TryGetValue(string key, out string[] value)
85internal ConvertingEnumerator(IDictionary<string, StringValues> inner)
DictionaryStringValuesWrapper.cs (10)
14public readonly IDictionary<string, string[]> Inner;
16public DictionaryStringValuesWrapper(IDictionary<string, string[]> inner)
37StringValues IDictionary<string, StringValues>.this[string key]
81ICollection<string> IDictionary<string, StringValues>.Keys => Inner.Keys;
83ICollection<StringValues> IDictionary<string, StringValues>.Values => Inner.Values.Select(Convert).ToList();
87void IDictionary<string, StringValues>.Add(string key, StringValues value) => Inner.Add(key, value);
93bool IDictionary<string, StringValues>.ContainsKey(string key) => Inner.ContainsKey(key);
111bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key);
113bool IDictionary<string, StringValues>.TryGetValue(string key, out StringValues value)
130internal ConvertingEnumerator(IDictionary<string, string[]> inner)
OwinEnvironment.cs (14)
71public IDictionary<string, FeatureMap> FeatureMaps => _owinEntries.GetFeatureMaps();
73void IDictionary<string, object>.Add(string key, object value)
82bool IDictionary<string, object>.ContainsKey(string key) => ((IDictionary<string, object>)this).TryGetValue(key, out _);
84ICollection<string> IDictionary<string, object>.Keys
90bool IDictionary<string, object>.Remove(string key)
99bool IDictionary<string, object>.TryGetValue(string key, out object value)
108ICollection<object> IDictionary<string, object>.Values
113object IDictionary<string, object>.this[string key]
415{ OwinConstants.RequestHeaders, new FeatureMap<IHttpRequestFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) },
421{ OwinConstants.ResponseHeaders, new FeatureMap<IHttpResponseFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) },
464private IDictionary<string, FeatureMap> _contextEntries;
477private readonly IDictionary<string, FeatureMap> _contextDependentEntries;
507public IDictionary<string, FeatureMap> GetFeatureMaps()
OwinExtensions.cs (6)
11Func<IDictionary<string, object>, Task>,
12Func<IDictionary<string, object>, Task>
14using AppFunc = Func<IDictionary<string, object>, Task>;
16Func<IDictionary<string, object>, Task>,
17Func<IDictionary<string, object>, Task>
46IDictionary<string, object> env;
WebSockets\WebSocketAcceptAdapter.cs (7)
9using AppFunc = Func<IDictionary<string, object>, Task>;
13IDictionary<string, object>, // WebSocket Accept parameters
16IDictionary<string, object>, // WebSocket environment
33private readonly IDictionary<string, object> _env;
36private IDictionary<string, object> _options;
43public WebSocketAcceptAdapter(IDictionary<string, object> env, WebSocketAcceptAlt accept)
49private void AcceptWebSocket(IDictionary<string, object> options, AppFunc callback)
Microsoft.AspNetCore.Razor (14)
TagHelpers\TagHelperContext.cs (8)
24IDictionary<object, object> items,
41IDictionary<object, object> items,
67/// This <see cref="IDictionary{Object, Object}" /> is copy-on-write in order to ensure items added to this
70public IDictionary<object, object> Items { get; private set; }
81/// <param name="items">The <see cref="IDictionary{Object, Object}"/> to use.</param>
83public void Reinitialize(string tagName, IDictionary<object, object> items, string uniqueId)
92/// <param name="items">The <see cref="IDictionary{Object, Object}"/> to use.</param>
94public void Reinitialize(IDictionary<object, object> items, string uniqueId)
Microsoft.AspNetCore.Razor.Runtime (13)
Microsoft.AspNetCore.RequestDecompression (2)
Microsoft.AspNetCore.Rewrite (3)
Microsoft.AspNetCore.Routing (25)
Microsoft.AspNetCore.Routing.Abstractions (3)
Microsoft.AspNetCore.Server.HttpSys (17)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (11)
18private IDictionary<string, StringValues>? _extra;
30private IDictionary<string, StringValues> Extra
44StringValues IDictionary<string, StringValues>.this[string key]
66private void GetUnknownHeaders(IDictionary<string, StringValues> extra)
71void IDictionary<string, StringValues>.Add(string key, StringValues value)
110ICollection<StringValues> IDictionary<string, StringValues>.Values
147((IDictionary<string, StringValues>)this).Add(item.Key, item.Value);
161return ((IDictionary<string, StringValues>)this).TryGetValue(item.Key, out var value) && Equals(value, item.Value);
241return ((IDictionary<string, StringValues>)this).Contains(item) &&
242((IDictionary<string, StringValues>)this).Remove(item.Key);
252return ((IDictionary<string, StringValues>)this).GetEnumerator();
Microsoft.AspNetCore.Server.IIS (16)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (11)
18private IDictionary<string, StringValues>? _extra;
30private IDictionary<string, StringValues> Extra
44StringValues IDictionary<string, StringValues>.this[string key]
66private void GetUnknownHeaders(IDictionary<string, StringValues> extra)
71void IDictionary<string, StringValues>.Add(string key, StringValues value)
110ICollection<StringValues> IDictionary<string, StringValues>.Values
147((IDictionary<string, StringValues>)this).Add(item.Key, item.Value);
161return ((IDictionary<string, StringValues>)this).TryGetValue(item.Key, out var value) && Equals(value, item.Value);
241return ((IDictionary<string, StringValues>)this).Contains(item) &&
242((IDictionary<string, StringValues>)this).Remove(item.Key);
252return ((IDictionary<string, StringValues>)this).GetEnumerator();
Microsoft.AspNetCore.Server.IntegrationTesting (8)
Microsoft.AspNetCore.Server.Kestrel.Core (24)
Internal\Http\HttpHeaders.cs (10)
78StringValues IDictionary<string, StringValues>.this[string key]
119ICollection<string> IDictionary<string, StringValues>.Keys => ((IDictionary<string, StringValues>)this).Select(pair => pair.Key).ToHashSet(StringComparer.OrdinalIgnoreCase);
121ICollection<StringValues> IDictionary<string, StringValues>.Values => ((IDictionary<string, StringValues>)this).Select(pair => pair.Value).ToList();
186((IDictionary<string, StringValues>)this).Add(item.Key, item.Value);
189void IDictionary<string, StringValues>.Add(string key, StringValues value)
222bool IDictionary<string, StringValues>.ContainsKey(string key)
253bool IDictionary<string, StringValues>.Remove(string key)
262bool IDictionary<string, StringValues>.TryGetValue(string key, out StringValues value)
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (3)
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (8)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
Microsoft.AspNetCore.SignalR.Common (1)
Microsoft.AspNetCore.SignalR.Core (6)
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
src\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (4)
102public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args)
194public Task<string> SendInvocationAsync(string methodName, IDictionary<string, string> headers, params object[] args)
204public Task<string> SendInvocationAsync(string methodName, bool nonBlocking, IDictionary<string, string> headers, params object[] args)
220public Task<string> SendStreamInvocationAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args)
Microsoft.AspNetCore.SpaServices.Extensions (2)
Microsoft.AspNetCore.StaticFiles (2)
Microsoft.AspNetCore.TestHost (3)
Microsoft.AspNetCore.WebUtilities (1)
Microsoft.Build (336)
BackEnd\BuildManager\BuildRequestData.cs (3)
109public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices)
124public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties,
143public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (8)
922private static void DiffHashtables<K, V>(IDictionary<K, V> h1, IDictionary<K, V> h2, out List<K> commonKeys, out List<K> uniqueKeysInH1, out List<K> uniqueKeysInH2) where K : class, IEquatable<K> where V : class
1260private IDictionary<string, object> _uniqueTargetInputs =
1261(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase));
1266private IDictionary<string, object> _uniqueTargetOutputs =
1267(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase));
BackEnd\Components\SdkResolution\SdkResult.cs (6)
34IDictionary<string, string> propertiesToAdd = null, IDictionary<string, SdkResultItem> itemsToAdd = null, IDictionary<string, string> environmentVariablesToAdd = null)
50public SdkResult(SdkReference sdkReference, IEnumerable<string> paths, string version, IDictionary<string, string> propertiesToAdd,
51IDictionary<string, SdkResultItem> itemsToAdd, IEnumerable<string> warnings, IDictionary<string, string> environmentVariablesToAdd = null)
BackEnd\Components\SdkResolution\SdkResultFactory.cs (10)
38IDictionary<string, string> propertiesToAdd,
39IDictionary<string, SdkResultItem> itemsToAdd,
47IDictionary<string, string> propertiesToAdd,
48IDictionary<string, SdkResultItem> itemsToAdd,
56IDictionary<string, string> propertiesToAdd,
57IDictionary<string, SdkResultItem> itemsToAdd,
59IDictionary<string, string> environmentVariablesToAdd = null)
66IDictionary<string, string> propertiesToAdd = null,
67IDictionary<string, SdkResultItem> itemsToAdd = null,
69IDictionary<string, string> environmentVariablesToAdd = null)
Collections\CopyOnWritePropertyDictionary.cs (9)
67ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys;
72ICollection<T> IDictionary<string, T>.Values => ((IDictionary<string, T>)_backing).Values;
215IDictionary<string, T> otherDict = other;
254void IDictionary<string, T>.Add(string key, T value)
264bool IDictionary<string, T>.ContainsKey(string key) => _backing.ContainsKey(key);
269bool IDictionary<string, T>.TryGetValue(string key, out T value) => _backing.TryGetValue(key, out value);
280((IDictionary<string, T>)this).Add(item.Key, item.Value);
Collections\PropertyDictionary.cs (12)
114ICollection<string> IDictionary<string, T>.Keys
121ICollection<T> IDictionary<string, T>.Values
169T IDictionary<string, T>.this[string name]
221return ((IDictionary<string, T>)this).ContainsKey(name);
368void IDictionary<string, T>.Add(string key, T value)
379bool IDictionary<string, T>.ContainsKey(string key)
390bool IDictionary<string, T>.Remove(string key)
398bool IDictionary<string, T>.TryGetValue(string key, out T value)
414((IDictionary<string, T>)this).Add(item.Key, item.Value);
455return ((IDictionary<string, T>)this).Remove(item.Key);
464return ((IDictionary<string, T>)this).TryGetValue(item.Key, out T existingItem) &&
577internal IDictionary<string, string> ToReadOnlyDictionary()
Construction\Solution\SolutionProjectGenerator.cs (6)
127private readonly IDictionary<string, string> _globalProperties;
174IDictionary<string, string> globalProperties,
213IDictionary<string, string> globalProperties,
357internal static string PredictActiveSolutionConfigurationName(SolutionFile solutionFile, IDictionary<string, string> globalProperties)
677private static string DetermineLikelyActiveSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties)
2136private IDictionary<string, string> GetMetaprojectGlobalProperties(ProjectInstance traversalProject)
Definition\Project.cs (31)
172public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
186public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions)
214public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion)
230public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
247public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
265public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
270private Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings,
308public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion)
324public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
341public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
359public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
364private Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings,
401public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion)
418public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
436public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
455public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
460private Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings,
628public IDictionary<string, string> GlobalProperties => implementation.GlobalProperties;
677public IDictionary<string, List<string>> ConditionedProperties => implementation.ConditionedProperties;
683public IDictionary<string, ProjectItemDefinition> ItemDefinitions => implementation.ItemDefinitions;
723public IDictionary<string, ProjectTargetInstance> Targets => implementation.Targets;
1915public ProjectImpl(Project owner, ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings)
1939public ProjectImpl(Project owner, XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
1974public ProjectImpl(Project owner, string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext)
2177public override IDictionary<string, string> GlobalProperties
2229public override IDictionary<string, List<string>> ConditionedProperties
2247public override IDictionary<string, ProjectItemDefinition> ItemDefinitions
2345public override IDictionary<string, ProjectTargetInstance> Targets
3818internal void Initialize(IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext, bool interactive)
4135public IDictionary<string, List<TargetSpecification>> BeforeTargets { get; set; }
4140public IDictionary<string, List<TargetSpecification>> AfterTargets { get; set; }
Definition\ProjectCollection.cs (13)
240public ProjectCollection(IDictionary<string, string> globalProperties)
253public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, ToolsetDefinitionLocations toolsetDefinitionLocations)
272public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents)
292public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly)
314/// This constructor disables target output logging, so TerminalLogger and other loggers may not work well. Prefer <see cref="ProjectCollection(IDictionary{string, string}, IEnumerable{ILogger}, IEnumerable{ForwardingLoggerRecord}, ToolsetDefinitionLocations, int, bool, bool, bool, bool, bool)"/> instead to control this behavior.
317public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) :
340public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache, bool enableTargetOutputLogging)
363private ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache, bool enableTargetOutputLogging)
622public IDictionary<string, string> GlobalProperties
1253public Project LoadProject(string fileName, IDictionary<string, string> globalProperties, string toolsVersion)
1364public Project LoadProject(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion)
2031internal Project GetMatchingProjectIfAny(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion)
2131private static bool HasEquivalentGlobalPropertiesAndToolsVersion(Project project, IDictionary<string, string> globalProperties, string toolsVersion)
Definition\Toolset.cs (8)
176public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath)
193public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, IDictionary<string, SubToolset> subToolsets, string msbuildOverrideTasksPath)
252IDictionary<string, SubToolset> subToolsets,
389public IDictionary<string, ProjectPropertyInstance> Properties
405public IDictionary<string, SubToolset> SubToolsets
545public string GenerateSubToolsetVersion(IDictionary<string, string> overrideGlobalProperties, int solutionVersion)
724internal string GenerateSubToolsetVersionUsingVisualStudioVersion(IDictionary<string, string> overrideGlobalProperties, int visualStudioVersionFromSolution)
Graph\ProjectGraph.cs (4)
205public ProjectGraph(string entryProjectFile, IDictionary<string, string> globalProperties)
222public ProjectGraph(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties)
243public ProjectGraph(string entryProjectFile, IDictionary<string, string> globalProperties, ProjectCollection projectCollection)
264public ProjectGraph(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties, ProjectCollection projectCollection)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (7)
21protected readonly IDictionary<string, TCached> _projectElements;
25IDictionary<string, TCached> projectElements,
26IDictionary<(string, int, int), TCached> constrainedProjectElements,
107private readonly IDictionary<string, TCached> _projectElements;
108private readonly IDictionary<(string, int, int), TCached> _constrainedProjectElements;
112IDictionary<string, TCached> projectElements,
113IDictionary<(string, int, int), TCached> constrainedProjectElements,
Instance\ProjectInstance.cs (53)
93private IDictionary<string, ProjectTargetInstance> _targets;
189private IDictionary<string, List<TargetSpecification>> _beforeTargets;
190private IDictionary<string, List<TargetSpecification>> _afterTargets;
233public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion)
250public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
268public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection)
285internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, EvaluationContext context, bool interactive = false)
309private ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection,
357public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection)
376public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection)
553private ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection,
573/// <param name="globalProperties">An <see cref="IDictionary{String,String}"/> containing global properties.</param>
574internal ProjectInstance(string projectFile, ProjectInstance projectToInheritFrom, IDictionary<string, string> globalProperties)
630internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId)
645internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ILoggingService loggingService, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId)
656internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId, ProjectLoadSettings? projectLoadSettings)
672internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId)
977IDictionary<string, ProjectItemDefinition> linkedProjectItemDefinitions = linkedProject.ItemDefinitions;
980out IDictionary<string, ProjectItemDefinition> elementsDictionary,
981out IDictionary<(string, int, int), ProjectItemDefinition> constrainedElementsDictionary);
995var itemsByType = linkedProject.Items as IDictionary<string, ICollection<ProjectItem>>;
1046if (projectItemDefinition.Metadata is IDictionary<string, ProjectMetadata> linkedMetadataDict)
1068out IDictionary<string, ProjectProperty> elementsDictionary,
1069out IDictionary<(string, int, int), ProjectProperty> constrainedElementsDictionary);
1098out IDictionary<string, TCached> elementsDictionary,
1099out IDictionary<(string, int, int), TCached> constrainedElementsDictionary)
1110if (elementsCollection is not IDictionary<string, TCached> elementsDict ||
1111elementsCollection is not IDictionary<(string, int, int), TCached> constrainedElementsDict)
1128public IDictionary<string, string> GlobalProperties
1281public IDictionary<string, ProjectItemDefinitionInstance> ItemDefinitions
1339public IDictionary<string, ProjectTargetInstance> Targets
1582IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.BeforeTargets
1592IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AfterTargets
1983if (sdkResult?.EnvironmentVariablesToAdd is IDictionary<string, string> sdkEnvironmentVariablesToAdd && sdkEnvironmentVariablesToAdd.Count > 0)
2342IDictionary<string, TargetResult> targetOutputs;
2359public bool Build(string[] targets, IEnumerable<ILogger> loggers, out IDictionary<string, TargetResult> targetOutputs)
2377public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs)
2846internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs)
2902internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs)
3048IDictionary<string, string> globalProperties,
3101IDictionary<string, string> globalProperties,
3185private static ObjectModel.ReadOnlyDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary, StringComparer strComparer)
3205private static IDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary) where TValue : class, IKeyed
3244IDictionary<string, string> globalProperties,
3383IDictionary<string, ProjectTargetInstance> targets,
3386IDictionary<string, List<TargetSpecification>> beforeTargets,
3387IDictionary<string, List<TargetSpecification>> afterTargets)
3397IDictionary<string, List<TargetSpecification>> beforeTargets,
3398IDictionary<string, List<TargetSpecification>> afterTargets)
3573if (item.DirectMetadata is IDictionary<string, ProjectMetadata> metadataDict)
3607private void CreateItemDefinitionsSnapshot(IDictionary<string, ProjectItemDefinition> itemDefinitions)
Instance\TaskFactories\AssemblyTaskFactory.cs (6)
115public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
138public bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
181public ITask CreateTask(IBuildEngine taskFactoryLoggingHost, IDictionary<string, string> taskIdentityParameters)
240IDictionary<string, TaskPropertyInfo> taskParameters,
759public bool Initialize(string taskName, TaskHostParameters factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Logging\ProfilerLogger.cs (5)
174IDictionary<EvaluationLocation, EvaluationLocation> originalLocations,
175IDictionary<long, long> mergeMap,
176IDictionary<EvaluationLocation, ProfiledLocation> aggregatedLocations,
216IDictionary<EvaluationLocation, ProfiledLocation> aggregatedLocations)
240private static long? FindBigEnoughParentId(IDictionary<long, KeyValuePair<EvaluationLocation, ProfiledLocation>> idTable,
Microsoft.Build.Framework (119)
BinaryTranslator.cs (21)
597IDictionary<string, string> copy = dictionary;
617public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys)
653public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator)
674ref IDictionary<K, V> dictionary,
677NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator)
699ref IDictionary<K, V> dictionary,
703NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator)
747where D : IDictionary<string, T>, new()
770where D : IDictionary<string, T>
1438IDictionary<string, string> copy = dictionary;
1439TranslateDictionary(ref copy, (NodePacketCollectionCreator<IDictionary<string, string>>)null);
1453public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys)
1508public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator)
1528ref IDictionary<K, V> dictionary,
1531NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator)
1552ref IDictionary<K, V> dictionary,
1556NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator)
1598where D : IDictionary<string, T>, new()
1620where D : IDictionary<string, T>
ITranslator.cs (9)
364void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys);
366void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> collectionCreator);
370void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslator<V> valueTranslator, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator);
372void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslatorWithValueFactory<V> valueTranslator, NodePacketValueFactory<V> valueFactory, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator);
394where D : IDictionary<string, T>, new()
407where D : IDictionary<string, T>
Sdk\SdkResultFactory.cs (10)
37IDictionary<string, string> propertiesToAdd,
38IDictionary<string, SdkResultItem> itemsToAdd,
61IDictionary<string, string> propertiesToAdd,
62IDictionary<string, SdkResultItem> itemsToAdd,
90IDictionary<string, string> propertiesToAdd,
91IDictionary<string, SdkResultItem> itemsToAdd,
93IDictionary<string, string> environmentVariablesToAdd = null)
120IDictionary<string, string> propertiesToAdd = null,
121IDictionary<string, SdkResultItem> itemsToAdd = null,
123IDictionary<string, string> environmentVariablesToAdd = null)
Microsoft.Build.Tasks.CodeAnalysis (2)
Microsoft.Build.Tasks.Core (25)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (4)
47internal static readonly IDictionary<string, IEnumerable<string>> DefaultReferences = new Dictionary<string, IEnumerable<string>>(StringComparer.OrdinalIgnoreCase)
72internal static readonly IDictionary<string, ISet<string>> ValidCodeLanguages = new Dictionary<string, ISet<string>>(StringComparer.OrdinalIgnoreCase)
179public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
219private bool TryResolveCompiledTaskType(Assembly assembly, IDictionary<string, TaskPropertyInfo> parameterGroup, RoslynCodeTaskFactoryTaskInfo taskInfo, string taskName)
Microsoft.Build.Utilities.Core (13)
ToolLocationHelper.cs (8)
377public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, Version targetPlatformVersion)
389public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion)
402public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion)
423public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, Version targetPlatformVersion)
435public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion)
448public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion)
622public static IDictionary<string, string> FilterPlatformExtensionSDKs(Version targetPlatformVersion, IDictionary<string, string> extensionSdks)
Microsoft.CodeAnalysis (36)
Collections\CachingDictionary.cs (10)
41private IDictionary<TKey, ImmutableArray<TElement>>? _map;
137private IDictionary<TKey, ImmutableArray<TElement>> CreateDictionaryForFullyPopulatedMap(int capacity)
153var localMap = _map;
204private static bool IsNotFullyPopulatedMap([NotNullWhen(returnValue: false)] IDictionary<TKey, ImmutableArray<TElement>>? existingMap)
214private IDictionary<TKey, ImmutableArray<TElement>> CreateFullyPopulatedMap(ConcurrentDictionary<TKey, ImmutableArray<TElement>>? existingMap)
222var fullyPopulatedMap = CreateDictionaryForFullyPopulatedMap(capacity: allKeys.Count);
249private IDictionary<TKey, ImmutableArray<TElement>> EnsureFullyPopulated()
251var currentMap = _map;
254IDictionary<TKey, ImmutableArray<TElement>> fullyPopulatedMap = CreateFullyPopulatedMap((ConcurrentDictionary<TKey, ImmutableArray<TElement>>?)currentMap);
256var replacedMap = Interlocked.CompareExchange(ref _map, fullyPopulatedMap, currentMap);
Microsoft.CodeAnalysis.Analyzers (49)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value)
271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value)
340IDictionary<string, ISymbol>? parameterToExistingFieldMap,
341IDictionary<string, string>? parameterToNewFieldMap,
Microsoft.CodeAnalysis.AnalyzerUtilities (70)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (6)
469IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues,
470IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues,
471IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
643IDictionary<AnalysisEntity, TAbstractAnalysisValue> existingValues,
672protected void ApplyInterproceduralAnalysisResultHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> resultToApply)
730protected DictionaryAnalysisData<AnalysisEntity, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> analysisData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (5)
2092protected static bool EqualsHelper<TKey, TValue>(IDictionary<TKey, TValue> dict1, IDictionary<TKey, TValue> dict2)
2131IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues,
2132IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues,
2133IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
Microsoft.CodeAnalysis.CodeStyle (39)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value)
271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value)
340IDictionary<string, ISymbol>? parameterToExistingFieldMap,
341IDictionary<string, string>? parameterToNewFieldMap,
Microsoft.CodeAnalysis.CSharp (24)
Compilation\SyntaxAndDeclarationManager.cs (13)
160IDictionary<SyntaxTree, int> ordinalMapBuilder,
161IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder,
162IDictionary<string, SyntaxTree> loadedSyntaxTreeMapBuilder,
163IDictionary<SyntaxTree, Lazy<RootSingleNamespaceDeclaration>> declMapBuilder,
164IDictionary<SyntaxTree, OneOrMany<WeakReference<StrongBox<ImmutableSegmentedHashSet<string>>>>> lastComputedMemberNamesMap,
195IDictionary<SyntaxTree, int> ordinalMapBuilder,
196IDictionary<SyntaxTree, ImmutableArray<LoadDirective>> loadDirectiveMapBuilder,
197IDictionary<string, SyntaxTree> loadedSyntaxTreeMapBuilder,
198IDictionary<SyntaxTree, Lazy<RootSingleNamespaceDeclaration>> declMapBuilder,
199IDictionary<SyntaxTree, OneOrMany<WeakReference<StrongBox<ImmutableSegmentedHashSet<string>>>>> lastComputedMemberNamesMap,
295IDictionary<SyntaxTree, Lazy<RootSingleNamespaceDeclaration>> declMapBuilder,
458IDictionary<SyntaxTree, Lazy<RootSingleNamespaceDeclaration>> declMap,
677IDictionary<SyntaxTree, int> ordinalMapBuilder,
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Microsoft.CodeAnalysis.Extensions.Package (20)
Microsoft.CodeAnalysis.Features (34)
ExtractMethod\MethodExtractor.Analyzer.cs (7)
585private static void AddVariableToMap(IDictionary<ISymbol, VariableInfo> variableInfoMap, ISymbol localOrParameter, VariableInfo variableInfo)
722private void AddTypeParametersToMap(IEnumerable<ITypeParameterSymbol> typeParameters, IDictionary<int, ITypeParameterSymbol> sortedMap)
728private void AddTypeParameterToMap(ITypeParameterSymbol typeParameter, IDictionary<int, ITypeParameterSymbol> sortedMap)
748IDictionary<ISymbol, VariableInfo> variableInfoMap,
749IDictionary<int, ITypeParameterSymbol> sortedMap)
778private void AppendMethodTypeParameterUsedDirectly(MultiDictionary<ISymbol, SyntaxToken> symbolMap, IDictionary<int, ITypeParameterSymbol> sortedMap)
785IDictionary<ISymbol, VariableInfo> variableInfoMap,
Microsoft.CodeAnalysis.NetAnalyzers (41)
src\9382845807600969\AnalysisEntityDataFlowOperationVisitor.cs (6)
468IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues,
469IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues,
470IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
642IDictionary<AnalysisEntity, TAbstractAnalysisValue> existingValues,
671protected void ApplyInterproceduralAnalysisResultHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> resultToApply)
729protected DictionaryAnalysisData<AnalysisEntity, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> analysisData)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (5)
2089protected static bool EqualsHelper<TKey, TValue>(IDictionary<TKey, TValue> dict1, IDictionary<TKey, TValue> dict2)
2128IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues,
2129IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues,
2130IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
Microsoft.CodeAnalysis.Razor.Compiler (1)
Microsoft.CodeAnalysis.ResxSourceGenerator (38)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
Microsoft.CodeAnalysis.Workspaces (58)
Rename\IRenameRewriterLanguageService.cs (2)
59IDictionary<Location, Location> reverseMappedLocations,
124public abstract Task<ImmutableArray<Location>> ComputeDeclarationConflictsAsync(string replacementText, ISymbol renamedSymbol, ISymbol renameSymbol, IEnumerable<ISymbol> referencedSymbols, Solution baseSolution, Solution newSolution, IDictionary<Location, Location> reverseMappedLocations, CancellationToken cancellationToken);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value)
271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value)
340IDictionary<string, ISymbol>? parameterToExistingFieldMap,
341IDictionary<string, string>? parameterToNewFieldMap,
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
Microsoft.CSharp (1)
Microsoft.Data.Analysis (2)
Microsoft.Data.Analysis.Interactive (1)
Microsoft.Data.Analysis.Interactive.Tests (1)
Microsoft.Diagnostics.NETCore.Client (3)
DiagnosticsClient\EventPipeProvider.cs (3)
35public EventPipeProvider(string name, EventLevel eventLevel, long keywords = 0xF00000000000, IDictionary<string, string> arguments = null)
49public EventPipeProvider(string name, EventLevel eventLevel, long keywords, IDictionary<string, string> arguments, EventPipeProviderEventFilter eventFilter)
64public IDictionary<string, string> Arguments { get; }
Microsoft.DotNet.Build.Manifest (11)
Microsoft.DotNet.Build.Tasks.Packaging (3)
Microsoft.DotNet.Build.Tasks.Templating (3)
Microsoft.DotNet.Cli.Utils (7)
TelemetryEventEntry.cs (6)
13public static void TrackEvent(string eventName, IDictionary<string, string?>? properties = null)
38public static void Subscribe(Action<string, IDictionary<string, string?>?> subscriber)
62public class InstrumentationEventArgs(string eventName, IDictionary<string, string?>? properties = null) : EventArgs
65public IDictionary<string, string?>? Properties { get; } = properties;
68public class TelemetryEntryFormat(string eventName, IDictionary<string, string?>? properties = null)
71public IDictionary<string, string?>? Properties { get; } = properties;
Microsoft.DotNet.HotReload.Watch (10)
Microsoft.DotNet.ProjectTools (3)
Microsoft.DotNet.TemplateLocator (13)
_generated\1\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
Microsoft.DotNet.XliffTasks (1)
Microsoft.Extensions.AI (6)
Microsoft.Extensions.AI.Abstractions (17)
Microsoft.Extensions.AI.Abstractions.Tests (3)
Microsoft.Extensions.AI.Evaluation (6)
Microsoft.Extensions.AI.Evaluation.Console (23)
Telemetry\TelemetryExtensions.cs (16)
32IDictionary<string, string>? properties = null,
33IDictionary<string, double>? metrics = null,
52IDictionary<string, string>? properties = null,
53IDictionary<string, double>? metrics = null,
74IDictionary<string, string>? properties = null,
75IDictionary<string, double>? metrics = null,
94IDictionary<string, string>? properties = null,
95IDictionary<string, double>? metrics = null,
114IDictionary<string, string>? properties = null,
115IDictionary<string, double>? metrics = null,
137IDictionary<string, string>? properties = null,
138IDictionary<string, double>? metrics = null,
160IDictionary<string, string>? properties = null,
161IDictionary<string, double>? metrics = null,
197IDictionary<string, string>? properties = null,
198IDictionary<string, double>? metrics = null,
Telemetry\TelemetryHelper.cs (7)
97IDictionary<string, string>? properties = null,
98IDictionary<string, double>? metrics = null)
107IDictionary<string, string>? combinedProperties = GetCombinedProperties(properties);
122IDictionary<string, string>? properties = null,
123IDictionary<string, double>? metrics = null)
132IDictionary<string, string>? combinedProperties = GetCombinedProperties(properties);
161private Dictionary<string, string>? GetCombinedProperties(IDictionary<string, string>? properties)
Microsoft.Extensions.AI.Evaluation.Safety (2)
Microsoft.Extensions.AI.Integration.Tests (2)
Microsoft.Extensions.AI.OpenAI (7)
Microsoft.Extensions.AI.OpenAI.Tests (2)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
Microsoft.Extensions.Compliance.Abstractions.Tests (1)
Microsoft.Extensions.Configuration (6)
Microsoft.Extensions.Configuration.Abstractions (1)
Microsoft.Extensions.Configuration.Binder (3)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
Microsoft.Extensions.Configuration.CommandLine (4)
Microsoft.Extensions.Configuration.Ini (2)
Microsoft.Extensions.Configuration.Json (1)
Microsoft.Extensions.Configuration.Xml (3)
Microsoft.Extensions.DataIngestion.Abstractions (2)
Microsoft.Extensions.DependencyInjection (6)
Microsoft.Extensions.Diagnostics.ResourceMonitoring (2)
Microsoft.Extensions.Features (1)
Microsoft.Extensions.Hosting (3)
Microsoft.Extensions.Hosting.Abstractions (5)
Microsoft.Extensions.Hosting.Testing (1)
Microsoft.Extensions.Hosting.Testing.Tests (1)
Microsoft.Extensions.Http.Diagnostics (9)
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Microsoft.Extensions.Http.Resilience.Tests (4)
Microsoft.Extensions.Logging.Console (1)
Microsoft.Extensions.Logging.MSBuild (1)
Microsoft.Gen.BuildMetadata.Unit.Tests (5)
Microsoft.Gen.ComplianceReports.Unit.Tests (5)
Microsoft.Gen.ContextualOptions.Unit.Tests (5)
Microsoft.Gen.Logging.Generated.Tests (1)
Microsoft.Gen.Logging.Unit.Tests (5)
Microsoft.Gen.MetadataExtractor.Unit.Tests (5)
Microsoft.Gen.Metrics.Unit.Tests (5)
Microsoft.Gen.MetricsReports.Unit.Tests (5)
Microsoft.Interop.SourceGeneration (6)
Microsoft.Maui (1)
Microsoft.Maui.Controls (12)
Microsoft.Maui.Controls.SourceGen (5)
CodeBehindGenerator.cs (5)
242 static IDictionary<XmlType, string> GetTypeCache(Compilation compilation, CancellationToken cancellationToken)
247 static void GenerateXamlCodeBehind(XamlProjectItem? xamlItem, Compilation compilation, SourceProductionContext context, AssemblyCaches xmlnsCache, IDictionary<XmlType, string> typeCache)
380 static bool TryParseXaml(XamlProjectItem parseResult, string uid, Compilation compilation, AssemblyCaches xmlnsCache, IDictionary<XmlType, string> typeCache, CancellationToken cancellationToken, out string? accessModifier, out string? rootType, out string? rootClrNamespace, out bool generateDefaultCtor, out bool addXamlCompilationAttribute, out bool hideFromIntellisense, out bool xamlResourceIdOnly, out string? baseType, out IEnumerable<(string, string, string)>? namedFields)
460 static IEnumerable<(string name, string type, string accessModifier)> GetNamedFields(XmlNode root, XmlNamespaceManager nsmgr, Compilation compilation, AssemblyCaches xmlnsCache, IDictionary<XmlType, string> typeCache, CancellationToken cancellationToken)
495 static string GetTypeName(XmlType xmlType, Compilation compilation, AssemblyCaches xmlnsCache, IDictionary<XmlType, string> typeCache)
Microsoft.Maui.Controls.Xaml (2)
Microsoft.Maui.Essentials (8)
Microsoft.Maui.Graphics (1)
Microsoft.Maui.Resizetizer (1)
Microsoft.ML.AutoML (18)
API\Pipeline.cs (6)
38public IDictionary<string, object> Properties { get; set; }
42IDictionary<string, object> properties = null)
52string inColumn, string outColumn, IDictionary<string, object> properties = null) :
58string[] inColumns, string outColumn, IDictionary<string, object> properties = null) :
78public IDictionary<string, object> Properties { get; set; }
80public CustomProperty(string name, IDictionary<string, object> properties)
TrainerExtensions\TrainerExtensionUtil.cs (8)
118string labelColumn, string weightColumn = null, IDictionary<string, object> additionalProperties = null)
120var properties = BuildBasePipelineNodeProps(sweepParams, labelColumn, weightColumn);
141private static IDictionary<string, object> BuildBasePipelineNodeProps(IEnumerable<SweepableParam> sweepParams,
160private static IDictionary<string, object> BuildLightGbmPipelineNodeProps(IEnumerable<SweepableParam> sweepParams,
193public static ParameterSet BuildParameterSet(TrainerName trainerName, IDictionary<string, object> props)
208public static ColumnInformation BuildColumnInfo(IDictionary<string, object> props)
220private static ParameterSet BuildLightGbmParameterSet(IDictionary<string, object> props)
230var treeProps = ((CustomProperty)props[LightGbmBoosterPropName]).Properties;
Microsoft.ML.AutoML.SourceGenerator (10)
Microsoft.ML.CodeGenerator (47)
CodeGenerator\CSharp\TrainerGenerators.cs (14)
19internal override IDictionary<string, string> NamedParameters
90internal override IDictionary<string, string> NamedParameters
121internal override IDictionary<string, string> NamedParameters
233internal override IDictionary<string, string> NamedParameters
260internal override IDictionary<string, string> NamedParameters
319internal override IDictionary<string, string> NamedParameters
353internal override IDictionary<string, string> NamedParameters
383internal override IDictionary<string, string> NamedParameters
413internal override IDictionary<string, string> NamedParameters
484internal override IDictionary<string, string> NamedParameters
517internal override IDictionary<string, string> NamedParameters
551internal override IDictionary<string, string> NamedParameters => null;
595internal override IDictionary<string, string> NamedParameters
614internal override IDictionary<string, string> NamedParameters
Microsoft.ML.CodeGenerator.Tests (8)
ApprovalTests\ConsoleCodeGeneratorTests.cs (6)
295(var pipeline, var columnInference, var mapping) = GetMockedAzurePipelineAndInference();
332(var pipelineSanitized, var columnInferenceSanitized, var mappingSanitized) = this.GetMockedAzurePipelineAndInference();
334(var pipelineUnsatinized, var columnInferenceUnsatinized, var mappingUnsatinized) = this.GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames();
340IDictionary<string, CodeGeneratorSettings.ColumnMapping> mapping, string info)
808private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInference()
978private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames()
Microsoft.ML.Core (3)
Microsoft.ML.NugetPackageVersionUpdater (3)
Microsoft.ML.OnnxTransformer (29)
Microsoft.ML.OnnxTransformerTest (15)
Microsoft.ML.SearchSpace (29)
Option\NestOption.cs (8)
21public OptionBase this[string key] { get => ((IDictionary<string, OptionBase>)_options)[key]; set => ((IDictionary<string, OptionBase>)_options)[key] = value; }
80public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
83public ICollection<OptionBase> Values => ((IDictionary<string, OptionBase>)_options).Values;
94((IDictionary<string, OptionBase>)_options).Add(key, value);
118return ((IDictionary<string, OptionBase>)_options).ContainsKey(key);
136return ((IDictionary<string, OptionBase>)_options).Remove(key);
148return ((IDictionary<string, OptionBase>)_options).TryGetValue(key, out value);
Parameter.cs (12)
241return (_value as IDictionary<string, Parameter>)?.IsReadOnly ?? false;
250ICollection<Parameter> IDictionary<string, Parameter>.Values
255return (_value as IDictionary<string, Parameter>).Values;
265return (_value as IDictionary<string, Parameter>).Keys;
275return (_value as IDictionary<string, Parameter>)[key];
281(_value as IDictionary<string, Parameter>)[key] = value;
341return (_value as IDictionary<string, Parameter>).Remove(item);
348return (_value as IDictionary<string, Parameter>).GetEnumerator();
355return (_value as IDictionary<string, Parameter>).GetEnumerator();
367(_value as IDictionary<string, Parameter>).CopyTo(array, arrayIndex);
374return (_value as IDictionary<string, Parameter>).ContainsKey(key);
381return (_value as IDictionary<string, Parameter>).Remove(key);
SearchSpace.cs (8)
83public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
86public ICollection<OptionBase> Values => ((IDictionary<string, OptionBase>)_options).Values;
106public OptionBase this[string key] { get => ((IDictionary<string, OptionBase>)_options)[key]; set => ((IDictionary<string, OptionBase>)_options)[key] = value; }
313((IDictionary<string, OptionBase>)_options).Add(key, value);
319return ((IDictionary<string, OptionBase>)_options).ContainsKey(key);
325return ((IDictionary<string, OptionBase>)_options).Remove(key);
331return ((IDictionary<string, OptionBase>)_options).TryGetValue(key, out value);
Microsoft.ML.Tests (3)
Microsoft.NET.Build.Containers (7)
Microsoft.NET.Build.Tasks (27)
_generated\11\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
Microsoft.Net.Http.Headers (1)
Microsoft.NET.Sdk.Publish.Tasks (4)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (8)
Microsoft.NET.Sdk.WorkloadManifestReader (13)
_generated\1\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (2)
Microsoft.TemplateEngine.Abstractions (2)
Microsoft.TemplateEngine.Cli (5)
Microsoft.TemplateEngine.Core (4)
Microsoft.TemplateEngine.Core.Contracts (1)
Microsoft.TemplateEngine.Edge (7)
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (2)
Microsoft.TemplateEngine.Utils (2)
Microsoft.TemplateSearch.Common (5)
Microsoft.TestPlatform.CommunicationUtilities (87)
Microsoft.TestPlatform.CoreUtilities (4)
Microsoft.TestPlatform.CrossPlatEngine (35)
Microsoft.TestPlatform.PlatformAbstractions (5)
Microsoft.TestPlatform.TestHostRuntimeProvider (5)
Microsoft.TestPlatform.Utilities (2)
Microsoft.VisualStudio.TestPlatform.Client (2)
Microsoft.VisualStudio.TestPlatform.Common (22)
Microsoft.VisualStudio.TestPlatform.ObjectModel (30)
Mono.Cecil (2)
MSBuild (26)
OutOfProcTaskHostNode.cs (12)
61private static IDictionary<string, KeyValuePair<string, string>> s_mismatchedEnvironmentValues;
91private IDictionary<string, string> _savedEnvironment;
114private IDictionary<string, string> _lastAppliedConfigEnvironment;
685public void LogTelemetry(string eventName, IDictionary<string, string> properties)
1469IDictionary<string, TaskParameter> taskParams = taskConfiguration.TaskParameters;
1569IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables();
1654private void SetTaskHostEnvironment(IDictionary<string, string> environment)
1657IDictionary<string, string> updatedEnvironment = null;
1717private IDictionary<string, string> UpdateEnvironmentForMainNode(IDictionary<string, string> environment)
1720IDictionary<string, string> updatedEnvironment = null;
1770private void InitializeMismatchedEnvironmentTable(IDictionary<string, string> environment)
mscorlib (1)
netstandard (1)
NuGet.Build.Tasks (4)
BuildTasksUtility.cs (4)
52public static void CopyPropertyIfExists(ITaskItem item, IDictionary<string, string> properties, string key)
57public static void CopyPropertyIfExists(ITaskItem item, IDictionary<string, string> properties, string key, string toKey)
94public static void AddPropertyIfExists(IDictionary<string, string> properties, string key, string value)
103public static void AddPropertyIfExists(IDictionary<string, string> properties, string key, string[] value)
NuGet.Build.Tasks.Console (17)
MSBuildStaticGraphRestore.cs (7)
106public async Task<bool> RestoreAsync(string entryProjectFilePath, IDictionary<string, string> globalProperties, IReadOnlyDictionary<string, string> options)
196public bool WriteDependencyGraphSpec(string entryProjectFilePath, IDictionary<string, string> globalProperties, IReadOnlyDictionary<string, string> options)
711/// <param name="globalProperties">An <see cref="IDictionary{String,String}" /> representing the global properties for the project.</param>
713private List<ProjectGraphEntryPoint> GetProjectGraphEntryPoints(string entryProjectPath, IDictionary<string, string> globalProperties)
813/// <param name="globalProperties">An <see cref="IDictionary{String,String}" /> containing the global properties to use when evaluation MSBuild projects.</param>
819private (DependencyGraphSpec DependencyGraphSpec, IReadOnlyList<IAssetsLogMessage> AdditionalMessages) GetDependencyGraphSpec(string entryProjectPath, IDictionary<string, string> globalProperties, bool interactive, string binaryLoggerParameters, IEnvironmentVariableReader environmentVariableReader)
955IDictionary<string, string> globalProperties,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Build.Tasks.Pack (7)
PackTaskLogic.cs (7)
502private static IEnumerable<OutputLibFile> InitLibFiles(IMSBuildItem[] libFiles, IDictionary<string, string> targetAliasToNuGetFramework, Dictionary<string, List<string>> nuGetFrameworkToDuplicateAliases)
572private static ISet<NuGetFramework> ParseFrameworks(IPackTaskRequest<IMSBuildItem> request, IDictionary<string, string> targetAliasToNuGetFramework)
848private IDictionary<string, string> GetSourceFiles(IPackTaskRequest<IMSBuildItem> request, string currentProjectDirectory)
870IDictionary<string, string> projectRefToVersionMap,
906IDictionary<NuGetFramework, HashSet<LibraryDependency>> dependenciesByFramework,
907IDictionary<string, string> projectRefToVersionMap,
1144private static IDictionary<string, string> ParsePropertiesAsDictionary(string[] properties)
NuGet.CommandLine.XPlat (11)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Commands (31)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Common (3)
NuGet.Configuration (10)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.DependencyResolver.Core (11)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Frameworks (11)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.LibraryModel (11)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.PackageManagement (29)
Resolution\UninstallResolver.cs (7)
16public static IDictionary<PackageIdentity, HashSet<PackageIdentity>> GetPackageDependents(IEnumerable<PackageDependencyInfo> dependencyInfoEnumerable,
17IEnumerable<PackageIdentity> installedPackages, out IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict)
56IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDictionary;
57var dependentsDictionary = GetPackageDependents(dependencyInfoEnumerable, installedPackages, out dependenciesDictionary);
66IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict,
67IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependentsDict,
102IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
Utility\MSBuildNuGetProjectSystemUtility.cs (5)
142IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
218IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
518IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
538IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
556IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
NuGet.Packaging (20)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.ProjectModel (13)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Protocol (29)
_generated\151\RepositorySignatureJsonContext.IDictionaryStringString.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString;
19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString
22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>));
25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options)
27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo))
29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>>
37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Resolver (8)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Versioning (10)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type
321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary)
331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>.
332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
338private readonly IDictionary<TKey, TValue> _dictionary;
341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary;
347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead.
357internal Enumerator(IDictionary<TKey, TValue> dictionary)
PresentationBuildTasks (1)
PresentationCore (48)
System\Windows\Media\CultureSpecificStringDictionary.cs (10)
15private IDictionary<XmlLanguage, string> _innerDictionary;
20internal LanguageSpecificStringDictionary(IDictionary<XmlLanguage, string> innerDictionary)
351protected IDictionary<XmlLanguage, string> _innerDictionary;
354internal EntryEnumerator(IDictionary<XmlLanguage, string> names)
429protected IDictionary<XmlLanguage, string> _innerDictionary;
431internal BaseCollection(IDictionary<XmlLanguage, string> names)
469internal KeyCollection(IDictionary<XmlLanguage, string> names) : base(names)
483internal KeyEnumerator(IDictionary<XmlLanguage, string> names) : base(names)
502internal ValueCollection(IDictionary<XmlLanguage, string> names)
517internal ValueEnumerator(IDictionary<XmlLanguage, string> names) : base(names)
System\Windows\Media\GlyphTypeface.cs (26)
306public IDictionary<CultureInfo,string> FamilyNames
334public IDictionary<CultureInfo, string> FaceNames
363public IDictionary<CultureInfo, string> Win32FamilyNames
379IDictionary<XmlLanguage, string> ITypefaceMetrics.AdjustedFaceNames
385IDictionary<CultureInfo, string> adjustedFaceNames = _font.FaceNames;
386IDictionary<XmlLanguage, string> adjustedLanguageFaceNames = new Dictionary<XmlLanguage, string>(adjustedFaceNames.Count);
405public IDictionary<CultureInfo, string> Win32FaceNames
421public IDictionary<CultureInfo, string> VersionStrings
434public IDictionary<CultureInfo, string> Copyrights
447public IDictionary<CultureInfo, string> ManufacturerNames
462public IDictionary<CultureInfo, string> Trademarks
475public IDictionary<CultureInfo, string> DesignerNames
489public IDictionary<CultureInfo, string> Descriptions
504public IDictionary<CultureInfo, string> VendorUrls
517public IDictionary<CultureInfo, string> DesignerUrls
532public IDictionary<CultureInfo, string> LicenseDescriptions
546public IDictionary<CultureInfo, string> SampleTexts
823public IDictionary<ushort, double> AdvanceWidths
835public IDictionary<ushort, double> AdvanceHeights
850public IDictionary<ushort, double> LeftSideBearings
865public IDictionary<ushort, double> RightSideBearings
881public IDictionary<ushort, double> TopSideBearings
897public IDictionary<ushort, double> BottomSideBearings
909public IDictionary<ushort, double> DistancesFromHorizontalBaselineToBlackBoxBottom
921public IDictionary<int, ushort> CharacterToGlyphMap
1628private IDictionary<CultureInfo, string> GetFontInfo(MS.Internal.Text.TextInterface.InformationalStringID informationalStringID)
PresentationFramework (13)
PresentationUI (19)
ReachFramework (16)
PrintConfig\PrintSchemaShim.cs (13)
519private static readonly IDictionary<DevModeCollate, Collation> dmCollateToQResolution = new Dictionary<DevModeCollate, Collation>(2) {
544private static readonly IDictionary<DevModeColor, OutputColor> dmColorToOutputColor = new Dictionary<DevModeColor, OutputColor>(2) {
577private static readonly IDictionary<DevModeDuplex, Duplexing> dmDuplexToDuplexing = new Dictionary<DevModeDuplex, Duplexing>(3) {
674private static readonly IDictionary<short, InputBin> dmPaperSourceToInputBin = new Dictionary<short, InputBin>(4) {
681private static IDictionary<short, PaperSourceOption> paperSourceOptions = new Dictionary<short, PaperSourceOption>() {
781private static readonly IDictionary<short, PageMediaSizeName> dmPaperSizeToPageMediaSize = new Dictionary<short, PageMediaSizeName>(101) {
910private static readonly IDictionary<uint, PageMediaType> dmMediaTypeToMediaType = new Dictionary<uint, PageMediaType>(3) {
916private static IDictionary<uint, MediaTypeOption> mediaTypeOptions = new Dictionary<uint, MediaTypeOption>() {
960private static readonly IDictionary<DevModeOrientation, PageOrientation> dmOrientationToOrientation = new Dictionary<DevModeOrientation, PageOrientation>(2) {
1028private static readonly IDictionary<short, PageQualitativeResolution> dmResToQResolution = new Dictionary<short, PageQualitativeResolution>(4) {
1035private static IDictionary<short, OutputQualityOption> outputQualityOptions = new Dictionary<short, OutputQualityOption>() {
1145private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key, Action<TValue> setter)
1157private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TValue value, Action<TKey> setter)
Roslyn.Diagnostics.Analyzers (49)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function)
28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg)
40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key)
63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value)
88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values)
100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null)
119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray)
143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value)
180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/>
182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value)
200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value)
206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value)
212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value)
271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value)
340IDictionary<string, ISymbol>? parameterToExistingFieldMap,
341IDictionary<string, string>? parameterToNewFieldMap,
Roslyn.Diagnostics.CSharp.Analyzers (1)
Shared (5)
Shared.Tests (2)
System.CodeDom (11)
System.Collections (18)
System\Collections\Generic\OrderedDictionary.cs (8)
136/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the default equality comparer for the key type.
139/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>.
143public OrderedDictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null)
149/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the specified <see cref="IEqualityComparer{TKey}"/>.
152/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>.
160public OrderedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) :
261ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
273ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
System.Collections.Immutable (85)
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (21)
165/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>.
167/// <returns>An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns>
168ICollection<TKey> IDictionary<TKey, TValue>.Keys
188/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>.
190/// <returns>An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns>
191ICollection<TValue> IDictionary<TKey, TValue>.Values
220/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>.
223/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.
231/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>.
234/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
392/// <exception cref="NotSupportedException">The property is set and the <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception>
502/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>.
507/// <exception cref="ArgumentException">An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>.</exception>
508/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception>
516/// Determines whether the <see cref="IDictionary{TKey, TValue}"/> contains an element with the specified key.
518/// <param name="key">The key to locate in the <see cref="IDictionary{TKey, TValue}"/>.</param>
520/// true if the <see cref="IDictionary{TKey, TValue}"/> contains an element with the key; otherwise, false.
553/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>.
557/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>.
561/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception>
574/// true if the object that implements <see cref="IDictionary{TKey, TValue}"/> contains an element with the specified key; otherwise, false.
System\Collections\Immutable\ImmutableDictionary_2.cs (15)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys
226ICollection<TValue> IDictionary<TKey, TValue>.Values
263TValue IDictionary<TKey, TValue>.this[TKey key]
563/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>.
570/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>.
573/// The <see cref="IDictionary{TKey, TValue}"/> is read-only.
575void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
581/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>.
585/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>.
590/// The <see cref="IDictionary{TKey, TValue}"/> is read-only.
592bool IDictionary<TKey, TValue>.Remove(TKey key)
652/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>.
655/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.
663/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>.
666/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (20)
80/// See <see cref="IDictionary{TKey, TValue}"/>
82ICollection<TKey> IDictionary<TKey, TValue>.Keys
96/// See <see cref="IDictionary{TKey, TValue}"/>
98ICollection<TValue> IDictionary<TKey, TValue>.Values
231/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>.
234/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.
242/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>.
245/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
414/// See <see cref="IDictionary{TKey, TValue}"/>
427/// See <see cref="IDictionary{TKey, TValue}"/>
435/// See <see cref="IDictionary{TKey, TValue}"/>
450/// See <see cref="IDictionary{TKey, TValue}"/>
467/// See <see cref="IDictionary{TKey, TValue}"/>
475/// See <see cref="IDictionary{TKey, TValue}"/>
484/// See <see cref="IDictionary{TKey, TValue}"/>
492/// See <see cref="IDictionary{TKey, TValue}"/>
500/// See <see cref="IDictionary{TKey, TValue}"/>
513/// See <see cref="IDictionary{TKey, TValue}"/>
521/// See <see cref="IDictionary{TKey, TValue}"/>
529/// See <see cref="IDictionary{TKey, TValue}"/>
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (16)
144ICollection<TKey> IDictionary<TKey, TValue>.Keys
152ICollection<TValue> IDictionary<TKey, TValue>.Values
217TValue IDictionary<TKey, TValue>.this[TKey key]
468/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>.
475/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>.
478/// The <see cref="IDictionary{TKey, TValue}"/> is read-only.
480void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
486/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>.
490/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>.
495/// The <see cref="IDictionary{TKey, TValue}"/> is read-only.
497bool IDictionary<TKey, TValue>.Remove(TKey key)
557/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>.
560/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.
568/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>.
571/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
845if (items is IDictionary<TKey, TValue> itemsAsDictionary)
System.ComponentModel.Annotations (10)
System\ComponentModel\DataAnnotations\ValidationContext.cs (4)
65public ValidationContext(object instance, IDictionary<object, object?>? items)
87public ValidationContext(object instance, IServiceProvider? serviceProvider, IDictionary<object, object?>? items)
122public ValidationContext(object instance, string displayName, IServiceProvider? serviceProvider, IDictionary<object, object?>? items)
216public IDictionary<object, object?> Items => _items;
System.ComponentModel.Composition (97)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (5)
185internal static IDictionary<string, object?> GetPartMetadataForType(this Type type, CreationPolicy creationPolicy)
257internal static void TryExportMetadataForMember(this MemberInfo member, out IDictionary<string, object?> dictionary)
335private static bool TryContributeMetadataValue(this IDictionary<string, object?> dictionary, string name, object? value, Type? valueType, bool allowsMultiple)
490internal static IDictionary<string, object?> GetImportMetadata(ImportType importType, IAttributedImport attributedImport)
495internal static IDictionary<string, object?> GetImportMetadata(Type type, IAttributedImport? attributedImport)
System\ComponentModel\Composition\Primitives\Export.cs (6)
59: this(new ExportDefinition(contractName, (IDictionary<string, object?>?)null), exportedValueGetter)
72/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the
75/// <see cref="IDictionary{TKey, TValue}"/>.
91public Export(string contractName, IDictionary<string, object?>? metadata, Func<object?> exportedValueGetter)
157/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the
169public IDictionary<string, object?> Metadata
System\ComponentModel\Composition\Primitives\ExportDefinition.cs (9)
17private readonly IDictionary<string, object?> _metadata = MetadataServices.EmptyMetadata;
43/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the
46/// <see cref="IDictionary{TKey, TValue}"/>.
54public ExportDefinition(string contractName, IDictionary<string, object?>? metadata)
99/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the
101/// <see cref="IDictionary{TKey, TValue}"/>.
107/// <see cref="IDictionary{TKey, TValue}"/> object with a case-sensitive,
111/// return an empty <see cref="IDictionary{TKey, TValue}"/> instead.
115public virtual IDictionary<string, object?> Metadata
System\ComponentModel\Composition\Primitives\ImportDefinition.cs (8)
25private readonly IDictionary<string, object?> _metadata = MetadataServices.EmptyMetadata;
89public ImportDefinition(Expression<Func<ExportDefinition, bool>> constraint, string? contractName, ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, IDictionary<string, object?>? metadata)
97internal ImportDefinition(string? contractName, ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, IDictionary<string, object?>? metadata)
143/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the
145/// <see cref="IDictionary{TKey, TValue}"/>.
151/// <see cref="IDictionary{TKey, TValue}"/> object with a case-sensitive,
155/// return an empty <see cref="IDictionary{TKey, TValue}"/> instead.
159public virtual IDictionary<string, object?> Metadata
System\ComponentModel\Composition\ReflectionModel\ReflectionModelServices.cs (12)
131Lazy<IDictionary<string, object?>>? metadata,
149Lazy<IDictionary<string, object?>> metadata,
182IDictionary<string, object?> metadata,
209IDictionary<string, object?> metadata,
266IDictionary<string, object?> metadata,
322private readonly Lazy<IDictionary<string, object?>>? _metadata;
332Lazy<IDictionary<string, object?>>? metadata,
395public IDictionary<string, object?>? GetMetadata()
465private readonly Lazy<IDictionary<string, object?>> _metadata;
467public LazyExportDefinition(string contractName, Lazy<IDictionary<string, object?>> metadata)
468: base(contractName, (IDictionary<string, object?>?)null)
473public override IDictionary<string, object?> Metadata
System.Composition.Hosting (18)
System\Composition\Hosting\Providers\Metadata\MetadataViewProvider.cs (8)
19public static Func<IDictionary<string, object>, TMetadata> GetMetadataViewProvider<TMetadata>()
21if (typeof(TMetadata) == typeof(IDictionary<string, object>))
31return ci.IsPublic && ps.Length == 1 && ps[0].ParameterType == typeof(IDictionary<string, object>);
36var providerArg = Expression.Parameter(typeof(IDictionary<string, object>), "metadata");
37return Expression.Lambda<Func<IDictionary<string, object>, TMetadata>>(
46var providerArg = Expression.Parameter(typeof(IDictionary<string, object>), "metadata");
68return Expression.Lambda<Func<IDictionary<string, object>, TMetadata>>(
76private static TValue GetMetadataValue<TValue>(IDictionary<string, object> metadata, string name, DefaultValueAttribute defaultValue)
System.Composition.Runtime (5)
System.Composition.TypedParts (28)
System\Composition\TypedParts\Discovery\TypeInspector.cs (6)
16private static readonly IDictionary<string, object> s_noMetadata = new Dictionary<string, object>();
57IDictionary<string, object> metadata = new Dictionary<string, object>();
83IDictionary<string, object> metadata = new Dictionary<string, object>();
102private static void ReadLooseMetadata(object[] appliedAttributes, IDictionary<string, object> metadata)
122private static void AddMetadata(IDictionary<string, object> metadata, string name, Type valueType, object value)
148private static void ReadMetadataAttribute(Attribute attribute, IDictionary<string, object> metadata)
System.Diagnostics.DiagnosticSource (10)
System\Diagnostics\Metrics\MetricsEventSource.cs (10)
532private bool ParseMetrics(IDictionary<string, string> arguments, out string? metricsSpecs)
544private bool ParseBase2ExponentialHistogramSpecs(IDictionary<string, string> arguments, out string? base2ExponentialHistogramSpec)
587private bool SetSharedMaxTimeSeries(IDictionary<string, string> arguments, int sharedValue, out int maxTimeSeries)
592private void SetUniqueMaxTimeSeries(IDictionary<string, string> arguments, int defaultValue, out int maxTimeSeries)
597private bool SetSharedMaxHistograms(IDictionary<string, string> arguments, int sharedValue, out int maxHistograms)
602private void SetUniqueMaxHistograms(IDictionary<string, string> arguments, int defaultValue, out int maxHistograms)
607private bool SetMaxValue(IDictionary<string, string> arguments, string argumentsKey, string valueDescriptor, int defaultValue, out int maxValue)
633private void SetRefreshIntervalSecs(IDictionary<string, string> arguments, double minValue, double defaultValue, out double refreshIntervalSeconds)
643private bool SetSharedRefreshIntervalSecs(IDictionary<string, string> arguments, double sharedValue, out double refreshIntervalSeconds)
654private bool GetRefreshIntervalSecs(IDictionary<string, string> arguments, string valueDescriptor, double defaultValue, out double refreshIntervalSeconds)
System.Diagnostics.Process (7)
System.Drawing.Common (2)
System.IO.Packaging (1)
System.Linq.Expressions (7)
System.Net.Http (18)
System\Net\Http\HttpRequestOptions.cs (14)
22object? IDictionary<string, object?>.this[string key]
33ICollection<string> IDictionary<string, object?>.Keys => Options.Keys;
34ICollection<object?> IDictionary<string, object?>.Values => Options.Values;
36bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => ((IDictionary<string, object?>)Options).IsReadOnly;
37void IDictionary<string, object?>.Add(string key, object? value) => Options.Add(key, value);
38void ICollection<KeyValuePair<string, object?>>.Add(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Add(item);
40bool ICollection<KeyValuePair<string, object?>>.Contains(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Contains(item);
41bool IDictionary<string, object?>.ContainsKey(string key) => Options.ContainsKey(key);
43((IDictionary<string, object?>)Options).CopyTo(array, arrayIndex);
46bool IDictionary<string, object?>.Remove(string key) => Options.Remove(key);
47bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Remove(item);
49bool IDictionary<string, object?>.TryGetValue(string key, out object? value) => Options.TryGetValue(key, out value);
96var dictionary = (IDictionary<string, object?>)options;
System.Net.Http.WinHttpHandler (1)
System.ObjectModel (1)
System.Private.CoreLib (38)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (9)
1534/// cref="IDictionary{TKey,TValue}"/>.
1545void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
1555/// cref="IDictionary{TKey,TValue}"/>.
1561/// cref="IDictionary{TKey,TValue}"/>.
1565bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _);
1602void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) => ((IDictionary<TKey, TValue>)this).Add(keyValuePair.Key, keyValuePair.Value);
1690((IDictionary<TKey, TValue>)this).Add((TKey)key, (TValue)value!);
2696private readonly IDictionary<TKey, TValue> _dictionary;
2698public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (4)
24public static bool TryAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TValue value)
40public static bool Remove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, [MaybeNullWhen(false)] out TValue value)
86/// <returns>An object that acts as a read-only wrapper around the current <see cref="IDictionary{TKey, TValue}"/>.</returns>
88public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) where TKey : notnull =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (10)
17private readonly IDictionary<TKey, TValue> m_dictionary; // Do not rename (binary serialization)
24public ReadOnlyDictionary(IDictionary<TKey, TValue> dictionary)
36protected IDictionary<TKey, TValue> Dictionary => m_dictionary;
44ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
51ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
55void IDictionary<TKey, TValue>.Add(TKey key, TValue value)
60bool IDictionary<TKey, TValue>.Remove(TKey key)
65TValue IDictionary<TKey, TValue>.this[TKey key]
216private readonly IDictionary<TKey, TValue> _dictionary;
219public DictionaryEnumerator(IDictionary<TKey, TValue> dictionary)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (5)
484public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string?>? commandArguments)
2502internal override void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments,
2624IDictionary<string, string?>? commandArguments)
4098public IDictionary<string, string?>? Arguments { get; internal set; }
4126internal EventCommandEventArgs(EventCommand command, IDictionary<string, string?>? arguments, EventSource eventSource,
System.Private.DataContractSerialization (4)
System.Private.Xml (29)
System.Resources.Extensions (7)
System.Runtime (1)
System.Runtime.Caching (3)
System.Runtime.Serialization.Schema (1)
System.Security.Claims (1)
System.ServiceModel.Primitives (13)
System\ServiceModel\Security\SecurityProtocol.cs (2)
420private void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> tokens, SecurityTokenAttachmentMode attachmentMode, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping)
433protected void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping)
System.Speech (7)
System.Text.Json (22)
System.Text.Json.SourceGeneration (2)
System.Windows.Forms (4)
System.Xaml (13)
testhost (8)
testhost.arm64 (8)
testhost.x86 (8)
vstest.console (17)
TestPlatformHelpers\TestRequestManager.cs (10)
224out IDictionary<string, Architecture> sourceToArchitectureMap,
225out IDictionary<string, Framework> sourceToFrameworkMap))
342out IDictionary<string, Architecture> sourceToArchitectureMap,
343out IDictionary<string, Framework> sourceToFrameworkMap))
569out IDictionary<string, Architecture> sourceToArchitectureMap,
570out IDictionary<string, Framework> sourceToFrameworkMap)
925IDictionary<string, Architecture> sourcePlatforms,
926IDictionary<string, Framework> sourceFrameworks,
956out IDictionary<string, Architecture> sourceToPlatformMap)
1000out IDictionary<string, Framework> sourceToFrameworkMap)
vstest.console.arm64 (17)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (10)
224out IDictionary<string, Architecture> sourceToArchitectureMap,
225out IDictionary<string, Framework> sourceToFrameworkMap))
342out IDictionary<string, Architecture> sourceToArchitectureMap,
343out IDictionary<string, Framework> sourceToFrameworkMap))
569out IDictionary<string, Architecture> sourceToArchitectureMap,
570out IDictionary<string, Framework> sourceToFrameworkMap)
925IDictionary<string, Architecture> sourcePlatforms,
926IDictionary<string, Framework> sourceFrameworks,
956out IDictionary<string, Architecture> sourceToPlatformMap)
1000out IDictionary<string, Framework> sourceToFrameworkMap)