8 interfaces inheriting from IDictionary
Microsoft.AspNetCore.Http.Features (1)
IHeaderDictionary.cs (1)
11public partial interface IHeaderDictionary : IDictionary<string, StringValues>
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ITempDataDictionary.cs (1)
11public interface ITempDataDictionary : IDictionary<string, object?>
Microsoft.Build (3)
Collections\IConstrainableDictionary.cs (1)
15internal interface IConstrainableDictionary<TValue> : IDictionary<string, TValue>
Collections\ICopyOnWritePropertyDictionary.cs (1)
32internal interface ICopyOnWritePropertyDictionary<T> : IEnumerable<T>, IEquatable<ICopyOnWritePropertyDictionary<T>>, IDictionary<string, T>
Collections\RetrievableEntryHashSet\IRetrievableEntryHashSet.cs (1)
21IDictionary<string, T>
Microsoft.Maui (1)
IPersistedState.cs (1)
5 public interface IPersistedState : IDictionary<string, string?>
Microsoft.ML.GenAI.Core (1)
Utility\Cache.cs (1)
15public interface IKVCache : IDictionary<int, (Tensor, Tensor)>, IDisposable
System.Xaml (1)
System\Windows\Markup\INameScopeDictionary.cs (1)
9public interface INameScopeDictionary : INameScope, IDictionary<string, object>
117 implementations of IDictionary
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
12public sealed class MessageProperties : IDictionary<string, object>, IDisposable
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
38internal class RouteValueDictionary : IDictionary<string, object?>, IReadOnlyDictionary<string, object?>
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
16public class ConnectionItems : IDictionary<object, object?>
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.AspNetCore.Http (3)
Internal\ItemsDictionary.cs (1)
13internal sealed class ItemsDictionary : IDictionary<object, object?>
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
20internal sealed class AdaptiveCapacityDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\RouteValueDictionary.cs (1)
36public class RouteValueDictionary : IDictionary<string, object?>, IReadOnlyDictionary<string, object?>
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
17IDictionary<object, ValidationStateEntry>,
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
DictionaryModelBinderIntegrationTest.cs (2)
1516private class ExplicitClosedGenericDictionary : IDictionary<string, string> 1621private class ExplicitDictionary<TKey, TValue> : IDictionary<TKey, TValue>
Microsoft.AspNetCore.Mvc.ViewFeatures (2)
AttributeDictionary.cs (1)
17public class AttributeDictionary : IDictionary<string, string?>, IReadOnlyDictionary<string, string?>
ViewDataDictionary.cs (1)
21public class ViewDataDictionary : IDictionary<string, object?>
Microsoft.AspNetCore.Owin (2)
DictionaryStringArrayWrapper.cs (1)
11internal sealed class DictionaryStringArrayWrapper : IDictionary<string, string[]>
OwinEnvironment.cs (1)
29public class OwinEnvironment : IDictionary<string, object>
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
Microsoft.AspNetCore.Shared.Tests (3)
ClosedGenericMatcherTest.cs (1)
236private class BaseClass : IDictionary<string, object>, IEquatable<BaseClass>
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
20internal sealed class AdaptiveCapacityDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
Microsoft.Build (5)
Collections\ArrayDictionary.cs (1)
20internal class ArrayDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Collections\PropertyDictionary.cs (1)
39internal sealed class PropertyDictionary<T> : IEnumerable<T>, IEquatable<PropertyDictionary<T>>, IPropertyProvider<T>, IDictionary<string, T>, IConstrainableDictionary<T>
Collections\ReadOnlyConvertingDictionary.cs (1)
20internal class ReadOnlyConvertingDictionary<K, V, N> : IDictionary<K, N>
CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
ReadOnlyEmptyDictionary.cs (1)
19internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
Microsoft.Build.Framework (3)
ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
ImmutableSegmentedDictionary`2+Builder.cs (1)
14public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
SegmentedDictionary`2.cs (1)
32internal sealed class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.Build.Tasks.Core (2)
CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
ReadOnlyEmptyDictionary.cs (1)
19internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
ReadOnlyEmptyDictionary.cs (1)
19internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
Microsoft.CodeAnalysis (5)
InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
19: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
15public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
14private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
34internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
19: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
15public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
14private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
34internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Collections.Package (4)
ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
ImmutableSegmentedDictionary`2+Builder.cs (1)
15public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
14private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
SegmentedDictionary`2.cs (1)
34internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Workspaces (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
19: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
15public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
14private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
34internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
19: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
70internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
15public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
14private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
34internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
25public class AdditionalPropertiesDictionary<TValue> : IDictionary<string, TValue>, IReadOnlyDictionary<string, TValue>
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
263private sealed class ConfigurationBuilderProperties : IDictionary<string, object>
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
11public record struct ValueEqualityImmutableDictionary<T, U>(ImmutableDictionary<T, U> Map) : IDictionary<T, U>
Microsoft.Maui.Controls (3)
OrderedDictionary.cs (1)
40 internal sealed class OrderedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IList<KeyValuePair<TKey, TValue>>
ResourceDictionary.cs (1)
19 public class ResourceDictionary : IResourceDictionary, IDictionary<string, object>
Shell\ShellNavigationQueryParameters.cs (1)
8 public class ShellNavigationQueryParameters : IDictionary<string, object>
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
22internal sealed class Tree<TKey, TValue> : IDictionary<TKey, Tree<TKey, TValue>>
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
16public sealed class SearchSpace : OptionBase, IDictionary<string, OptionBase>
Parameter.cs (1)
63public sealed class Parameter : IDictionary<string, Parameter>, IEquatable<Parameter>, IEqualityComparer<Parameter>
SearchSpace.cs (1)
27public class SearchSpace : OptionBase, IDictionary<string, OptionBase>
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
19public class DefaultDictionary<TKey, TValue> : IDictionary<TKey, TValue>
MSBuild (2)
CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
ReadOnlyEmptyDictionary.cs (1)
19internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
MSBuildTaskHost (3)
CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
Immutable\ImmutableDictionary.cs (1)
32internal sealed class ImmutableDictionary<K, V> : IDictionary<K, V>, IDictionary
ReadOnlyEmptyDictionary.cs (1)
19internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
575internal sealed class IntMap : IDictionary<int, ushort>
System\Windows\Media\CharacterMetricsDictionary.cs (1)
12public sealed class CharacterMetricsDictionary : IDictionary<int, CharacterMetrics>, SC.IDictionary
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
14public sealed class LanguageSpecificStringDictionary : IDictionary<XmlLanguage, string>, SC.IDictionary
System\Windows\Media\GlyphTypeface.cs (1)
1726private class GlyphIndexer : IDictionary<ushort, double>
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
26internal class ObservableDictionary : IDictionary<string, string>, INotifyPropertyChanged
MS\Internal\WeakDictionary.cs (1)
13internal class WeakDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : class
Shared (1)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
16internal sealed class EmptyReadOnlyDictionary<TKey, TValue> : IReadOnlyDictionary<TKey, TValue>, IDictionary<TKey, TValue>
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
35IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary,
System\Collections\Generic\SortedDictionary.cs (1)
14public class SortedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
System\Collections\Generic\SortedList.cs (1)
55IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
22public class ConcurrentDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
System.Collections.Immutable (8)
System\Collections\Frozen\DefaultFrozenDictionary.cs (1)
12internal sealed partial class DefaultFrozenDictionary<TKey, TValue> : KeysAndValuesFrozenDictionary<TKey, TValue>, IDictionary<TKey, TValue>
System\Collections\Frozen\FrozenDictionary.cs (1)
264public abstract partial class FrozenDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
System\Collections\Frozen\KeysAndValuesFrozenDictionary.cs (1)
11internal abstract class KeysAndValuesFrozenDictionary<TKey, TValue> : FrozenDictionary<TKey, TValue>, IDictionary<TKey, TValue>
System\Collections\Frozen\ValueTypeDefaultComparerFrozenDictionary.cs (1)
13internal sealed class ValueTypeDefaultComparerFrozenDictionary<TKey, TValue> : KeysAndValuesFrozenDictionary<TKey, TValue>, IDictionary<TKey, TValue>
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
31public sealed class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
18public sealed partial class ImmutableDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IImmutableDictionaryInternal<TKey, TValue>, IDictionary<TKey, TValue>, IDictionary where TKey : notnull
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
29public sealed class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
19public sealed partial class ImmutableSortedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IDictionary
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
9internal sealed class CycleBreakingMetadataDictionary : IDictionary<string, object>
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityTagsCollection.cs (1)
22public class ActivityTagsCollection : IDictionary<string, object?>
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
8internal sealed class DictionaryWrapper : IDictionary<string, string?>, IDictionary
System.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
20public sealed class ExpandoObject : IDynamicMetaObjectProvider, IDictionary<string, object?>, INotifyPropertyChanged
System.Net.Http (1)
System\Net\Http\HttpRequestOptions.cs (1)
15public sealed class HttpRequestOptions : IDictionary<string, object?>, IReadOnlyDictionary<string, object?>
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
18public class Dictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>, ISerializable, IDeserializationCallback where TKey : notnull
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
15public class ReadOnlyDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
15internal sealed class EventPayload : IDictionary<string, object?>
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
14public sealed class CoseHeaderMap : IDictionary<CoseHeaderLabel, CoseHeaderValue>, IReadOnlyDictionary<CoseHeaderLabel, CoseHeaderValue>
System.ServiceModel.Primitives (1)
netstandard.cs (1)
1721public sealed partial class MessageProperties : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.Generic.IDictionary<string, object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, object>>, System.Collections.IEnumerable, System.IDisposable
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
296public sealed partial class SemanticValue : System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue>>, System.Collections.Generic.IDictionary<string, System.Speech.Recognition.SemanticValue>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, System.Speech.Recognition.SemanticValue>>, System.Collections.IEnumerable
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
11public partial class JsonObject : IDictionary<string, JsonNode?>
System.Xaml.Tests (2)
System\Xaml\XamlTypeTests.cs (2)
3136private class MultipleIDictionary : IDictionary<string, int>, IDictionary<int, string>
3771 references to IDictionary
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
241public CodeRefactoringProviderMetadata(IDictionary<string, object> data)
Aspire.Dashboard (3)
Components\Pages\Resources.razor.cs (1)
96static bool IsKeyValueTrue(string key, IDictionary<string, bool> dictionary) => dictionary.TryGetValue(key, out var value) && value;
Model\ResourceOutgoingPeerResolver.cs (1)
67internal static bool TryResolvePeerNameCore(IDictionary<string, ResourceViewModel> resources, KeyValuePair<string, string>[] attributes, out string? name)
Model\ResourceViewModel.cs (1)
98public static string GetResourceName(ResourceViewModel resource, IDictionary<string, ResourceViewModel> allResources)
Aspire.Dashboard.Tests (1)
ResourceOutgoingPeerResolverTests.cs (1)
195private static bool TryResolvePeerName(IDictionary<string, ResourceViewModel> resources, KeyValuePair<string, string>[] attributes, out string? peerName)
Aspire.EndToEnd.Tests (2)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
14public IDictionary<string, string> EnvVars { get; init; }
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
49public ToolCommand WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars)
Aspire.Hosting (8)
Dcp\Model\ExecutableReplicaSet.cs (2)
14public IDictionary<string, string>? Labels { get; set; } 18public IDictionary<string, string>? Annotations { get; set; }
Dcp\Model\ModelCommon.cs (5)
63internal static bool TryGetAnnotationAsObjectList<TValue>(IDictionary<string, string>? annotations, string annotationName, [NotNullWhen(true)] out List<TValue>? list) 91internal static void AnnotateAsObjectList<TValue>(IDictionary<string, string> annotations, string annotationName, TValue value) 287public IDictionary<string, string>? Annotations { get; set; } 341public IDictionary<string, string>? Labels { get; set; } 345public IDictionary<string, string>? Annotations { get; set; }
Dcp\Process\ProcessSpec.cs (1)
10public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Aspire.Hosting.Azure (8)
AzureProvisioningResource.cs (1)
41var compilation = plan.Compile();
IResourceWithAzureFunctionsConfig.cs (1)
18void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName);
Provisioning\AzureProvisionerExtensions.cs (1)
49Func<TResource, IDictionary<string, string>> getTags)
Provisioning\IAzureResourceEnumerator.cs (4)
12IDictionary<string, string> GetTags(ArmResource resource); 17Func<TResource, IDictionary<string, string>> getTags) : IAzureResourceEnumerator 22public IDictionary<string, string> GetTags(TResource resource) => getTags(resource); 32IDictionary<string, string> IAzureResourceEnumerator.GetTags(ArmResource resource)
src\Aspire.Hosting\Dcp\Process\ProcessSpec.cs (1)
10public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Aspire.Hosting.Azure.CosmosDB (1)
AzureCosmosDBResource.cs (1)
69public void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.EventHubs (1)
AzureEventHubsResource.cs (1)
53void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.ServiceBus (1)
AzureServiceBusResource.cs (1)
40void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.Storage (3)
AzureBlobStorageResource.cs (1)
29void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureQueueStorageResource.cs (1)
29void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureStorageResource.cs (1)
65void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
55protected override IDictionary<object, object> UserStateCore => _userState;
Aspire.RabbitMQ.Client (4)
RabbitMQEventSourceLogForwarder.cs (4)
82var exData = eventData!.Payload![1] as IDictionary<string, object?>; 110var exData = EventData.Payload[1] as IDictionary<string, object?>;
Aspire.Workload.Tests (2)
tests\Shared\WorkloadTesting\BuildEnvironment.cs (1)
14public IDictionary<string, string> EnvVars { get; init; }
tests\Shared\WorkloadTesting\ToolCommand.cs (1)
49public ToolCommand WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars)
ClientSample (1)
Tcp\TcpConnection.cs (1)
44public override IDictionary<object, object> Items { get; set; } = new ConnectionItems();
ConfigurationSchemaGenerator (1)
RuntimeSource\Configuration.Binder\Parser\KnownTypeSymbols.cs (1)
107GenericIDictionary = compilation.GetBestTypeByMetadataName(typeof(IDictionary<,>));
ConfigurationSchemaGenerator.Tests (4)
VariousTypes.cs (4)
81/// A <see cref="IDictionary{TKey,TValue}"/> of <see cref="string"/> to <see cref="TimeSpan"/>. 83public IDictionary<string, TimeSpan> PropertyOfStringToTimeSpan { get; } = new Dictionary<string, TimeSpan>(); 91/// A <see cref="IDictionary{TKey,TValue}"/> of <see cref="string"/> to <see cref="DefaultSettings"/>. 93public IDictionary<string, DefaultSettings> PropertyOfStringToDefaultSettings { get; } = new Dictionary<string, DefaultSettings>();
CSharpSyntaxGenerator (4)
AbstractFileWriter.cs (4)
19private readonly IDictionary<string, string> _parentMap; 22private readonly IDictionary<string, Node> _nodeMap; 23private readonly IDictionary<string, TreeType> _typeMap; 42protected IDictionary<string, string> ParentMap { get { return _parentMap; } }
dotnet-openapi (5)
Commands\BaseCommand.cs (4)
192var urlPackages = await LoadPackageVersionsFromURLAsync(); 193var attributePackages = GetServicePackages(codeGenerator); 444private async Task<IDictionary<string, string>> LoadPackageVersionsFromURLAsync() 482private static IDictionary<string, string> GetServicePackages(CodeGenerator? type)
ProjectExtensions.cs (1)
12public static void AddElementWithAttributes(this Project project, string tagName, string include, IDictionary<string, string> metadata)
dotnet-svcutil-lib (67)
FrameworkFork\Microsoft.CodeDom\Compiler\CodeDOMProvider.cs (1)
18public static CodeDomProvider CreateProvider(String language, System.Collections.Generic.IDictionary<String, String> providerOptions)
FrameworkFork\Microsoft.CodeDom\Compiler\CompilerInfo.cs (5)
20internal IDictionary<string, string> _providerOptions; // This can never be null 79ConstructorInfo ci = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) }); 89public CodeDomProvider CreateProvider(IDictionary<String, String> providerOptions) 94ConstructorInfo constructor = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) }); 180internal IDictionary<string, string> ProviderOptions
FrameworkFork\Microsoft.CodeDom\Compiler\RedistVersionInfo.cs (1)
34public static string GetCompilerPath(IDictionary<string, string> provOptions, string compilerExecutable)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
36public CSharpCodeProvider(IDictionary<string, string> providerOptions) 115private IDictionary<string, string> _provOptions; 257internal CSharpCodeGenerator(IDictionary<string, string> providerOptions)
FrameworkFork\Microsoft.Xml\Xml\BinaryXml\XmlBinaryReader.cs (1)
1817System.Collections.Generic.IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlAsyncCheckReader.cs (2)
952IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 1014IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlCharCheckingReader.cs (1)
691IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlSubtreeReader.cs (1)
1206IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReader.cs (2)
351IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 370public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImpl.cs (2)
1995IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 2011internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlTextReaderImplHelpers.cs (1)
164public override IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) { return null; }
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReader.cs (1)
272IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlValidatingReaderImpl.cs (2)
799IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 815internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWellformedWriterHelpers.cs (1)
30IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Core\XsdValidatingReader.cs (1)
1829IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentSchemaValidator.cs (3)
177public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 179IDictionary<string, string> dictionary = _nsManager.GetNamespacesInScope(scope); 481IDictionary<string, string> namespaceDecls = NamespaceResolver.GetNamespacesInScope(XmlNamespaceScope.All);
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXmlWriter.cs (1)
481IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlNodeReader.cs (2)
994internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 1919IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\IXmlNamespaceResolver.cs (1)
21IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope);
FrameworkFork\Microsoft.Xml\Xml\schema\XmlAtomicValue.cs (1)
68public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\schema\XmlSchemaValidator.cs (1)
2166IDictionary<string, string> namespaceDecls = _nsResolver.GetNamespacesInScope(XmlNamespaceScope.All);
FrameworkFork\Microsoft.Xml\Xml\XmlNamespaceManager.cs (1)
234public virtual IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (2)
523public virtual IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 1979IDictionary<string, string> dictionary = resolver.GetNamespacesInScope(XmlNamespaceScope.All);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (1)
150IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ExceptionDataContract.cs (1)
330DataContract dataDataContract = GetDataContract(typeof(IDictionary<object, object>));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\Globals.cs (1)
665s_typeOfIDictionaryGeneric = typeof(IDictionary<,>);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\ImportOptions.cs (2)
19private IDictionary<string, string> _namespaces; 71public IDictionary<String, String> Namespaces
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\XmlReaderDelegator.cs (1)
873internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\AuthorizationContext.cs (1)
17public abstract IDictionary<string, object> Properties { get; }
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\DefaultAuthorizationContext.cs (2)
17private IDictionary<string, object> _properties; 56public override IDictionary<string, object> Properties
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\DefaultEvaluationContext.cs (1)
47public override IDictionary<string, object> Properties
FrameworkFork\System.ServiceModel\System\IdentityModel\Policy\EvaluationContext.cs (1)
14public abstract IDictionary<string, object> Properties { get; }
FrameworkFork\System.ServiceModel\System\IdentityModel\SecurityUtils.cs (2)
401private IDictionary<string, object> _properties; 428public override IDictionary<string, object> Properties { get { return _properties; } }
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
129public IDictionary<string, object> Properties
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpRequestMessageExtensionMethods.cs (2)
28IDictionary<string, object> properties = httpRequestMessage.Properties; 46private static void CopyProperties(MessageProperties messageProperties, IDictionary<string, object> properties)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
132public IDictionary<string, SupportingTokenParameters> OperationSupportingTokenParameters 140public IDictionary<string, SupportingTokenParameters> OptionalOperationSupportingTokenParameters
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UnrecognizedAssertionsBindingElement.cs (4)
18private IDictionary<OperationDescription, ICollection<XmlElement>> _operationAssertions; 19private IDictionary<MessageDescription, ICollection<XmlElement>> _messageAssertions; 43internal IDictionary<OperationDescription, ICollection<XmlElement>> OperationAssertions 53internal IDictionary<MessageDescription, ICollection<XmlElement>> MessageAssertions
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceMetadataExtension.cs (4)
192private readonly IDictionary<string, int> _updatePortsByScheme; 195IDictionary<string, int> updatePortsByScheme, bool removeBaseAddress) 202int requestPort, IDictionary<string, int> updatePortsByScheme) 209int requestPort, IDictionary<string, int> updatePortsByScheme)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedKeyedCollection.cs (1)
85protected IDictionary<K, T> Dictionary
Shared\ProjectPropertyResolver.cs (2)
23public async Task<Dictionary<string, string>> EvaluateProjectPropertiesAsync(string projectPath, string targetFramework, IEnumerable<string> propertyNames, IDictionary<string, string> globalProperties, ILogger logger, CancellationToken cancellationToken) 225private void ValidatePropertyNames(IDictionary<string, string> propertyTable)
Shared\Utilities\ProcessRunner.cs (1)
53public static async Task<ProcessResult> RunAsync(string processName, string processArgs, string currentDir, bool redirectOutput, bool throwOnError, IDictionary<string, string> environmentVariables, ILogger logger, CancellationToken cancellationToken)
dotnet-user-jwts (4)
Helpers\Jwt.cs (2)
15public IDictionary<string, string> CustomClaims { get; set; } = new Dictionary<string, string>(); 25IDictionary<string, string> customClaims = null)
Helpers\JwtStore.cs (2)
27public IDictionary<string, Jwt> Jwts { get; private set; } = new Dictionary<string, Jwt>(); 36Jwts = JsonSerializer.Deserialize<IDictionary<string, Jwt>>(fileStream, JwtSerializerOptions.Default) ?? new Dictionary<string, Jwt>();
dotnet-user-secrets (3)
Internal\ReadableJsonConfigurationSource.cs (1)
20public IDictionary<string, string> CurrentData => Data;
Internal\SecretsStore.cs (2)
24private readonly IDictionary<string, string> _secrets; 92protected virtual IDictionary<string, string> Load(string userSecretsId)
FilesWebSite (1)
Models\Product.cs (1)
10public IDictionary<string, IEnumerable<IFormFile>> Specs { get; set; }
HelixTestRunner (1)
ProcessUtil.cs (1)
77IDictionary<string, string?>? environmentVariables = null,
http2cat (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
Identity.DefaultUI.WebSite (2)
Pages\Contoso\Login.cshtml.cs (2)
54var state = JsonConvert.DeserializeObject<IDictionary<string, string>>(State);
IIS.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
IIS.LongTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
IIS.NewHandler.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
IIS.NewShim.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
IISExpress.FunctionalTests (2)
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
illink (2)
InMemory.FunctionalTests (11)
Http2\Http2ConnectionTests.cs (1)
504var persistentStateCollection = context.Features.Get<IPersistentStateFeature>().State;
RequestTests.cs (1)
2140var persistentStateCollection = context.Features.Get<IPersistentStateFeature>().State;
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
63public void Initialize(IDictionary<string, StringValues> headers)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (4)
1024public override IDictionary<object, object> Items { get; set; } 1107private IDictionary<object, object> _persistentState; 1190public override IDictionary<object, object> Items { get; set; } 1262IDictionary<object, object> IPersistentStateFeature.State
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
243public override IDictionary<object, object> Items { get; set; }
src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
Interop.FunctionalTests (1)
Http3\Http3RequestTests.cs (1)
835var persistentStateCollection = context.Features.Get<IPersistentStateFeature>().State;
InteropTests (1)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonObject.cs (1)
19private readonly IDictionary<string, JsonValue> _properties;
Microsoft.Arcade.Test.Common (1)
MockEngine.cs (1)
68public void LogTelemetry(string eventName, IDictionary<string, string> properties)
Microsoft.AspNetCore (5)
BootstrapHostBuilder.cs (1)
39public IDictionary<object, object> Properties => Context.Properties;
ConfigureHostBuilder.cs (1)
36public IDictionary<object, object> Properties => _context.Properties;
WebApplication.cs (2)
80internal IDictionary<string, object?> Properties => ApplicationBuilder.Properties; 81IDictionary<string, object?> IApplicationBuilder.Properties => Properties;
WebApplicationBuilder.cs (1)
366IDictionary<object, object> IHostApplicationBuilder.Properties => ((IHostApplicationBuilder)_hostApplicationBuilder).Properties;
Microsoft.AspNetCore.Analyzer.Testing (1)
TestSource.cs (1)
14public IDictionary<string, DiagnosticLocation> MarkerLocations { get; }
Microsoft.AspNetCore.App.Analyzers.Test (7)
RouteEmbeddedLanguage\Infrastructure\MarkupTestFile.cs (7)
53string input, out string output, out int? position, out IDictionary<string, List<TextSpan>> spans) 178private static V GetOrAdd<K, V>(IDictionary<K, V> dictionary, K key, Func<K, V> function) 191IDictionary<string, List<TextSpan>> spans, 212Parse(input, out output, out cursorPositionOpt, out var dictionary); 220string input, out string output, out int? cursorPositionOpt, out IDictionary<string, ImmutableArray<TextSpan>> spans) 222Parse(input, out output, out cursorPositionOpt, out var dictionary); 226public static void GetSpans(string input, out string output, out IDictionary<string, ImmutableArray<TextSpan>> spans)
Microsoft.AspNetCore.Authentication.Abstractions (6)
AuthenticationOptions.cs (1)
25public IDictionary<string, AuthenticationSchemeBuilder> SchemeMap { get; } = new Dictionary<string, AuthenticationSchemeBuilder>(StringComparer.Ordinal);
AuthenticationProperties.cs (5)
33public AuthenticationProperties(IDictionary<string, string?> items) 42public AuthenticationProperties(IDictionary<string, string?>? items, IDictionary<string, object?>? parameters) 60public IDictionary<string, string?> Items { get; } 67public IDictionary<string, object?> Parameters { get; }
Microsoft.AspNetCore.Authentication.Core (2)
AuthenticationSchemeProvider.cs (2)
31protected AuthenticationSchemeProvider(IOptions<AuthenticationOptions> options, IDictionary<string, AuthenticationScheme> schemes) 48private readonly IDictionary<string, AuthenticationScheme> _schemes;
Microsoft.AspNetCore.Authentication.Google (5)
GoogleChallengeProperties.cs (3)
48public GoogleChallengeProperties(IDictionary<string, string?> items) 56public GoogleChallengeProperties(IDictionary<string, string?> items, IDictionary<string, object?> parameters)
GoogleHandler.cs (2)
88IDictionary<string, StringValues> queryStrings, 115IDictionary<string, StringValues> queryStrings,
Microsoft.AspNetCore.Authentication.MicrosoftAccount (3)
MicrosoftChallengeProperties.cs (3)
45public MicrosoftChallengeProperties(IDictionary<string, string?> items) 53public MicrosoftChallengeProperties(IDictionary<string, string?> items, IDictionary<string, object?> parameters)
Microsoft.AspNetCore.Authentication.Negotiate (3)
NegotiateHandler.cs (3)
93var connectionItems = GetConnectionItems(); 399private AuthPersistence EstablishConnectionPersistence(IDictionary<object, object?> items) 408private IDictionary<object, object?> GetConnectionItems()
Microsoft.AspNetCore.Authentication.Negotiate.Test (2)
EventTests.cs (1)
476public IDictionary<object, object> Items { get; set; } = new ConnectionItems();
NegotiateHandlerTests.cs (1)
500public IDictionary<object, object> Items { get; set; } = new ConnectionItems();
Microsoft.AspNetCore.Authentication.OAuth (4)
OAuthChallengeProperties.cs (3)
26public OAuthChallengeProperties(IDictionary<string, string?> items) 34public OAuthChallengeProperties(IDictionary<string, string?>? items, IDictionary<string, object?>? parameters)
OAuthOptions.cs (1)
94public IDictionary<string, string> AdditionalAuthorizationParameters { get; } = new Dictionary<string, string>();
Microsoft.AspNetCore.Authentication.OpenIdConnect (4)
OpenIdConnectChallengeProperties.cs (3)
34public OpenIdConnectChallengeProperties(IDictionary<string, string?> items) 42public OpenIdConnectChallengeProperties(IDictionary<string, string?> items, IDictionary<string, object?> parameters)
OpenIdConnectOptions.cs (1)
247public IDictionary<string, string> AdditionalAuthorizationParameters { get; } = new Dictionary<string, string>();
Microsoft.AspNetCore.Authentication.Test (24)
OpenIdConnect\OpenIdConnectChallengeTests.cs (3)
200var values = settings.ValidateChallengeRedirect(res.Headers.Location); 235var values = settings.ValidateChallengeRedirect(res.Headers.Location); 970public IDictionary<string, string> PushedParameters { get; set; } = new Dictionary<string, string>();
OpenIdConnect\TestSettings.cs (21)
49public IDictionary<string, string> ValidateChallengeFormPost(string responseBody, params string[] parametersToValidate) 51IDictionary<string, string> formInputs = null; 87public IDictionary<string, string> ValidateSignoutFormPost(TestTransaction transaction, params string[] parametersToValidate) 89IDictionary<string, string> formInputs = null; 125public IDictionary<string, string> ValidateChallengeRedirect(Uri redirectUri, params string[] parametersToValidate) => 128public IDictionary<string, string> ValidateSignoutRedirect(Uri redirectUri, params string[] parametersToValidate) => 131private IDictionary<string, string> ValidateRedirectCore(Uri redirectUri, OpenIdConnectRequestType requestType, string[] parametersToValidate) 165IDictionary<string, string> actualValues, 238private void ValidateClientId(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 241private void ValidateResponseType(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 244private void ValidateResponseMode(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 247private void ValidateScope(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 250private void ValidateRedirectUri(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 253private void ValidateResource(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 256private void ValidateState(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 259private static void ValidateSkuTelemetry(IDictionary<string, string> actualParams, ICollection<string> errors) 267private void ValidateVersionTelemetry(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 270private void ValidatePostLogoutRedirectUri(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 273private void ValidateMaxAge(IDictionary<string, string> actualQuery, ICollection<string> errors, bool htmlEncoded) 287private void ValidatePrompt(IDictionary<string, string> actualParams, ICollection<string> errors, bool htmlEncoded) => 293IDictionary<string, string> actualParams,
Microsoft.AspNetCore.BrowserTesting (3)
BrowserManagerConfiguration.cs (2)
28public IDictionary<string, BrowserOptions> BrowserOptions { get; } = 34public IDictionary<string, BrowserNewContextOptions> ContextOptions { get; private set; } =
ContextInformation.cs (1)
22public IDictionary<IPage, PageInformation> Pages { get; } = new Dictionary<IPage, PageInformation>();
Microsoft.AspNetCore.Components (24)
DynamicComponent.cs (2)
48public IDictionary<string, object>? Parameters { get; set; } 75Parameters = (IDictionary<string, object>)entry.Value;
Infrastructure\ComponentStatePersistenceManager.cs (1)
41var data = await store.GetPersistedStateAsync();
IPersistentComponentStateStore.cs (1)
15Task<IDictionary<string, byte[]>> GetPersistedStateAsync();
ParameterView.cs (3)
299/// Creates a new <see cref="ParameterView"/> from the given <see cref="IDictionary{TKey, TValue}"/>. 301/// <param name="parameters">The <see cref="IDictionary{TKey, TValue}"/> with the parameters.</param> 303public static ParameterView FromDictionary(IDictionary<string, object?> parameters)
PersistentComponentState.cs (4)
15private IDictionary<string, byte[]>? _existingState; 16private readonly IDictionary<string, byte[]> _currentState; 21IDictionary<string , byte[]> currentState, 30internal void InitializeExistingState(IDictionary<string, byte[]> existingState)
src\Http\Routing\src\DefaultInlineConstraintResolver.cs (1)
21private readonly IDictionary<string, Type> _inlineConstraintMap;
src\Http\Routing\src\ParameterPolicyActivator.cs (2)
18IDictionary<string, Type> inlineParameterPolicyMap, 70IDictionary<string, Type> inlineParameterPolicyMap,
src\Http\Routing\src\RouteConstraintBuilder.cs (2)
51/// <returns>An <see cref="IDictionary{String, IRouteConstraint}"/> of the constraints.</returns> 52public IDictionary<string, IRouteConstraint> Build()
src\Http\Routing\src\RouteConstraintMatcher.cs (1)
45IDictionary<string, IRouteConstraint> constraints,
src\Http\Routing\src\RouteOptions.cs (4)
23private IDictionary<string, Type> _constraintTypeMap = GetDefaultConstraintMap(); 81public IDictionary<string, Type> ConstraintMap 100internal IDictionary<string, Type> TrimmerSafeConstraintMap => _constraintTypeMap; 102private static IDictionary<string, Type> GetDefaultConstraintMap()
src\Http\Routing\src\Tree\InboundRouteEntry.cs (1)
30public IDictionary<string, IRouteConstraint> Constraints { get; set; }
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\CapturedBatch.cs (1)
10public IDictionary<int, List<RenderTreeDiff>> DiffsByComponentId { get; }
Microsoft.AspNetCore.Components.Endpoints (18)
FormMapping\Converters\DictionaryAdapters\DictionaryBufferAdapter.cs (1)
9where TDictionaryType : IDictionary<TKey, TValue>, new()
FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
45where TCustomDictionary : TDictionary, IDictionary<TKey, TValue>, new()
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 =>
FormMapping\Factories\DictionaryConverterFactory.cs (2)
46var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(type, typeof(IDictionary<,>)) ?? 77var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(type, typeof(IDictionary<,>)) ??
Rendering\EndpointHtmlRenderer.PrerenderingState.cs (2)
256public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() => throw new NotImplementedException(); 267public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() => throw new NotImplementedException();
Rendering\SSRRenderModeBoundary.cs (1)
163: ParameterView.FromDictionary((IDictionary<string, object?>)_latestParameters);
src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Binding\FormDataMapperTests.cs (2)
961CanDeserialize_Dictionary<IDictionary<int, int>, Dictionary<int, int>, int, int>(expected); 1222where TDictionary : IDictionary<TKey, TValue>
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\CapturedBatch.cs (1)
10public IDictionary<int, List<RenderTreeDiff>> DiffsByComponentId { get; }
Microsoft.AspNetCore.Components.Server (10)
Circuits\CircuitHandleRegistry.cs (3)
8public CircuitHandle GetCircuitHandle(IDictionary<object, object?> circuitHandles, object circuitKey) 18public CircuitHost GetCircuit(IDictionary<object, object?> circuitHandles, object circuitKey) 28public void SetCircuit(IDictionary<object, object?> circuitHandles, object circuitKey, CircuitHost circuitHost)
Circuits\ICircuitHandleRegistry.cs (3)
8CircuitHandle GetCircuitHandle(IDictionary<object, object?> circuitHandles, object circuitKey); 10CircuitHost GetCircuit(IDictionary<object, object?> circuitHandles, object circuitKey); 12void SetCircuit(IDictionary<object, object?> circuitHandles, object circuitKey, CircuitHost circuitHost);
src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
src\SignalR\common\Protocols.MessagePack\src\Protocol\MessagePackHubProtocolWorker.cs (2)
324private static T ApplyHeaders<T>(IDictionary<string, string>? source, T destination) where T : HubInvocationMessage 592private static void PackHeaders(IDictionary<string, string>? headers, ref MessagePackWriter writer)
Microsoft.AspNetCore.Components.Server.Tests (11)
Circuits\CircuitHostTest.cs (1)
684private static WebRootComponentParameters CreateWebRootComponentParameters(IDictionary<string, object> parameters = null)
Circuits\ComponentHubTest.cs (3)
149public CircuitHandle GetCircuitHandle(IDictionary<object, object> circuitHandles, object circuitKey) 154public CircuitHost GetCircuit(IDictionary<object, object> circuitHandles, object circuitKey) 166public void SetCircuit(IDictionary<object, object> circuitHandles, object circuitKey, CircuitHost circuitHost)
Circuits\RemoteRendererTest.cs (1)
686private static WebRootComponentParameters CreateWebRootComponentParameters(IDictionary<string, object> parameters)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\HubMessageHelpers.cs (1)
12public static HubMessage AddHeaders(IDictionary<string, string> headers, HubInvocationMessage hubMessage)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (5)
26protected static readonly IDictionary<string, string> TestHeaders = new Dictionary<string, string> 60public static IDictionary<string, ProtocolTestData> BaseTestData => new[] 283public static IDictionary<string, InvalidMessageData> BaseInvalidPayloads => new[] 369public static IDictionary<string, InvalidMessageData> ArgumentBindingErrors => new[] 412public static IDictionary<string, MessageSizeTestData> MessageSizeData => new[]
Microsoft.AspNetCore.Components.Tests (12)
Lifetime\ComponentStatePersistenceManagerTest.cs (6)
260public TestStore(IDictionary<string, byte[]> initialState) 265public IDictionary<string, byte[]> State { get; set; } 267public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 282public CompositeTestStore(IDictionary<string, byte[]> initialState) 287public IDictionary<string, byte[]> State { get; set; } 295public Task<IDictionary<string, byte[]>> GetPersistedStateAsync()
ParameterViewTest.Assignment.cs (1)
713[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> CaptureUnmatchedValuesProp2 { get; set; }
RendererTest.cs (4)
5238[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> Attributes { get; set; } 5374public IDictionary<string, object> ChildParameters { get; set; } 5701[Parameter] public IDictionary<int, IList<ExecutionAction>> EventActions { get; set; } 5703[Parameter] public IDictionary<int, Func<NestedAsyncComponent, RenderFragment>> WhatToRender { get; set; }
src\Components\Shared\test\CapturedBatch.cs (1)
10public IDictionary<int, List<RenderTreeDiff>> DiffsByComponentId { get; }
Microsoft.AspNetCore.Components.Web (1)
Forms\InputFile.cs (1)
32public IDictionary<string, object>? AdditionalAttributes { get; set; }
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\CapturedBatch.cs (1)
10public IDictionary<int, List<RenderTreeDiff>> DiffsByComponentId { get; }
Microsoft.AspNetCore.Components.WebAssembly (7)
Hosting\WebAssemblyHostConfiguration.cs (1)
41IDictionary<string, object> IConfigurationBuilder.Properties { get; } = new Dictionary<string, object>();
Http\WebAssemblyHttpRequestMessageExtensions.cs (4)
13private static readonly HttpRequestOptionsKey<IDictionary<string, object>> FetchRequestOptionsKey = new HttpRequestOptionsKey<IDictionary<string, object>>("WebAssemblyFetchOptions"); 119IDictionary<string, object> fetchOptions; 120if (requestMessage.Options.TryGetValue(FetchRequestOptionsKey, out var entry))
src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
103private static void RemoveUnwantedEnvironmentVariables(IDictionary<string, string?> environment)
Microsoft.AspNetCore.Components.WebView (8)
FileExtensionContentTypeProvider.cs (2)
421public FileExtensionContentTypeProvider(IDictionary<string, string> mapping) 430public IDictionary<string, string> Mappings { get; private set; }
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (3)
327[JsonSerializable(typeof(IDictionary<string, StaticWebAssetNode>))] 385IDictionary<string, StaticWebAssetNode> newChildren, 386IDictionary<string, StaticWebAssetNode> existing)
StaticContentProvider.cs (2)
23public bool TryGetResponseContent(string requestUri, bool allowFallbackOnHostPage, out int statusCode, out string statusMessage, out Stream content, out IDictionary<string, string> headers) 88private static IDictionary<string, string> GetResponseHeaders(string contentType)
WebViewManager.cs (1)
211protected bool TryGetResponseContent(string uri, bool allowFallbackOnHostPage, out int statusCode, out string statusMessage, out Stream content, out IDictionary<string, string> headers)
Microsoft.AspNetCore.Components.WebView.Maui (4)
iOS\BlazorWebViewHandler.iOS.cs (1)
290 if (_webViewHandler._webviewManager!.TryGetResponseContentInternal(url, allowFallbackOnHostPage, out statusCode, out var statusMessage, out var content, out var headers))
iOS\IOSWebViewManager.cs (1)
70 internal bool TryGetResponseContentInternal(string uri, bool allowFallbackOnHostPage, out int statusCode, out string statusMessage, out Stream content, out IDictionary<string, string> headers)
RootComponent.cs (1)
31 public IDictionary<string, object?>? Parameters { get; set; }
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
62 public static bool TryReplaceResponseContent(string contentRootRelativePath, string requestAbsoluteUri, ref int responseStatusCode, ref Stream responseContent, IDictionary<string, string> responseHeaders)
Microsoft.AspNetCore.Components.WebView.Photino (2)
BlazorWindowRootComponents.cs (1)
29public void Add<TComponent>(string selector, IDictionary<string, object?>? parameters = null) where TComponent : IComponent
PhotinoWebViewManager.cs (1)
54&& TryGetResponseContent(url, !hasFileExtension, out _, out _, out var content, out var headers))
Microsoft.AspNetCore.Components.WebView.Test (3)
StaticContentProviderTests.cs (3)
33out var headers)); 46public InMemoryFileProvider(IDictionary<string, string> filePathsAndContents) 53public IDictionary<string, string> FilePathsAndContents { get; }
Microsoft.AspNetCore.Components.WebView.WindowsForms (6)
RootComponent.cs (2)
22 public RootComponent(string selector, Type componentType, IDictionary<string, object?>? parameters) 48 public IDictionary<string, object?>? Parameters { get; }
RootComponentCollectionExtensions.cs (1)
23 public static void Add<TComponent>(this RootComponentsCollection components, string selector, IDictionary<string, object?>? parameters = null)
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
62 public static bool TryReplaceResponseContent(string contentRootRelativePath, string requestAbsoluteUri, ref int responseStatusCode, ref Stream responseContent, IDictionary<string, string> responseHeaders)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
314 if (TryGetResponseContent(requestUri, allowFallbackOnHostPage, out var statusCode, out var statusMessage, out var content, out var headers)) 392 private protected static string GetHeaderString(IDictionary<string, string> headers) =>
Microsoft.AspNetCore.Components.WebView.Wpf (4)
RootComponent.cs (1)
30 public IDictionary<string, object?>? Parameters { get; set; }
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
62 public static bool TryReplaceResponseContent(string contentRootRelativePath, string requestAbsoluteUri, ref int responseStatusCode, ref Stream responseContent, IDictionary<string, string> responseHeaders)
src\BlazorWebView\src\SharedSource\WebView2WebViewManager.cs (2)
314 if (TryGetResponseContent(requestUri, allowFallbackOnHostPage, out var statusCode, out var statusMessage, out var content, out var headers)) 392 private protected static string GetHeaderString(IDictionary<string, string> headers) =>
Microsoft.AspNetCore.ConcurrencyLimiter.Tests (2)
src\Shared\EventSource.Testing\TestCounterListener.cs (2)
50var payload = (IDictionary<string, object>)eventData.Payload[0];
Microsoft.AspNetCore.Connections.Abstractions (15)
BaseConnectionContext.cs (1)
31public abstract IDictionary<object, object?> Items { get; set; }
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
DefaultConnectionContext.cs (1)
81public override IDictionary<object, object?> Items { get; set; } = new ConnectionItems();
Features\IConnectionItemsFeature.cs (1)
16IDictionary<object, object?> Items { get; set; }
Features\IPersistentStateFeature.cs (1)
22IDictionary<object, object?> State { get; }
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
Microsoft.AspNetCore.Cors (1)
Infrastructure\CorsOptions.cs (1)
15internal IDictionary<string, (CorsPolicy policy, Task<CorsPolicy> policyTask)> PolicyMap { get; }
Microsoft.AspNetCore.Diagnostics (1)
DeveloperExceptionPage\Views\ErrorPageModel.cs (1)
42public IDictionary<string, StringValues> Headers { get; set; }
Microsoft.AspNetCore.Diagnostics.HealthChecks (4)
HealthCheckOptions.cs (4)
25private IDictionary<HealthStatus, int> _resultStatusCodes = new Dictionary<HealthStatus, int>(DefaultStatusCodesMapping); 44public IDictionary<HealthStatus, int> ResultStatusCodes 50private static IDictionary<HealthStatus, int> ValidateStatusCodesMapping(IDictionary<HealthStatus, int> mapping)
Microsoft.AspNetCore.Diagnostics.Middleware (5)
Logging\HeaderReader.cs (1)
21public HeaderReader(IDictionary<string, DataClassification> headersToLog, IRedactorProvider redactorProvider, string prefix)
Logging\LoggingRedactionOptions.cs (3)
59public IDictionary<string, DataClassification> RouteParameterDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase); 70public IDictionary<string, DataClassification> RequestHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase); 81public IDictionary<string, DataClassification> ResponseHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase);
Logging\RequestHeadersLogEnricherOptions.cs (1)
27public IDictionary<string, DataClassification> HeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.AspNetCore.Grpc.JsonTranscoding (1)
Internal\JsonTranscodingServerCallContext.cs (1)
199protected override IDictionary<object, object> UserStateCore => HttpContext.Items!;
Microsoft.AspNetCore.Grpc.Swagger (1)
Internal\MessageDescriptorHelpers.cs (1)
16return typeof(IDictionary<,>).MakeGenericType(typeof(string), valueType);
Microsoft.AspNetCore.HeaderParsing (2)
HeaderParsingOptions.cs (2)
24public IDictionary<string, StringValues> DefaultValues { get; set; } = new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase); 42public IDictionary<string, int> MaxCachedValuesPerHeader { get; set; } = new Dictionary<string, int>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.HeaderPropagation (5)
HeaderPropagationMessageHandler.cs (1)
43var captured = _values.Headers;
HeaderPropagationMiddleware.cs (1)
46var headers = _values.Headers ??= new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase);
HeaderPropagationValues.cs (3)
13private static readonly AsyncLocal<IDictionary<string, StringValues>?> _headers = new AsyncLocal<IDictionary<string, StringValues>?>(); 22public IDictionary<string, StringValues>? Headers
Microsoft.AspNetCore.HeaderPropagation.Tests (1)
HeaderPropagationMiddlewareTest.cs (1)
32public IDictionary<string, StringValues> CapturedHeaders { get; set; }
Microsoft.AspNetCore.Hosting (3)
src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (3)
327[JsonSerializable(typeof(IDictionary<string, StaticWebAssetNode>))] 385IDictionary<string, StaticWebAssetNode> newChildren, 386IDictionary<string, StaticWebAssetNode> existing)
Microsoft.AspNetCore.Hosting.Tests (2)
src\Shared\EventSource.Testing\TestCounterListener.cs (2)
50var payload = (IDictionary<string, object>)eventData.Payload[0];
Microsoft.AspNetCore.Http (26)
Builder\ApplicationBuilder.cs (2)
103public IDictionary<string, object?> Properties { get; } 208public IDictionary<string, object?> Properties => _applicationBuilder.Properties;
DefaultHttpContext.cs (1)
170public override IDictionary<object, object?> Items
Features\ItemsFeature.cs (1)
20public IDictionary<object, object?> Items { get; set; }
HeaderDictionary.cs (1)
100StringValues IDictionary<string, StringValues>.this[string key]
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?>();
src\Http\Shared\CookieHeaderParserShared.cs (1)
18public static bool TryParseValues(StringValues values, IDictionary<string, string> store, bool supportsMultipleValues)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (5)
18private readonly IDictionary<TKey, TValue> _sourceDictionary; 20private IDictionary<TKey, TValue>? _innerDictionary; 23IDictionary<TKey, TValue> sourceDictionary, 33private IDictionary<TKey, TValue> ReadDictionary 41private IDictionary<TKey, TValue> WriteDictionary
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
16/// An <see cref="IDictionary{String, Object}"/> type to hold a small amount of items (10 or less in the common case).
Timeouts\RequestTimeoutOptions.cs (1)
20public IDictionary<string, RequestTimeoutPolicy> Policies { get; } = new Dictionary<string, RequestTimeoutPolicy>(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Http.Abstractions (14)
HttpContext.cs (2)
52public abstract IDictionary<object, object?> Items { get; set; } 97public IDictionary<object, object?> Items => _context.Items;
IApplicationBuilder.cs (1)
30IDictionary<string, object?> Properties { get; }
ProblemDetails\HttpValidationProblemDetails.cs (2)
26public HttpValidationProblemDetails(IDictionary<string, string[]> errors) 50public IDictionary<string, string[]> Errors { get; set; }
ProblemDetails\ProblemDetails.cs (2)
59/// Gets the <see cref="IDictionary{TKey, TValue}"/> for extension members. 70public IDictionary<string, object?> Extensions { get; set; } = new Dictionary<string, object?>(StringComparer.Ordinal);
Routing\RouteValueDictionary.cs (2)
30/// An <see cref="IDictionary{String, Object}"/> type for route values. 116/// <see cref="IDictionary{TKey, TValue}"/> or <see cref="IReadOnlyDictionary{TKey, TValue}"/>
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
Microsoft.AspNetCore.Http.Abstractions.Tests (2)
MapPathMiddlewareTests.cs (1)
254public IDictionary<string, object?> Properties => throw new NotImplementedException();
UsePathBaseExtensionsTests.cs (1)
53public IDictionary<string, object?> Properties => _wrappedBuilder.Properties;
Microsoft.AspNetCore.Http.Connections (2)
Internal\HttpConnectionContext.cs (2)
47private IDictionary<object, object?>? _items; 170public override IDictionary<object, object?> Items
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnection.cs (1)
90public override IDictionary<object, object?> Items { get; set; } = new ConnectionItems();
HttpConnectionOptions.cs (2)
24private IDictionary<string, string> _headers; 76public IDictionary<string, string> Headers
Microsoft.AspNetCore.Http.Extensions (10)
src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\DictionaryBufferAdapter.cs (1)
9where TDictionaryType : IDictionary<TKey, TValue>, new()
src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
45where TCustomDictionary : TDictionary, IDictionary<TKey, TValue>, new()
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 =>
src\Components\Endpoints\src\FormMapping\Factories\DictionaryConverterFactory.cs (2)
46var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(type, typeof(IDictionary<,>)) ?? 77var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(type, typeof(IDictionary<,>)) ??
Microsoft.AspNetCore.Http.Features (4)
IFormCollection.cs (1)
86/// <see cref="IDictionary{TKey, TValue}" />, as it will return <c>StringValues.Empty</c> for missing entries
IItemsFeature.cs (1)
14IDictionary<object, object?> Items { get; set; }
IQueryCollection.cs (1)
82/// <see cref="IDictionary{TKey, TValue}" />, as it will return <c>StringValues.Empty</c> for missing entries
IRequestCookieCollection.cs (1)
82/// <see cref="IDictionary{TKey, TValue}" />, as it will return <c>null</c> for missing entries
Microsoft.AspNetCore.Http.Results (6)
Results.cs (3)
720IDictionary<string, object?>? extensions) 765IDictionary<string, string[]> errors, 771IDictionary<string, object?>? extensions)
TypedResults.cs (3)
763IDictionary<string, object?>? extensions) 825IDictionary<string, string[]> errors, 830IDictionary<string, object?>? extensions)
Microsoft.AspNetCore.Http.Results.Tests (2)
ResultsTests.cs (1)
1392Assert.Throws<ArgumentNullException>("errors", () => Results.ValidationProblem(default(IDictionary<string, string[]>)));
TypedResultsTests.cs (1)
1184Assert.Throws<ArgumentNullException>("errors", () => TypedResults.ValidationProblem(default(IDictionary<string, string[]>)));
Microsoft.AspNetCore.Http.Tests (3)
DefaultHttpContextTests.cs (1)
112var items = context.Items;
HeaderDictionaryTests.cs (2)
94Assert.Throws<InvalidOperationException>(() => ((IDictionary<string, StringValues>)headers)["header1"] = "value1"); 132IDictionary<string, StringValues> asIDictionary = emptyHeaders;
Microsoft.AspNetCore.Identity (1)
SignInManager.cs (1)
690var items = auth?.Properties?.Items;
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
70static TValue GetOrCreate<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key) where TValue : new()
Microsoft.AspNetCore.Identity.FunctionalTests (2)
Infrastructure\HtmlPageContext.cs (2)
8private readonly IDictionary<string, object> _properties; 19private HtmlPageContext(IDictionary<string, object> properties)
Microsoft.AspNetCore.Identity.InMemory.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
70static TValue GetOrCreate<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key) where TValue : new()
Microsoft.AspNetCore.Identity.Test (1)
src\Identity\test\Shared\PriorityOrderer.cs (1)
70static TValue GetOrCreate<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key) where TValue : new()
Microsoft.AspNetCore.InternalTesting (2)
xunit\AspNetTestClassRunner.cs (1)
24IDictionary<Type, object> collectionFixtureMappings)
xunit\AspNetTestCollectionRunner.cs (1)
15private readonly IDictionary<Type, object> _assemblyFixtureMappings;
Microsoft.AspNetCore.JsonPatch (12)
Internal\DictionaryAdapterOfTU.cs (12)
26var dictionary = (IDictionary<TKey, TValue>)target; 53var dictionary = (IDictionary<TKey, TValue>)target; 81var dictionary = (IDictionary<TKey, TValue>)target; 108var dictionary = (IDictionary<TKey, TValue>)target; 142var dictionary = (IDictionary<TKey, TValue>)target; 189var dictionary = (IDictionary<TKey, TValue>)target;
Microsoft.AspNetCore.JsonPatch.Tests (44)
CustomNamingStrategyTests.cs (4)
80var cont = targetObject as IDictionary<string, object>; 108var cont = targetObject as IDictionary<string, int>;
IntegrationTests\DictionaryIntegrationTest.cs (2)
133public IDictionary<string, int> DictionaryOfStringToInteger { get; } = new Dictionary<string, int>(); 138public IDictionary<int, Customer> DictionaryOfStringToCustomer { get; } = new Dictionary<int, Customer>();
IntegrationTests\ExpandoObjectIntegrationTest.cs (8)
232var cont = targetObject as IDictionary<string, object>; 254var cont = targetObject as IDictionary<string, object>; 294var cont = targetObject as IDictionary<string, object>; 335var cont = targetObject as IDictionary<string, object>;
Internal\ObjectVisitorTest.cs (1)
17public IDictionary<string, string> CountriesAndRegions = new Dictionary<string, string>();
TestObjectModels\DynamicTestObject.cs (16)
13public object this[string key] { get => ((IDictionary<string, object>)_dictionary)[key]; set => ((IDictionary<string, object>)_dictionary)[key] = value; } 15public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys; 17public ICollection<object> Values => ((IDictionary<string, object>)_dictionary).Values; 19public int Count => ((IDictionary<string, object>)_dictionary).Count; 21public bool IsReadOnly => ((IDictionary<string, object>)_dictionary).IsReadOnly; 25((IDictionary<string, object>)_dictionary).Add(key, value); 30((IDictionary<string, object>)_dictionary).Add(item); 35((IDictionary<string, object>)_dictionary).Clear(); 40return ((IDictionary<string, object>)_dictionary).Contains(item); 45return ((IDictionary<string, object>)_dictionary).ContainsKey(key); 50((IDictionary<string, object>)_dictionary).CopyTo(array, arrayIndex); 55return ((IDictionary<string, object>)_dictionary).GetEnumerator(); 60return ((IDictionary<string, object>)_dictionary).Remove(key); 65return ((IDictionary<string, object>)_dictionary).Remove(item); 70return ((IDictionary<string, object>)_dictionary).TryGetValue(key, out value);
WriteOnceDynamicTestObject.cs (13)
27public object this[string key] { get => ((IDictionary<string, object>)_dictionary)[key]; set => SetValueForKey(key, value); } 29public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys; 31public ICollection<object> Values => ((IDictionary<string, object>)_dictionary).Values; 33public int Count => ((IDictionary<string, object>)_dictionary).Count; 35public bool IsReadOnly => ((IDictionary<string, object>)_dictionary).IsReadOnly; 49((IDictionary<string, object>)_dictionary).Clear(); 54return ((IDictionary<string, object>)_dictionary).Contains(item); 59return ((IDictionary<string, object>)_dictionary).ContainsKey(key); 64((IDictionary<string, object>)_dictionary).CopyTo(array, arrayIndex); 69return ((IDictionary<string, object>)_dictionary).GetEnumerator(); 74return ((IDictionary<string, object>)_dictionary).Remove(key); 79return ((IDictionary<string, object>)_dictionary).Remove(item); 84return ((IDictionary<string, object>)_dictionary).TryGetValue(key, out value);
Microsoft.AspNetCore.MiddlewareAnalysis (1)
AnalysisBuilder.cs (1)
37public IDictionary<string, object?> Properties
Microsoft.AspNetCore.Mvc.Abstractions (18)
Abstractions\ActionDescriptor.cs (2)
34public IDictionary<string, string?> RouteValues { get; set; } 75public IDictionary<object, object?> Properties { get; set; } = default!;
ApiExplorer\ApiDescription.cs (1)
38public IDictionary<object, object> Properties { get; } = new Dictionary<object, object>();
Filters\ActionExecutingContext.cs (2)
26IDictionary<string, object?> actionArguments, 45public virtual IDictionary<string, object?> ActionArguments { get; }
ModelBinding\Validation\ClientModelValidationContext.cs (2)
22IDictionary<string, string> attributes) 31public IDictionary<string, string> Attributes { get; }
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();
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
Microsoft.AspNetCore.Mvc.Core (68)
ApiBehaviorOptions.cs (1)
92public IDictionary<int, ClientErrorData> ClientErrorMapping { get; } = new Dictionary<int, ClientErrorData>();
ApplicationModels\ActionModel.cs (2)
141public IDictionary<string, string?> RouteValues { get; } 151public IDictionary<object, object?> Properties { get; }
ApplicationModels\ApplicationModel.cs (1)
53public IDictionary<object, object?> Properties { get; }
ApplicationModels\ApplicationModelFactory.cs (1)
258IDictionary<MethodInfo, string> routingConfigurationErrors)
ApplicationModels\AttributeRouteModel.cs (2)
252public static string ReplaceTokens([StringSyntax("Route")] string template, IDictionary<string, string?> values) 264public static string ReplaceTokens([StringSyntax("Route")] string template, IDictionary<string, string?> values, IOutboundParameterTransformer? routeTokenTransformer)
ApplicationModels\ControllerModel.cs (2)
130public IDictionary<string, string?> RouteValues { get; } 140public IDictionary<object, object?> Properties { get; }
ApplicationModels\IPropertyModel.cs (1)
14IDictionary<object, object?> Properties { get; }
ApplicationModels\ParameterModel.cs (1)
50public new IDictionary<object, object?> Properties => base.Properties;
ApplicationModels\ParameterModelBase.cs (1)
54public IDictionary<object, object?> Properties { get; }
ApplicationModels\PropertyModel.cs (1)
51public new IDictionary<object, object?> Properties => base.Properties;
ControllerBase.cs (2)
1864IDictionary<string, object?>? extensions = null) 1984IDictionary<string, object?>? extensions = null)
Formatters\TextOutputFormatter.cs (2)
18private IDictionary<string, string>? _outputMediaTypeCache; 35private IDictionary<string, string> OutputMediaTypeCache
Infrastructure\ControllerActionInvoker.cs (2)
528IDictionary<string, object?>? actionParameters, 576public ActionExecutingContextSealed(ActionContext actionContext, IList<IFilterMetadata> filters, IDictionary<string, object?> actionArguments, object controller) : base(actionContext, filters, actionArguments, controller) { }
ModelBinding\Binders\ComplexObjectModelBinder.cs (2)
33private readonly IDictionary<ModelMetadata, IModelBinder> _propertyBinders; 39IDictionary<ModelMetadata, IModelBinder> propertyBinders,
ModelBinding\Binders\ComplexTypeModelBinder.cs (5)
34private readonly IDictionary<ModelMetadata, IModelBinder> _propertyBinders; 42/// The <see cref="IDictionary{TKey, TValue}"/> of binders to use for binding properties. 46IDictionary<ModelMetadata, IModelBinder> propertyBinders, 56/// The <see cref="IDictionary{TKey, TValue}"/> of binders to use for binding properties. 66IDictionary<ModelMetadata, IModelBinder> propertyBinders,
ModelBinding\Binders\DictionaryModelBinder.cs (4)
120if (result.Model is IDictionary<TKey, TValue?> { Count: > 0 }) 144var keys = enumerableValueProvider.GetKeysFromPrefix(prefix); 157var model = (IDictionary<TKey, TValue?>)(result.Model ?? CreateEmptyCollection(bindingContext.ModelType));
ModelBinding\Binders\DictionaryModelBinderProvider.cs (2)
14/// An <see cref="IModelBinderProvider"/> for binding <see cref="IDictionary{TKey, TValue}"/>. 24var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(modelType, typeof(IDictionary<,>));
ModelBinding\CompositeValueProvider.cs (2)
128public virtual IDictionary<string, string> GetKeysFromPrefix(string prefix) 134var result = enumeratedProvider.GetKeysFromPrefix(prefix);
ModelBinding\FormValueProvider.cs (1)
73public virtual IDictionary<string, string> GetKeysFromPrefix(string prefix)
ModelBinding\IEnumerableValueProvider.cs (1)
18IDictionary<string, string> GetKeysFromPrefix(string prefix);
ModelBinding\JQueryFormValueProvider.cs (1)
26IDictionary<string, StringValues> values,
ModelBinding\JQueryKeyValuePairNormalizer.cs (1)
15public static IDictionary<string, StringValues> GetValues(
ModelBinding\JQueryQueryStringValueProvider.cs (1)
24IDictionary<string, StringValues> values,
ModelBinding\JQueryValueProvider.cs (3)
19private readonly IDictionary<string, StringValues> _values; 30IDictionary<string, StringValues> values, 67public IDictionary<string, string> GetKeysFromPrefix(string prefix)
ModelBinding\Metadata\DisplayMetadata.cs (1)
20public IDictionary<object, object> AdditionalValues { get; } = new Dictionary<object, object>();
ModelBinding\PrefixContainer.cs (3)
75public IDictionary<string, string> GetKeysFromPrefix(string prefix) 103private static void GetKeyFromEmptyPrefix(string entry, IDictionary<string, string> results) 135private static void GetKeyFromNonEmptyPrefix(string prefix, string entry, IDictionary<string, string> results)
ModelBinding\QueryStringValueProvider.cs (1)
66public virtual IDictionary<string, string> GetKeysFromPrefix(string prefix)
ModelBinding\Validation\ShortFormDictionaryValidationStrategy.cs (3)
63return new Enumerator(_valueMetadata, KeyMappings, (IDictionary<TKey, TValue>)model); 69private readonly IDictionary<TKey, TValue> _model; 77IDictionary<TKey, TValue> model)
MvcCoreLoggerExtensions.cs (1)
86public static void NoActionsMatched(this ILogger logger, IDictionary<string, object?> routeValueDictionary)
MvcOptions.cs (1)
79public IDictionary<string, CacheProfile> CacheProfiles { get; }
Routing\ActionEndpointFactory.cs (2)
276private static (RoutePattern resolvedRoutePattern, IDictionary<string, string?> resolvedRequiredValues) ResolveDefaultsAndRequiredValues(ActionDescriptor action, RoutePattern attributeRoutePattern) 279IDictionary<string, string?>? resolvedRequiredValues = null;
Routing\ControllerActionEndpointDataSource.cs (1)
53IDictionary<string, object?>? constraints,
Routing\ConventionalRouteEntry.cs (1)
24IDictionary<string, object?>? constraints,
Routing\UrlHelperBase.cs (1)
91if (values is IDictionary<string, object> dictionaryValues)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (5)
18private readonly IDictionary<TKey, TValue> _sourceDictionary; 20private IDictionary<TKey, TValue>? _innerDictionary; 23IDictionary<TKey, TValue> sourceDictionary, 33private IDictionary<TKey, TValue> ReadDictionary 41private IDictionary<TKey, TValue> WriteDictionary
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
ValidationProblemDetails.cs (3)
33private static IDictionary<string, string[]> CreateErrorDictionary(ModelStateDictionary modelState) 77public ValidationProblemDetails(IDictionary<string, string[]> errors) 86public new IDictionary<string, string[]> Errors { get { return base.Errors; } set { base.Errors = value; } }
Microsoft.AspNetCore.Mvc.Core.Test (65)
ApplicationModels\ActionModelTest.cs (4)
106else if (typeof(IDictionary<string, string>).IsAssignableFrom(property.PropertyType)) 111Assert.NotEmpty((IDictionary<string, string>)value1); 113else if (typeof(IDictionary<object, object>).IsAssignableFrom(property.PropertyType)) 118Assert.NotEmpty((IDictionary<object, object>)value1);
ApplicationModels\ControllerModelTest.cs (4)
108else if (typeof(IDictionary<string, string>).IsAssignableFrom(property.PropertyType)) 113Assert.NotEmpty((IDictionary<string, string>)value1); 115else if (typeof(IDictionary<object, object>).IsAssignableFrom(property.PropertyType)) 120Assert.NotEmpty((IDictionary<object, object>)value1);
ApplicationModels\ParameterModelTest.cs (2)
49else if (typeof(IDictionary<object, object>).IsAssignableFrom(property.PropertyType)) 54Assert.NotEmpty((IDictionary<object, object>)value1);
ApplicationModels\PropertyModelTest.cs (2)
45else if (typeof(IDictionary<object, object>).IsAssignableFrom(property.PropertyType)) 50Assert.NotEmpty((IDictionary<object, object>)value1);
Formatters\JsonInputFormatterTestBase.cs (3)
140typeof(IEnumerable<IDictionary<string, short>>), httpContext); 167var formatterContext = CreateInputFormatterContext(typeof(IEnumerable<IDictionary<string, short>>), httpContext); 195typeof(IEnumerable<IDictionary<string, short>>), httpContext);
Infrastructure\ControllerActionInvokerTest.cs (3)
63var routeValues = listener.BeforeAction?.RouteData?.Values; 1645IDictionary<string, object> arguments) 1675IDictionary<string, object> arguments = null,
ModelBinding\Binders\ComplexObjectModelBinderTest.cs (2)
1389public IDictionary<int, string> ReadOnlyDictionary { get; } = new Dictionary<int, string>(); 1396public IDictionary<int, string> SettableDictionary { get; set; } = new Dictionary<int, string>
ModelBinding\Binders\ComplexTypeModelBinderTest.cs (4)
1564public IDictionary<int, string> ReadOnlyDictionary { get; } = new Dictionary<int, string>(); 1571public IDictionary<int, string> SettableDictionary { get; set; } = new Dictionary<int, string> 1612public TestableComplexTypeModelBinder(IDictionary<ModelMetadata, IModelBinder> propertyBinders) 1618IDictionary<ModelMetadata, IModelBinder> propertyBinders,
ModelBinding\Binders\DictionaryModelBinderProviderTest.cs (1)
30[InlineData(typeof(IDictionary<string, int>))]
ModelBinding\Binders\DictionaryModelBinderTest.cs (25)
45var dictionary = Assert.IsAssignableFrom<IDictionary<int, string>>(bindingContext.Result.Model); 97public static TheoryData<string, string, IDictionary<string, string>> StringToStringData 112return new TheoryData<string, string, IDictionary<string, string>> 129IDictionary<string, string> dictionary) 153var resultDictionary = Assert.IsAssignableFrom<IDictionary<string, string>>(bindingContext.Result.Model); 162IDictionary<string, string> dictionary) 187var resultDictionary = Assert.IsAssignableFrom<IDictionary<string, string>>(bindingContext.Result.Model); 224var resultDictionary = Assert.IsAssignableFrom<IDictionary<string, string>>(bindingContext.Result.Model); 264public static TheoryData<IDictionary<long, int>> LongToIntData 279return new TheoryData<IDictionary<long, int>> { dictionaryWithOne, dictionaryWithThree }; 285public async Task BindModel_FallsBackToBindingValues_WithValueTypes(IDictionary<long, int> dictionary) 311var resultDictionary = Assert.IsAssignableFrom<IDictionary<long, int>>(bindingContext.Result.Model); 361var resultDictionary = Assert.IsAssignableFrom<IDictionary<int, ModelWithProperties>>(bindingContext.Result.Model); 382IDictionary<string, string> dictionary) 594{ typeof(IDictionary<int, int>), true }, 638IDictionary<string, string> dictionary) 654private static IValueProvider CreateTestValueProvider(string keyFormat, IDictionary<string, string> dictionary) 666IDictionary<string, string> values = null) 692public IDictionary<int, string> DictionaryProperty { get; set; }
ModelBinding\CompositeValueProviderTest.cs (2)
81var values = provider.GetKeysFromPrefix("prefix"); 99var values = provider.GetKeysFromPrefix("prefix");
ModelBinding\EnumerableValueProviderTest.cs (4)
97var result = valueProvider.GetKeysFromPrefix(string.Empty); 110var result = valueProvider.GetKeysFromPrefix("abc"); 132var result = valueProvider.GetKeysFromPrefix("prefix"); 150var result = valueProvider.GetKeysFromPrefix("[index]");
ModelBinding\PrefixContainerTest.cs (5)
193var result = container.GetKeysFromPrefix(prefix); 207var result = container.GetKeysFromPrefix(prefix: string.Empty); 236var result = container.GetKeysFromPrefix("baz"); 250var result = container.GetKeysFromPrefix("foo"); 284var result = container.GetKeysFromPrefix("person[0].address");
ModelBinding\TestValueProvider.cs (2)
16public TestValueProvider(IDictionary<string, object> values) 23public TestValueProvider(BindingSource bindingSource, IDictionary<string, object> values)
Routing\ActionEndpointFactoryTest.cs (1)
445IDictionary<string, object> constraints = null,
Routing\AttributeRouteTest.cs (1)
819private static RouteValueDictionary ToRouteValueDictionary(IDictionary<string, string> values)
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
NumericClientModelValidator.cs (1)
24private static void MergeAttribute(IDictionary<string, string> attributes, string key, string value)
ValidationAttributeAdapterOfTAttribute.cs (1)
47protected static bool MergeAttribute(IDictionary<string, string> attributes, string key, string value)
Microsoft.AspNetCore.Mvc.FunctionalTests (6)
InputParentValidationTests.cs (3)
48var expectedErrors = this.GetExpectedErrors(this.ShouldParentBeValidatedWhenChildIsInvalid, true); 67var expectedErrors = this.GetExpectedErrors(true, false); 91private IDictionary<string, string[]> GetExpectedErrors(bool parentInvalid, bool childInvalid)
RoutingAcrossPipelineBranchesTest.cs (1)
178private record RouteInfo(string RouteName, IDictionary<string, string> RouteValues, string Link);
RoutingDynamicOrderTest.cs (1)
167private record RouteInfo(string RouteName, IDictionary<string, string> RouteValues);
RoutingGroupsTest.cs (1)
65private record RouteInfo(string RouteName, IDictionary<string, string> RouteValues, string Link);
Microsoft.AspNetCore.Mvc.IntegrationTests (23)
ActionParametersIntegrationTest.cs (1)
1069public CustomComplexTypeModelBinder(IDictionary<ModelMetadata, IModelBinder> propertyBinders)
DictionaryModelBinderIntegrationTest.cs (20)
1089typeof(IDictionary<string, string>), 1119typeof(IDictionary<string, string>), 1186var model = modelBindingResult.Model as IDictionary<string, string>; 1518private readonly IDictionary<string, string> _data = new Dictionary<string, string>(); 1520string IDictionary<string, string>.this[string key] 1549ICollection<string> IDictionary<string, string>.Keys 1557ICollection<string> IDictionary<string, string>.Values 1570void IDictionary<string, string>.Add(string key, string value) 1585bool IDictionary<string, string>.ContainsKey(string key) 1610bool IDictionary<string, string>.Remove(string key) 1615bool IDictionary<string, string>.TryGetValue(string key, out string value) 1623private readonly IDictionary<TKey, TValue> _data = new Dictionary<TKey, TValue>(); 1625TValue IDictionary<TKey, TValue>.this[TKey key] 1654ICollection<TKey> IDictionary<TKey, TValue>.Keys 1662ICollection<TValue> IDictionary<TKey, TValue>.Values 1675void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 1690bool IDictionary<TKey, TValue>.ContainsKey(TKey key) 1715bool IDictionary<TKey, TValue>.Remove(TKey key) 1720bool IDictionary<TKey, TValue>.TryGetValue(TKey key, out TValue value)
ValidationIntegrationTests.cs (1)
2215ParameterType = typeof(IDictionary<string, int>)
ValidationWithRecordIntegrationTests.cs (1)
2006ParameterType = typeof(IDictionary<string, int>)
Microsoft.AspNetCore.Mvc.NewtonsoftJson (6)
AnnotatedProblemDetails.cs (1)
45public IDictionary<string, object?> Extensions { get; } = new Dictionary<string, object?>(StringComparer.Ordinal);
BsonTempDataSerializer.cs (4)
43public override IDictionary<string, object?> Deserialize(byte[] value) 124public override byte[] Serialize(IDictionary<string, object?> values) 185else if (ClosedGenericMatcher.ExtractGenericInterface(typeToSerialize, typeof(IDictionary<,>)) != null) 227private static IDictionary<string, TVal?> ConvertDictionary<TVal>(JObject jObject)
ValidationProblemDetailsConverter.cs (1)
66public IDictionary<string, string[]> Errors { get; } = new Dictionary<string, string[]>(StringComparer.Ordinal);
Microsoft.AspNetCore.Mvc.NewtonsoftJson.Test (26)
BsonTempDataSerializerTest.cs (7)
104var values = testProvider.Deserialize(bytes); 125var values = testProvider.Deserialize(bytes); 146var values = testProvider.Deserialize(bytes); 168var values = testProvider.Deserialize(bytes); 189var values = testProvider.Deserialize(bytes); 219var values = testProvider.Deserialize(bytes); 246var values = testProvider.Deserialize(bytes);
src\Mvc\Mvc.Core\test\Formatters\JsonInputFormatterTestBase.cs (3)
140typeof(IEnumerable<IDictionary<string, short>>), httpContext); 167var formatterContext = CreateInputFormatterContext(typeof(IEnumerable<IDictionary<string, short>>), httpContext); 195typeof(IEnumerable<IDictionary<string, short>>), httpContext);
src\Mvc\Mvc.ViewFeatures\test\Infrastructure\TempDataSerializerTestBase.cs (16)
17var tempDataDictionary = serializer.Deserialize(new byte[0]); 37var values = testProvider.Deserialize(bytes); 61var values = testProvider.Deserialize(bytes); 83var values = testProvider.Deserialize(bytes); 104var values = testProvider.Deserialize(bytes); 125var values = testProvider.Deserialize(bytes); 146var values = testProvider.Deserialize(bytes); 167var values = testProvider.Deserialize(bytes); 189var values = testProvider.Deserialize(bytes); 211var values = testProvider.Deserialize(bytes); 233var values = testProvider.Deserialize(bytes); 254var values = testProvider.Deserialize(bytes); 275var values = testProvider.Deserialize(bytes); 296var values = testProvider.Deserialize(bytes); 321var values = testProvider.Deserialize(bytes); 346var values = testProvider.Deserialize(bytes);
Microsoft.AspNetCore.Mvc.Razor (8)
IRazorPage.cs (2)
47IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters { get; set; } 52IDictionary<string, RenderAsyncDelegate> SectionWriters { get; }
RazorPageBase.cs (4)
28private readonly IDictionary<string, RenderAsyncDelegate> _sectionWriters = new Dictionary<string, RenderAsyncDelegate>(StringComparer.OrdinalIgnoreCase); 41private IDictionary<string, RenderAsyncDelegate> _previousSectionWriters = default!; 77public IDictionary<string, RenderAsyncDelegate> SectionWriters => _sectionWriters; 102public IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters
ViewLocationExpanderContext.cs (2)
71/// Gets or sets the <see cref="IDictionary{TKey, TValue}"/> that is populated with values as part of 74public IDictionary<string, string?> Values { get; set; } = default!;
Microsoft.AspNetCore.Mvc.Razor.Test (3)
RazorViewEngineTest.cs (3)
2118private static ActionContext GetActionContext(IDictionary<string, object> routeValues) 2132IDictionary<string, object> routeValues, 2133IDictionary<string, string> actionRouteValues)
Microsoft.AspNetCore.Mvc.RazorPages (15)
ApplicationModels\PageApplicationModel.cs (1)
114public IDictionary<object, object?> Properties { get; }
ApplicationModels\PageHandlerModel.cs (1)
89public IDictionary<object, object?> Properties { get; }
ApplicationModels\PageRouteModel.cs (2)
86public IDictionary<object, object?> Properties { get; } 111public IDictionary<string, string> RouteValues { get; }
Builder\PageActionEndpointConventionBuilder.cs (1)
26internal IDictionary<string, object> Items { get; set; } = new Dictionary<string, object>();
Filters\PageHandlerExecutingContext.cs (2)
28IDictionary<string, object?> handlerArguments, 55public virtual IDictionary<string, object?> HandlerArguments { get; }
Infrastructure\PageBinderFactory.cs (1)
127async Task Bind(PageContext pageContext, IDictionary<string, object?> arguments)
Infrastructure\PageHandlerBinderDelegate.cs (1)
6internal delegate Task PageHandlerBinderDelegate(PageContext pageContext, IDictionary<string, object?> arguments);
Infrastructure\RazorPageAdapter.cs (2)
67public IDictionary<string, RenderAsyncDelegate> PreviousSectionWriters 74public IDictionary<string, RenderAsyncDelegate> SectionWriters => _page.SectionWriters;
PageBase.cs (2)
1231/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance 1253/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
PageModel.cs (2)
1589/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance 1611/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
Microsoft.AspNetCore.Mvc.RazorPages.Test (3)
Infrastructure\PageActionInvokerTest.cs (1)
51var routeValues = listener.BeforeAction?.RouteData?.Values;
Infrastructure\PageBinderFactoryTest.cs (2)
806private readonly IDictionary<string, object> _args; 808public TestParameterBinder(IDictionary<string, object> args)
Microsoft.AspNetCore.Mvc.TagHelpers (16)
AnchorTagHelper.cs (2)
39private IDictionary<string, string> _routeValues; 137public IDictionary<string, string> RouteValues
ComponentTagHelper.cs (2)
25private IDictionary<string, object> _parameters; 39public IDictionary<string, object> Parameters
FormActionTagHelper.cs (2)
78private IDictionary<string, string> _routeValues; 153public IDictionary<string, string> RouteValues
FormTagHelper.cs (2)
30private IDictionary<string, string> _routeValues; 122public IDictionary<string, string> RouteValues
InputTagHelper.cs (5)
211IDictionary<string, object> htmlAttributes = null; 300IDictionary<string, object> htmlAttributes) 374private TagBuilder GenerateRadio(ModelExplorer modelExplorer, IDictionary<string, object> htmlAttributes) 399IDictionary<string, object> htmlAttributes) 450private TagBuilder GenerateHidden(ModelExplorer modelExplorer, IDictionary<string, object> htmlAttributes)
SelectTagHelper.cs (1)
134IDictionary<string, object> htmlAttributes = null;
TextAreaTagHelper.cs (1)
72IDictionary<string, object> htmlAttributes = null;
ValidationMessageTagHelper.cs (1)
62IDictionary<string, object> htmlAttributes = null;
Microsoft.AspNetCore.Mvc.TagHelpers.Test (14)
AnchorTagHelperTest.cs (2)
117It.IsAny<IDictionary<string, object>>(), 168It.IsAny<IDictionary<string, object>>(),
FormActionTagHelperTest.cs (8)
165public static TheoryData<IDictionary<string, string>, IDictionary<string, object>> RouteValuesData 169return new TheoryData<IDictionary<string, string>, IDictionary<string, object>> 197IDictionary<string, string> routeValues, 198IDictionary<string, object> expectedRouteValues) 257IDictionary<string, string> routeValues, 258IDictionary<string, object> expectedRouteValues)
FormTagHelperTest.cs (1)
530It.IsAny<IDictionary<string, object>>(),
TestableHtmlGenerator.cs (3)
23private readonly IDictionary<string, object> _validationAttributes; 43IDictionary<string, object> validationAttributes) 55public IDictionary<string, object> ValidationAttributes
Microsoft.AspNetCore.Mvc.TestDiagnosticListener (2)
IProxyRouteData.cs (2)
9IDictionary<string, object> DataTokens { get; } 10IDictionary<string, object> Values { get; }
Microsoft.AspNetCore.Mvc.Testing (2)
DeferredHostBuilder.cs (1)
13public IDictionary<object, object> Properties { get; } = new Dictionary<object, object>();
WebApplicationFactory.cs (1)
252[JsonSerializable(typeof(IDictionary<string, string>))]
Microsoft.AspNetCore.Mvc.ViewFeatures (201)
Controller.cs (2)
242/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance 265/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
CookieTempDataProvider.cs (3)
56public IDictionary<string, object> LoadTempData(HttpContext context) 75var tempData = _tempDataSerializer.Deserialize(unprotectedData); 102public void SaveTempData(HttpContext context, IDictionary<string, object> values)
DefaultEditorTemplates.cs (5)
168private static IDictionary<string, object> CreateHtmlAttributes( 192private static IDictionary<string, object> MergeHtmlAttributes( 197var htmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributesObject); 407var htmlAttributes = 442var htmlAttributes =
DefaultHtmlGenerator.cs (15)
210var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 344var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 407var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 433var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 542var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 619var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 694var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 721var htmlAttributeDictionary = GetHtmlAttributeDictionaryOrNull(htmlAttributes); 1082/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes. 1140IDictionary<string, object> htmlAttributes) 1419private static IDictionary<string, object> GetHtmlAttributeDictionaryOrNull(object htmlAttributes) 1421IDictionary<string, object> htmlAttributeDictionary = null; 1424htmlAttributeDictionary = htmlAttributes as IDictionary<string, object>; 1516private static bool IsFullNameValid(string fullName, IDictionary<string, object> htmlAttributeDictionary) 1523IDictionary<string, object> htmlAttributeDictionary,
DefaultValidationHtmlAttributeProvider.cs (1)
47IDictionary<string, string> attributes)
Filters\SaveTempDataPropertyFilterBase.cs (1)
33public IDictionary<PropertyInfo, object> OriginalValues { get; } = new Dictionary<PropertyInfo, object>();
FormContext.cs (1)
29public IDictionary<string, object> FormData
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.
Infrastructure\DefaultTempDataSerializer.cs (5)
11public override IDictionary<string, object> Deserialize(byte[] value) 25private static IDictionary<string, object> DeserializeDictionary(JsonElement rootElement) 128public override byte[] Serialize(IDictionary<string, object> values) 200case IDictionary<string, string> dictionary: 232typeof(IDictionary<string, string>).IsAssignableFrom(type);
Infrastructure\TempDataSerializer.cs (4)
12/// Deserializes <paramref name="unprotectedData"/> to a <see cref="IDictionary{TKey, TValue}"/> 16/// <returns>The deserialized <see cref="IDictionary{TKey, TValue}"/>.</returns> 17public abstract IDictionary<string, object> Deserialize(byte[] unprotectedData); 24public abstract byte[] Serialize(IDictionary<string, object> values);
ITempDataProvider.cs (2)
18IDictionary<string, object> LoadTempData(HttpContext context); 25void SaveTempData(HttpContext context, IDictionary<string, object> values);
IViewComponentHelper.cs (2)
21/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance 34/// method. Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance
NameAndIdProvider.cs (2)
43var items = viewContext.HttpContext.Items; 142var items = viewContext.HttpContext.Items;
RemoteAttributeBase.cs (1)
162private static void MergeAttribute(IDictionary<string, string> attributes, string key, string value)
Rendering\HtmlHelperDisplayExtensions.cs (7)
56/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 137/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 253/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 330/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 437/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 499/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 576/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
Rendering\HtmlHelperEditorExtensions.cs (7)
56/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 134/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 246/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 319/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 422/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 484/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/> 561/// An anonymous <see cref="object"/> or <see cref="System.Collections.Generic.IDictionary{String, Object}"/>
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\HtmlHelperInputExtensions.cs (7)
81/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 321/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 512/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 603/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 662/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 723/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 781/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML
Rendering\HtmlHelperLabelExtensions.cs (3)
86/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 134/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 152/// <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\HtmlHelperSelectExtensions.cs (2)
139/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes. 249/// <see cref="IDictionary{String, Object}"/> instance containing the HTML attributes.
Rendering\HtmlHelperValidationExtensions.cs (6)
73/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 140/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 229/// <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing the HTML 414/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing 445/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing 516/// Alternatively, an <see cref="System.Collections.Generic.IDictionary{String, Object}"/> instance containing
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.
Rendering\TagBuilder.cs (2)
293public void MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue?> attributes) 305public void MergeAttributes<TKey, TValue>(IDictionary<TKey, TValue?> attributes, bool replaceExisting)
SessionStateTempDataProvider.cs (2)
28public virtual IDictionary<string, object> LoadTempData(HttpContext context) 47public virtual void SaveTempData(HttpContext context, IDictionary<string, object> values)
TempDataDictionary.cs (1)
139var providerDictionary = _provider.LoadTempData(_context);
TryGetValueDelegate.cs (2)
7/// A delegate for <see cref="System.Collections.Generic.IDictionary{TKey, TValue}.TryGetValue(TKey, out TValue)"/>. 9/// <param name="dictionary">The <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/>.</param>
TryGetValueProvider.cs (5)
24/// Returns a <see cref="TryGetValueDelegate"/> for the specified <see cref="IDictionary{TKey, TValue}"/> type. 26/// <param name="targetType">The target type that is expected to be a <see cref="IDictionary{TKey, TValue}"/>.</param> 48var dictionaryType = ClosedGenericMatcher.ExtractGenericInterface(targetType, typeof(IDictionary<,>)); 86var strongDict = (IDictionary<TKey, TValue>)dictionary;
ValidationHtmlAttributeProvider.cs (2)
30IDictionary<string, string> attributes); 54IDictionary<string, string> attributes)
ViewComponents\DefaultViewComponentHelper.cs (2)
113internal static IDictionary<string, object?> GetArgumentDictionary(ViewComponentDescriptor descriptor, object? arguments) 131var argumentDictionary = GetArgumentDictionary(descriptor, arguments);
ViewComponents\DefaultViewComponentInvoker.cs (1)
199IDictionary<string, object?> parameters,
ViewComponents\ViewComponentContext.cs (2)
41IDictionary<string, object?> arguments, 71public IDictionary<string, object?> Arguments { get; set; } = default!;
ViewDataDictionary.cs (4)
17/// A <see cref="IDictionary{TKey, TValue}"/> for view data. 23private readonly IDictionary<string, object?> _data; 246IDictionary<string, object?> data, 345internal IDictionary<string, object?> Data
ViewDataEvaluator.cs (2)
156var dict = indexableObject as IDictionary<string, object>;
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (53)
CookieTempDataProviderTest.cs (7)
21private static readonly IDictionary<string, object> Dictionary = new Dictionary<string, object> 60var tempDataDictionary = tempDataProvider.LoadTempData(new DefaultHttpContext()); 85var tempDataDictionary = tempDataProvider.LoadTempData(context); 107var actualValues = tempDataProvider.LoadTempData(httpContext); 307var tempData = testProvider.LoadTempData(context); 461public override IDictionary<string, object> Deserialize(byte[] unprotectedData) 466public override byte[] Serialize(IDictionary<string, object> values)
DefaultEditorTemplatesTest.cs (1)
1626var htmlAttributesDictionary = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
DefaultValidationHtmlAttributeProviderTest.cs (4)
133It.IsAny<IDictionary<string, string>>())) 150It.IsAny<IDictionary<string, string>>()), 208It.IsAny<IDictionary<string, string>>())) 225It.IsAny<IDictionary<string, string>>()),
ExpressionHelperTest.cs (5)
80(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory), 215(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory), 338(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory), 342(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory), 343(Expression<Func<IDictionary<string, LowerModel>, string>>)(model => model[key].selectedcategory.CategoryName.MainCategory)
Infrastructure\DefaultTempDataSerializerTest.cs (1)
27var values = testProvider.Deserialize(bytes);
Infrastructure\TempDataSerializerTestBase.cs (16)
17var tempDataDictionary = serializer.Deserialize(new byte[0]); 37var values = testProvider.Deserialize(bytes); 61var values = testProvider.Deserialize(bytes); 83var values = testProvider.Deserialize(bytes); 104var values = testProvider.Deserialize(bytes); 125var values = testProvider.Deserialize(bytes); 146var values = testProvider.Deserialize(bytes); 167var values = testProvider.Deserialize(bytes); 189var values = testProvider.Deserialize(bytes); 211var values = testProvider.Deserialize(bytes); 233var values = testProvider.Deserialize(bytes); 254var values = testProvider.Deserialize(bytes); 275var values = testProvider.Deserialize(bytes); 296var values = testProvider.Deserialize(bytes); 321var values = testProvider.Deserialize(bytes); 346var values = testProvider.Deserialize(bytes);
Rendering\HtmlHelperFormTest.cs (1)
810var dictionary = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes);
Rendering\HtmlHelperTest.cs (1)
142var result = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributeObject);
SessionStateTempDataProviderTest.cs (5)
14private static readonly IDictionary<string, object> Dictionary = new Dictionary<string, object> 52var tempDataDictionary = testProvider.LoadTempData(GetHttpContext()); 67var result = testProvider.LoadTempData(context); 142public override IDictionary<string, object> Deserialize(byte[] unprotectedData) 147public override byte[] Serialize(IDictionary<string, object> values)
TempDataDictionaryTest.cs (6)
182public IDictionary<string, object> LoadTempData(HttpContext context) 187public void SaveTempData(HttpContext context, IDictionary<string, object> values) 194private readonly IDictionary<string, object> _data; 196public TestTempDataProvider(IDictionary<string, object> data) 201public IDictionary<string, object> LoadTempData(HttpContext context) 206public void SaveTempData(HttpContext context, IDictionary<string, object> values)
ViewComponents\DefaultViewComponentHelperTest.cs (6)
22var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, null); 37var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, new { a = 0 }); 57var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, 0); 77var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, new { a = 0, b = "foo" }); 104var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, expectedValue); 128var argumentDictionary = DefaultViewComponentHelper.GetArgumentDictionary(descriptor, arguments);
Microsoft.AspNetCore.OpenApi.Tests (23)
Services\CreateSchemaReferenceIdTests.cs (1)
38var requestBody = operation.RequestBody.Content;
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (10)
414var content = operation.RequestBody.Content; 471var content = operation.RequestBody.Content; 518var content = operation.RequestBody.Content; 573var content = operation.RequestBody.Content; 639var content = operation.RequestBody.Content; 707var content = operation.RequestBody.Content; 747var content = operation.RequestBody.Content; 788var content = operation.RequestBody.Content; 830var content = operation.RequestBody.Content; 871var content = operation.RequestBody.Content;
Services\OpenApiGeneratorTests.cs (2)
108var content = operation.RequestBody.Content; 814var content = requestBody.Content;
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (7)
24var requestBody = operation.RequestBody.Content; 61var requestBody = operation.RequestBody.Content; 106var requestBody = operation.RequestBody.Content; 145var requestBody = operation.RequestBody.Content; 184var requestBody = operation.RequestBody.Content; 237var requestBody = operation.RequestBody.Content; 272var requestBody = operation.RequestBody.Content;
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (3)
309var requestBody = operation.RequestBody.Content; 349var requestBody = operation.RequestBody.Content; 697public IDictionary<string, Parent> SelfReferenceDictionary { get; set; } = new Dictionary<string, Parent>();
Microsoft.AspNetCore.OutputCaching (2)
CacheVaryByRules.cs (1)
21public IDictionary<string, string> VaryByValues => _varyByValues ??= new Dictionary<string, string>();
OutputCacheKeyProvider.cs (1)
340internal static string[] GetOrderDictionaryKeys(IDictionary<string, string>? dictionary)
Microsoft.AspNetCore.Owin (62)
DictionaryStringArrayWrapper.cs (8)
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); 64bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key); 66bool IDictionary<string, string[]>.TryGetValue(string key, out string[] value)
DictionaryStringValuesWrapper.cs (9)
14public DictionaryStringValuesWrapper(IDictionary<string, string[]> inner) 19public readonly 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); 109bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key); 111bool IDictionary<string, StringValues>.TryGetValue(string key, out StringValues value)
IOwinEnvironmentFeature.cs (1)
14IDictionary<string, object> Environment { get; set; }
OwinEnvironment.cs (12)
32private readonly IDictionary<string, FeatureMap> _entries; 59{ OwinConstants.RequestHeaders, new FeatureMap<IHttpRequestFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 65{ OwinConstants.ResponseHeaders, new FeatureMap<IHttpResponseFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 139public IDictionary<string, FeatureMap> FeatureMaps 144void IDictionary<string, object>.Add(string key, object value) 153bool IDictionary<string, object>.ContainsKey(string key) 155return ((IDictionary<string, object>)this).TryGetValue(key, out _); 158ICollection<string> IDictionary<string, object>.Keys 167bool IDictionary<string, object>.Remove(string key) 176bool IDictionary<string, object>.TryGetValue(string key, out object value) 186ICollection<object> IDictionary<string, object>.Values 191object IDictionary<string, object>.this[string key]
OwinEnvironmentFeature.cs (1)
12public IDictionary<string, object> Environment { get; set; }
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;
OwinFeatureCollection.cs (4)
39public IDictionary<string, object> Environment { get; set; } 47public OwinFeatureCollection(IDictionary<string, object> environment) 119get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.RequestHeaders)); } 149get { return Utilities.MakeHeaderDictionary(Prop<IDictionary<string, string[]>>(OwinConstants.ResponseHeaders)); }
Utilities.cs (2)
46internal static IHeaderDictionary MakeHeaderDictionary(IDictionary<string, string[]> dictionary) 56internal static IDictionary<string, string[]> MakeDictionaryStringArray(IHeaderDictionary dictionary)
WebSockets\OwinWebSocketAcceptAdapter.cs (5)
9using AppFunc = Func<IDictionary<string, object>, Task>; 13IDictionary<string, object>, // WebSocket Accept parameters 16IDictionary<string, object>, // WebSocket environment 50IDictionary<string, object> options = null; 75private Task OwinAcceptCallback(IDictionary<string, object> webSocketContext)
WebSockets\OwinWebSocketAcceptContext.cs (3)
13private IDictionary<string, object> _options; 26public OwinWebSocketAcceptContext(IDictionary<string, object> options) 56public IDictionary<string, object> Options
WebSockets\OwinWebSocketAdapter.cs (2)
33private readonly IDictionary<string, object> _websocketContext; 45public OwinWebSocketAdapter(IDictionary<string, object> websocketContext, string subProtocol)
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)
WebSockets\WebSocketAdapter.cs (2)
37private readonly IDictionary<string, object> _environment; 55internal IDictionary<string, object> Environment
Microsoft.AspNetCore.Owin.Tests (20)
OwinEnvironmentTests.cs (13)
12private T Get<T>(IDictionary<string, object> environment, string key) 35IDictionary<string, object> env = new OwinEnvironment(context); 41var requestHeaders = Get<IDictionary<string, string[]>>(env, "owin.RequestHeaders"); 51var responseHeaders = Get<IDictionary<string, string[]>>(env, "owin.ResponseHeaders"); 61IDictionary<string, object> env = new OwinEnvironment(context); 70var requestHeaders = Get<IDictionary<string, string[]>>(env, "owin.RequestHeaders"); 79var responseHeaders = Get<IDictionary<string, string[]>>(env, "owin.ResponseHeaders"); 103IDictionary<string, object> env = new OwinEnvironment(context); 118IDictionary<string, object> env = new OwinEnvironment(context);
OwinExtensionTests.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> 126IDictionary<string, object> environment = null;
OwinFeatureCollectionTests.cs (1)
16private T Get<T>(IDictionary<string, object> env, string key)
Microsoft.AspNetCore.Razor (14)
TagHelpers\HtmlAttributeNameAttribute.cs (6)
20/// <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> where <c>TKey</c> is 33/// <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> where <c>TKey</c> is 46/// with <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> where <c>TKey</c> is 53/// associated property (an <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/>). 57/// <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> where <c>TKey</c> is 63/// <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/>, default value is <c>Name + "-"</c>.
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)
Runtime\TagHelpers\TagHelperExecutionContext.cs (4)
54IDictionary<object, object> items, 86public IDictionary<object, object> Items { get; private set; } 173/// <param name="items">The <see cref="IDictionary{Object, Object}"/> to use.</param> 179IDictionary<object, object> items,
Runtime\TagHelpers\TagHelperScopeManager.cs (2)
53IDictionary<object, object> items; 122IDictionary<object, object> items,
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (5)
18private readonly IDictionary<TKey, TValue> _sourceDictionary; 20private IDictionary<TKey, TValue>? _innerDictionary; 23IDictionary<TKey, TValue> sourceDictionary, 33private IDictionary<TKey, TValue> ReadDictionary 41private IDictionary<TKey, TValue> WriteDictionary
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
Microsoft.AspNetCore.Razor.Runtime.Test (8)
Runtime\TagHelpers\TestTagHelpers\CommonTagHelpers.cs (2)
56/// This is a complex <see cref="IDictionary{string, bool}"/>. 61public IDictionary<string, bool> RemarksAndSummaryProperty { get; set; }
Runtime\TagHelpers\TestTagHelpers\TagHelperDescriptorFactoryTagHelpers.cs (6)
331public IDictionary<string, string> DictionaryProperty { get; set; } 337public IDictionary<string, string> DictionaryProperty { get; set; } 360public IDictionary<string, int> GetOnlyDictionaryProperty { get; } 363public IDictionary<string, string> GetOnlyDictionaryPropertyWithAttributePrefix { get; } 390public IDictionary<int, string> GetOnlyDictionaryAttributePrefix { get; } 393public IDictionary<string, object> GetOnlyDictionaryPropertyWithAttributeName { get; }
Microsoft.AspNetCore.RequestDecompression (2)
DefaultRequestDecompressionProvider.cs (1)
16private readonly IDictionary<string, IDecompressionProvider> _providers;
RequestDecompressionOptions.cs (1)
14public IDictionary<string, IDecompressionProvider> DecompressionProviders { get; } = new Dictionary<string, IDecompressionProvider>(StringComparer.OrdinalIgnoreCase)
Microsoft.AspNetCore.RequestDecompression.Tests (1)
RequestDecompressionOptionsTests.cs (1)
18var providers = options.DecompressionProviders;
Microsoft.AspNetCore.ResponseCaching.Tests (1)
TestUtils.cs (1)
369private readonly IDictionary<string, IResponseCacheEntry> _storage = new Dictionary<string, IResponseCacheEntry>();
Microsoft.AspNetCore.Rewrite (3)
ApacheModRewrite\FlagParser.cs (1)
8private static readonly IDictionary<string, FlagType> _ruleFlagLookup = new Dictionary<string, FlagType>(StringComparer.OrdinalIgnoreCase) {
ApacheModRewrite\Flags.cs (2)
13public IDictionary<FlagType, string> FlagDictionary { get; } 15public Flags(IDictionary<FlagType, string> flags)
Microsoft.AspNetCore.Rewrite.Tests (2)
ApacheModRewrite\FlagParserTest.cs (2)
77public bool DictionaryContentsEqual<TKey, TValue>(IDictionary<TKey, TValue> dictionary, IDictionary<TKey, TValue> other)
Microsoft.AspNetCore.Routing (25)
DecisionTree\IClassifier.cs (1)
8IDictionary<string, DecisionCriterionValue> GetCriteria(TItem item);
DecisionTree\ItemDescriptor.cs (1)
10public IDictionary<string, DecisionCriterionValue> Criteria { get; set; }
DefaultInlineConstraintResolver.cs (1)
21private readonly IDictionary<string, Type> _inlineConstraintMap;
ParameterPolicyActivator.cs (2)
18IDictionary<string, Type> inlineParameterPolicyMap, 70IDictionary<string, Type> inlineParameterPolicyMap,
Route.cs (2)
48IDictionary<string, object>? constraints, 70IDictionary<string, object>? constraints,
RouteBase.cs (4)
39IDictionary<string, object>? constraints, 67public virtual IDictionary<string, IRouteConstraint> Constraints { get; protected set; } 204protected static IDictionary<string, IRouteConstraint> GetConstraints( 207IDictionary<string, object>? constraints)
RouteConstraintBuilder.cs (2)
51/// <returns>An <see cref="IDictionary{String, IRouteConstraint}"/> of the constraints.</returns> 52public IDictionary<string, IRouteConstraint> Build()
RouteConstraintMatcher.cs (1)
37IDictionary<string, IRouteConstraint> constraints,
RouteOptions.cs (4)
23private IDictionary<string, Type> _constraintTypeMap = GetDefaultConstraintMap(); 81public IDictionary<string, Type> ConstraintMap 100internal IDictionary<string, Type> TrimmerSafeConstraintMap => _constraintTypeMap; 102private static IDictionary<string, Type> GetDefaultConstraintMap()
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
Tree\InboundRouteEntry.cs (1)
30public IDictionary<string, IRouteConstraint> Constraints { get; set; }
Tree\LinkGenerationDecisionTree.cs (1)
174public IDictionary<string, DecisionCriterionValue> GetCriteria(OutboundMatch item)
Tree\OutboundRouteEntry.cs (1)
19public IDictionary<string, IRouteConstraint> Constraints { get; set; }
Tree\TreeRouter.cs (1)
38private readonly IDictionary<string, OutboundMatch> _namedEntries;
Microsoft.AspNetCore.Routing.Abstractions (3)
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
Microsoft.AspNetCore.Routing.Tests (21)
DecisionTreeBuilderTest.cs (1)
208public IDictionary<string, DecisionCriterionValue> GetCriteria(Item item)
Patterns\RoutePatternMatcherTest.cs (1)
1101IDictionary<string, object> expected)
RouteConstraintBuilderTest.cs (6)
23var result = builder.Build(); 42var result = builder.Build(); 61var result = builder.Build(); 109var result = builder.Build(); 122var result = builder.Build(); 137var result = builder.Build();
RouteTest.cs (11)
65IDictionary<string, object> routeValues = null; 119IDictionary<string, object> routeValues = null; 173IDictionary<string, object> routeValues = null; 215IDictionary<string, object> routeValues = null; 257IDictionary<string, object> routeValues = null; 297IDictionary<string, object> routeValues = null; 349IDictionary<string, object> routeValues = null; 1563IDictionary<string, object> expectedDictionary) 1639var constraints = ((Route)routeBuilder.Routes[0]).Constraints; 1660var constraints = ((Route)routeBuilder.Routes[0]).Constraints; 1681var constraints = ((Route)routeBuilder.Routes[0]).Constraints;
Template\TemplateMatcherTests.cs (1)
1100IDictionary<string, object> expected)
TestObjects\CapturingConstraint.cs (1)
10public IDictionary<string, object> Values { get; private set; }
Microsoft.AspNetCore.Server.HttpSys (17)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (3)
56public HeaderCollection(IDictionary<string, StringValues> store) 61private IDictionary<string, StringValues> Store { get; set; } 90StringValues IDictionary<string, StringValues>.this[string key]
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
574internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 592private void GetUnknownHeadersHelper(IDictionary<string, StringValues> unknownHeaders, long fixup, HTTP_REQUEST_V1* request)
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();
UrlPrefixCollection.cs (1)
17private readonly IDictionary<int, UrlPrefix> _prefixes = new Dictionary<int, UrlPrefix>(1);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (4)
Listener\ResponseHeaderTests.cs (2)
317((IDictionary<string, StringValues>)responseHeaders)[key] = value; 329((IDictionary<string, StringValues>)responseHeaders).Add(key, value);
src\Shared\Http2cat\Http2Utilities.cs (2)
897internal Task ReceiveHeadersAsync(int expectedStreamId, Action<IDictionary<string, string>> verifyHeaders = null) 900internal async Task ReceiveHeadersAsync(int expectedStreamId, bool endStream = false, Action<IDictionary<string, string>> verifyHeaders = null)
Microsoft.AspNetCore.Server.IIS (16)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (3)
56public HeaderCollection(IDictionary<string, StringValues> store) 61private IDictionary<string, StringValues> Store { get; set; } 90StringValues IDictionary<string, StringValues>.this[string key]
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
574internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 592private void GetUnknownHeadersHelper(IDictionary<string, StringValues> unknownHeaders, long fixup, HTTP_REQUEST_V1* request)
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)
Common\DeploymentParameters.cs (2)
165public IDictionary<string, string> EnvironmentVariables { get; } = new Dictionary<string, string>(); 170public IDictionary<string, string> PublishEnvironmentVariables { get; } = new Dictionary<string, string>();
Deployers\ApplicationDeployer.cs (2)
138protected void AddEnvironmentVariablesToProcess(ProcessStartInfo startInfo, IDictionary<string, string> environmentVariables) 140var environment = startInfo.Environment;
ProcessHelpers.cs (3)
11public static void AddEnvironmentVariablesToProcess(ProcessStartInfo startInfo, IDictionary<string, string> environmentVariables, ILogger logger) 13var environment = startInfo.Environment; 21public static void SetEnvironmentVariable(IDictionary<string, string> environment, string name, string value, ILogger logger)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Microsoft.AspNetCore.Server.IntegrationTesting.IIS (2)
IISDeploymentParameters.cs (2)
44public IDictionary<string, string> WebConfigBasedEnvironmentVariables { get; set; } = new Dictionary<string, string>(); 46public IDictionary<string, string> HandlerSettings { get; set; } = new Dictionary<string, string>();
Microsoft.AspNetCore.Server.Kestrel.Core (24)
HttpsConfigurationService.cs (1)
206public override IDictionary<object, object?> Items
Internal\ConfigurationReader.cs (3)
26private IDictionary<string, CertificateConfig>? _certificates; 35public IDictionary<string, CertificateConfig> Certificates => _certificates ??= ReadCertificates(); 39private IDictionary<string, CertificateConfig> ReadCertificates()
Internal\Http\Http1Connection.FeatureCollection.cs (2)
17private IDictionary<object, object?>? _persistentState; 31IDictionary<object, object?> IPersistentStateFeature.State
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)
Internal\Http2\Http2Stream.FeatureCollection.cs (2)
22private IDictionary<object, object?>? _persistentState; 68IDictionary<object, object?> IPersistentStateFeature.State
Internal\Http3\Http3HeadersEnumerator.cs (1)
49public void Initialize(IDictionary<string, StringValues> headers)
Internal\WebTransport\WebTransportStream.cs (2)
25private IDictionary<object, object?>? _items; 34public override IDictionary<object, object?> Items
KestrelConfigurationLoader.cs (1)
71private IDictionary<string, Action<EndpointConfiguration>> EndpointConfigurations { get; }
Middleware\LoggingMultiplexedConnectionMiddleware.cs (2)
45public override IDictionary<object, object?> Items { get => _inner.Items; set => _inner.Items = value; } 123public override IDictionary<object, object?> Items { get => _inner.Items; set => _inner.Items = value; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (52)
CertificatePathWatcherTests.cs (6)
36IDictionary<string, object> messageProps; 227var messageProps = GetLogMessageProperties(TestSink, "DirectoryDoesNotExist"); 261var messageProps = GetLogMessageProperties(TestSink, "UnknownFile"); 302var messageProps = GetLogMessageProperties(TestSink, "UnknownObserver"); 331var messageProps = GetLogMessageProperties(TestSink, "ReusedObserver"); 472private static IDictionary<string, object> GetLogMessageProperties(ITestSink testSink, string eventName)
HttpHeadersTests.cs (2)
254IDictionary<string, StringValues> headers = httpHeaders; 287IDictionary<string, StringValues> headers = httpHeaders;
HttpRequestHeadersTests.cs (15)
23IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 32IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 43IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 57IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 69IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 95IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 125EnumerateEntries((IDictionary<string, StringValues>)headers); 129EnumerateEntries((IDictionary<string, StringValues>)headers); 192private static void EnumerateEntries(IDictionary<string, StringValues> headers) 213IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 233IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 285IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 310IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 332IDictionary<string, StringValues> headers = new HttpRequestHeaders(); 370IDictionary<string, StringValues> headers = new HttpRequestHeaders();
HttpResponseHeadersTests.cs (26)
47IDictionary<string, StringValues> headers = http1Connection.ResponseHeaders; 122((IDictionary<string, StringValues>)responseHeaders)[key] = value; 134((IDictionary<string, StringValues>)responseHeaders).Add(key, value); 216((IDictionary<string, StringValues>)responseHeaders)["Unknown"] = value; 228((IDictionary<string, StringValues>)responseHeaders).Add("Unknown", value); 250((IDictionary<string, StringValues>)responseHeaders)["Unknown"] = value; 258((IDictionary<string, StringValues>)responseHeaders).Add("Unknown", value); 267Assert.Throws<InvalidOperationException>(() => ((IDictionary<string, StringValues>)headers).Add("my-header", new[] { "value" })); 283var dictionary = (IDictionary<string, StringValues>)headers; 294var dictionary = (IDictionary<string, StringValues>)headers; 305var dictionary = (IDictionary<string, StringValues>)headers; 317var dictionary = (IDictionary<string, StringValues>)headers; 328var dictionary = (IDictionary<string, StringValues>)headers; 349var dictionary = (IDictionary<string, StringValues>)headers; 360var dictionary = (IDictionary<string, StringValues>)headers; 381var dictionary = (IDictionary<string, StringValues>)headers; 393var dictionary = (IDictionary<string, StringValues>)headers;
SniOptionsSelectorTests.cs (1)
942public override IDictionary<object, object> Items { get; set; } = new Dictionary<object, object>();
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
63public void Initialize(IDictionary<string, StringValues> headers)
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
243public override IDictionary<object, object> Items { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (9)
src\Servers\Kestrel\shared\Http2HeadersEnumerator.cs (1)
63public void Initialize(IDictionary<string, StringValues> headers)
src\Servers\Kestrel\shared\test\Http3\Http3InMemory.cs (4)
1024public override IDictionary<object, object> Items { get; set; } 1107private IDictionary<object, object> _persistentState; 1190public override IDictionary<object, object> Items { get; set; } 1262IDictionary<object, object> IPersistentStateFeature.State
src\Servers\Kestrel\shared\test\TestContextFactory.cs (1)
243public override IDictionary<object, object> Items { get; set; }
src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.Server.Kestrel.Tests (4)
ConfigurationReaderTests.cs (4)
24var certificates = reader.Certificates; 37var certificates = reader.Certificates; 55var certificates = reader.Certificates; 83var certificates = reader.Certificates;
Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes (3)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic (8)
Internal\QuicStreamContext.FeatureCollection.cs (2)
31private IDictionary<object, object?>? _persistentState; 50IDictionary<object, object?> IPersistentStateFeature.State
src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (2)
13private IDictionary<object, object?>? _items; 36public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportMultiplexedConnection.FeatureCollection.cs (1)
18IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
27IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.Shared.Tests (51)
ClosedGenericMatcherTest.cs (15)
49typeof(IDictionary<string, object>), 56typeof(IDictionary<,>), 57typeof(IDictionary<string, object>) 72typeof(IDictionary<,>), 73typeof(IDictionary<string, object>) 88typeof(IDictionary<,>), 89typeof(IDictionary<string, object>) 155typeof(IDictionary<string, object>), 238object IDictionary<string, object>.this[string key] 267ICollection<string> IDictionary<string, object>.Keys 275ICollection<object> IDictionary<string, object>.Values 293void IDictionary<string, object>.Add(string key, object value) 308bool IDictionary<string, object>.ContainsKey(string key) 333bool IDictionary<string, object>.Remove(string key) 338bool IDictionary<string, object>.TryGetValue(string key, out object value)
CopyOnWriteDictionaryTest.cs (1)
19var sourceDictionary = new Mock<IDictionary<string, object>>(MockBehavior.Strict);
PropertyHelperTest.cs (8)
308var helpers = PropertyHelper.GetProperties(typeof(IDictionary<string, string>)); 621var result = PropertyHelper.ObjectToDictionary(testObject); 635var dictValues = PropertyHelper.ObjectToDictionary(value); 649var dictValues = PropertyHelper.ObjectToDictionary(value); 663var dictValues = PropertyHelper.ObjectToDictionary(value); 678var dictValues = PropertyHelper.ObjectToDictionary(value); 694var dictValues = PropertyHelper.ObjectToDictionary(value); 710var dictValues = PropertyHelper.ObjectToDictionary(value);
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (5)
18private readonly IDictionary<TKey, TValue> _sourceDictionary; 20private IDictionary<TKey, TValue>? _innerDictionary; 23IDictionary<TKey, TValue> sourceDictionary, 33private IDictionary<TKey, TValue> ReadDictionary 41private IDictionary<TKey, TValue> WriteDictionary
src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
16/// An <see cref="IDictionary{String, Object}"/> type to hold a small amount of items (10 or less in the common case).
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (3)
56public HeaderCollection(IDictionary<string, StringValues> store) 61private IDictionary<string, StringValues> Store { get; set; } 90StringValues IDictionary<string, StringValues>.this[string key]
src\Shared\HttpSys\RequestProcessing\NativeRequestContext.cs (2)
574internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 592private void GetUnknownHeadersHelper(IDictionary<string, StringValues> unknownHeaders, long fixup, HTTP_REQUEST_V1* request)
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();
src\Shared\PropertyHelper\PropertyHelper.cs (3)
314/// If the object is already an <see cref="IDictionary{String, Object}"/> instance, then a copy 322public static IDictionary<string, object?> ObjectToDictionary(object? value) 324if (value is IDictionary<string, object?> dictionary)
Microsoft.AspNetCore.SignalR.Client.Tests (3)
HubConnectionTests.ConnectionLifecycle.cs (1)
28private static readonly IDictionary<string, Func<HubConnection, Task>> MethodsThatRequireActiveConnection = new Dictionary<string, Func<HubConnection, Task>>()
HubConnectionTests.Reconnect.cs (1)
1178public override IDictionary<object, object> Items { get => _inner.Items; set => _inner.Items = value; }
TestConnection.cs (1)
44public override IDictionary<object, object> Items { get; set; } = new ConnectionItems();
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HubInvocationMessage.cs (1)
16public IDictionary<string, string>? Headers { get; set; }
Microsoft.AspNetCore.SignalR.Common.Tests (15)
Internal\Protocol\HubMessageHelpers.cs (1)
12public static HubMessage AddHeaders(IDictionary<string, string> headers, HubInvocationMessage hubMessage)
Internal\Protocol\JsonHubProtocolTests.cs (1)
210public static IDictionary<string, JsonProtocolTestData> CustomProtocolTestData => new[]
Internal\Protocol\JsonHubProtocolTestsBase.cs (5)
20public static readonly IDictionary<string, string> TestHeaders = new Dictionary<string, string> 30public static IDictionary<string, JsonProtocolTestData> ProtocolTestData => new[] 100public static IDictionary<string, JsonProtocolTestData> OutOfOrderJsonTestData => new[] 360public static IDictionary<string, MessageSizeTestData> MessageSizeData => new[] 405public static IDictionary<string, ClientResultTestData> ClientResultData => new[]
Internal\Protocol\MessagePackHubProtocolTestBase.cs (5)
26protected static readonly IDictionary<string, string> TestHeaders = new Dictionary<string, string> 60public static IDictionary<string, ProtocolTestData> BaseTestData => new[] 283public static IDictionary<string, InvalidMessageData> BaseInvalidPayloads => new[] 369public static IDictionary<string, InvalidMessageData> ArgumentBindingErrors => new[] 412public static IDictionary<string, MessageSizeTestData> MessageSizeData => new[]
Internal\Protocol\MessagePackHubProtocolTests.cs (2)
92public static IDictionary<string, MessagePackHubProtocolTestBase.ProtocolTestData> TestData => new[] 201public static IDictionary<string, ClientResultTestData> ClientResultData => new[]
Internal\Protocol\NewtonsoftJsonHubProtocolTests.cs (1)
96public static IDictionary<string, JsonProtocolTestData> CustomProtocolTestData => new[]
Microsoft.AspNetCore.SignalR.Core (6)
HubCallerContext.cs (1)
32public abstract IDictionary<object, object?> Items { get; }
HubConnectionContext.cs (1)
153public virtual IDictionary<object, object?> Items => _connectionContext.Items;
Internal\DefaultHubCallerContext.cs (1)
31public override IDictionary<object, object?> Items => _connection.Items;
Internal\DefaultHubDispatcher.cs (3)
834private static Activity? StartActivity(string operationName, ActivityKind kind, Activity? linkedActivity, IServiceProvider serviceProvider, string methodName, IDictionary<string, string>? headers, ILogger logger) 871var headers = (IDictionary<string, string>)carrier!;
Microsoft.AspNetCore.SignalR.Microbenchmarks (1)
Shared\TestConnectionContext.cs (1)
14public override IDictionary<object, object> Items { get; set; }
Microsoft.AspNetCore.SignalR.Protocols.MessagePack (2)
Protocol\MessagePackHubProtocolWorker.cs (2)
324private static T ApplyHeaders<T>(IDictionary<string, string>? source, T destination) where T : HubInvocationMessage 592private static void PackHeaders(IDictionary<string, string>? headers, ref MessagePackWriter writer)
Microsoft.AspNetCore.SignalR.Specification.Tests (4)
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.SignalR.Tests (1)
Internal\MessageBufferTests.cs (1)
502public override IDictionary<object, object> Items { get; set; }
Microsoft.AspNetCore.SignalR.Tests.Utils (4)
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)
Npm\NodeScriptRunner.cs (1)
25public NodeScriptRunner(string workingDirectory, string scriptName, string? arguments, IDictionary<string, string>? envVars, string pkgManagerCommand, DiagnosticSource diagnosticSource, CancellationToken applicationStoppingToken)
Prerendering\SpaPrerenderingOptions.cs (1)
42public Action<HttpContext, IDictionary<string, object>> SupplyData { get; set; }
Microsoft.AspNetCore.StaticFiles (2)
FileExtensionContentTypeProvider.cs (2)
415public FileExtensionContentTypeProvider(IDictionary<string, string> mapping) 424public IDictionary<string, string> Mappings { get; private set; }
Microsoft.AspNetCore.WebUtilities (1)
QueryHelpers.cs (1)
44public static string AddQueryString(string uri, IDictionary<string, string?> queryString)
Microsoft.AspNetCore.WebUtilities.Tests (2)
FormPipeReaderTests.cs (2)
561IDictionary<string, StringValues> values = accumulator.GetResults(); 582IDictionary<string, StringValues> values = accumulator.GetResults();
Microsoft.Build (364)
BackEnd\BuildManager\BuildParameters.cs (3)
344public IDictionary<string, string> BuildProcessEnvironment => new ReadOnlyDictionary<string, string>( 422public IDictionary<string, string> EnvironmentProperties 457public IDictionary<string, string> GlobalProperties
BackEnd\BuildManager\BuildRequestData.cs (3)
110public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices) 125public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, 144public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
BackEnd\BuildManager\GlobalPropertiesLookup.cs (2)
28private GlobalPropertiesLookup(IDictionary<string, ProjectPropertyInstance> backingProperties) 33private readonly IDictionary<string, ProjectPropertyInstance> _backingProperties;
BackEnd\BuildManager\LegacyThreadingData.cs (1)
28private readonly IDictionary<int, Tuple<AutoResetEvent, ManualResetEvent>> _legacyThreadingEventsById = new Dictionary<int, Tuple<AutoResetEvent, ManualResetEvent>>();
BackEnd\BuildManager\RequestedProjectState.cs (3)
19private IDictionary<string, List<string>> _itemFilters; 33public IDictionary<string, List<string>> ItemFilters 133private static IDictionary<string, List<string>> CreateItemMetadataDictionary(int capacity)
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
399public IDictionary<int, BuildResult> Continue() 407IDictionary<int, BuildResult> ret = _outstandingResults;
BackEnd\Components\Caching\ConfigCache.cs (2)
21private IDictionary<int, BuildRequestConfiguration> _configurations; 31private IDictionary<ConfigurationMetadata, int> _configurationIdsByMetadata;
BackEnd\Components\Caching\ResultsCache.cs (2)
51internal IDictionary<int, BuildResult> ResultsDictionary 246IDictionary<int, BuildResult> localReference = _resultsByConfiguration;
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (2)
93private IDictionary<int, INodePacketFactory> _nodeIdToPacketFactory; 98private IDictionary<int, INodePacketHandler> _nodeIdToPacketHandler;
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (2)
89public IDictionary<int, ISet<string>> WarningsAsErrorsByProject 107public IDictionary<int, ISet<string>> WarningsAsMessagesByProject
BackEnd\Components\Logging\ILoggingService.cs (1)
644void LogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties);
BackEnd\Components\Logging\LoggingService.cs (5)
227private IDictionary<WarningsConfigKey, ISet<string>> _warningsAsErrorsByProject; 232private IDictionary<WarningsConfigKey, ISet<string>> _warningsNotAsErrorsByProject; 237private IDictionary<WarningsConfigKey, ISet<string>> _warningsAsMessagesByProject; 691private ICollection<string> GetWarningsForProject(BuildEventContext context, IDictionary<WarningsConfigKey, ISet<string>> warningsByProject, ISet<string> warnings) 746private void AddWarningsAsMessagesOrErrors(ref IDictionary<WarningsConfigKey, ISet<string>> warningsByProject, BuildEventContext buildEventContext, ISet<string> codes)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
354IDictionary<string, string> environmentProperties = _componentHost?.BuildParameters?.BuildProcessEnvironment; 581IDictionary<string, string> globalProperties = buildRequestConfiguration.GlobalProperties.ToDictionary(); 804public void LogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties)
BackEnd\Components\RequestBuilder\IntrinsicTasks\IntrinsicTaskFactory.cs (1)
48public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
210if (customMetadata is IDictionary<string, string> customMetadataDictionary)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
664IList<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = result.TargetOutputsPerProject;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (8)
54private IDictionary<int, BuildResult> _continueResults; 1008IDictionary<int, BuildResult> results = _continueResults; 1333private void SetEnvironmentVariableBlock(IDictionary<string, string> savedEnvironment) 1335IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1343private void ClearVariablesNotInEnvironment(IDictionary<string, string> savedEnvironment, IDictionary<string, string> currentEnvironment) 1357private void UpdateEnvironmentVariables(IDictionary<string, string> savedEnvironment, IDictionary<string, string> currentEnvironment)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (8)
926private 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 1263private IDictionary<string, object> _uniqueTargetInputs = 1264(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase)); 1269private IDictionary<string, object> _uniqueTargetOutputs = 1270(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase));
BackEnd\Components\RequestBuilder\TaskBuilder.cs (4)
423IDictionary<string, string> taskIdentityParameters = GatherTaskIdentityParameters(bucket.Expander); 520private IDictionary<string, string> GatherTaskIdentityParameters(Expander<ProjectPropertyInstance, ProjectItemInstance> expander) 527IDictionary<string, string> taskIdentityParameters = null; 648private async Task<WorkUnitResult> InitializeAndExecuteTask(TaskLoggingContext taskLoggingContext, ItemBucket bucket, IDictionary<string, string> taskIdentityParameters, TaskHost taskHost, TaskExecutionMode howToExecuteTask)
BackEnd\Components\RequestBuilder\TaskHost.cs (6)
650public void LogTelemetry(string eventName, IDictionary<string, string> properties) 976List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = null; 983targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(1); 1145List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = null; 1160targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(1) 1218targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(results.Length);
BackEnd\Components\SdkResolution\SdkResult.cs (4)
34IDictionary<string, string> propertiesToAdd = null, IDictionary<string, SdkResultItem> itemsToAdd = null) 49public SdkResult(SdkReference sdkReference, IEnumerable<string> paths, string version, IDictionary<string, string> propertiesToAdd, 50IDictionary<string, SdkResultItem> itemsToAdd, IEnumerable<string> warnings)
BackEnd\Components\SdkResolution\SdkResultFactory.cs (4)
38IDictionary<string, string> propertiesToAdd, 39IDictionary<string, SdkResultItem> itemsToAdd, 47IDictionary<string, string> propertiesToAdd = null, 48IDictionary<string, SdkResultItem> itemsToAdd = null,
BackEnd\Node\InProcNode.cs (1)
34private IDictionary<string, string> _savedEnvironment;
BackEnd\Node\OutOfProcNode.cs (1)
52private IDictionary<string, string> _savedEnvironment;
BackEnd\Shared\BuildAbortedException.cs (2)
77protected override IDictionary<string, string> FlushCustomState() 85protected override void InitializeCustomState(IDictionary<string, string> state)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1038private HashSet<string> GetProjectTargets(IDictionary<string, ProjectTargetInstance> projectTargets) => projectTargets.Keys.ToHashSet();
BackEnd\Shared\BuildResult.cs (1)
399public IDictionary<string, TargetResult> ResultsByTarget
BackEnd\Shared\IBuildResults.cs (1)
30IDictionary<string, TargetResult> ResultsByTarget { get; }
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (5)
269public (TaskRequirements? requirements, TaskFactoryWrapper taskFactoryWrapper) FindTask(IDictionary<string, string> taskIdentityParameters) 300public bool InitializeForBatch(TaskLoggingContext loggingContext, ItemBucket batchBucket, IDictionary<string, string> taskIdentityParameters) 353public bool SetTaskParameters(IDictionary<string, (string, ElementLocation)> parameters) 859private TaskFactoryWrapper FindTaskInRegistry(IDictionary<string, string> taskIdentityParameters) 935private ITask InstantiateTask(IDictionary<string, string> taskIdentityParameters)
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
53foreach ((string, IDictionary<string, string>) telemetryTransportData in KnownTelemetry.BuildCheckTelemetry.ProcessBuildCheckTracingData(data))
Collections\ArrayDictionary.cs (1)
33public static IDictionary<TKey, TValue> Create(int capacity)
Collections\CopyOnWritePropertyDictionary.cs (9)
68ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys; 73ICollection<T> IDictionary<string, T>.Values => ((IDictionary<string, T>)_backing).Values; 209IDictionary<string, T> otherDict = other; 248void IDictionary<string, T>.Add(string key, T value) 258bool IDictionary<string, T>.ContainsKey(string key) => _backing.ContainsKey(key); 263bool IDictionary<string, T>.TryGetValue(string key, out T value) => _backing.TryGetValue(key, out value); 274((IDictionary<string, T>)this).Add(item.Key, item.Value);
Collections\IConstrainableDictionary.cs (1)
10/// Represents an <see cref="IDictionary{String, TValue}"/> that supports use of an
Collections\PropertyDictionary.cs (10)
109ICollection<string> IDictionary<string, T>.Keys 124ICollection<T> IDictionary<string, T>.Values 170T IDictionary<string, T>.this[string name] 222return ((IDictionary<string, T>)this).ContainsKey(name); 351void IDictionary<string, T>.Add(string key, T value) 362bool IDictionary<string, T>.ContainsKey(string key) 373bool IDictionary<string, T>.Remove(string key) 381bool IDictionary<string, T>.TryGetValue(string key, out T value) 397((IDictionary<string, T>)this).Add(item.Key, item.Value); 440return ((IDictionary<string, T>)this).Remove(item.Key);
Collections\ReadOnlyConvertingDictionary.cs (2)
25private readonly IDictionary<K, V> _backing; 35internal ReadOnlyConvertingDictionary(IDictionary<K, V> backing, Func<V, N> converter)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
296T IDictionary<string, T>.this[string name] 595void IDictionary<string, T>.Add(string key, T item)
CommunicationsUtilities.cs (2)
415internal static void SetEnvironment(IDictionary<string, string> newEnvironment) 607internal static HandshakeOptions GetHandshakeOptions(bool taskHost, string architectureFlagToSet = null, bool nodeReuse = false, bool lowPriority = false, IDictionary<string, string> taskHostParameters = null)
Construction\ProjectRootElement.cs (1)
1765internal static ProjectRootElement OpenProjectOrSolution(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded)
Construction\ProjectTaskElement.cs (1)
136public IDictionary<string, string> Parameters
Construction\Solution\SolutionProjectGenerator.cs (6)
126private readonly IDictionary<string, string> _globalProperties; 173IDictionary<string, string> globalProperties, 211IDictionary<string, string> globalProperties, 355internal static string PredictActiveSolutionConfigurationName(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 628private static string DetermineLikelyActiveSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 2061private IDictionary<string, string> GetMetaprojectGlobalProperties(ProjectInstance traversalProject)
CopyOnWriteDictionary.cs (5)
106public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 119public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
Definition\Project.cs (31)
166public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 180public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) 208public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion) 224public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 241public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 259public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 264private Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 302public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion) 318public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 335public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 353public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 358private Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 395public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion) 412public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 430public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 449public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 454private Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 604public IDictionary<string, string> GlobalProperties => implementation.GlobalProperties; 653public IDictionary<string, List<string>> ConditionedProperties => implementation.ConditionedProperties; 659public IDictionary<string, ProjectItemDefinition> ItemDefinitions => implementation.ItemDefinitions; 699public IDictionary<string, ProjectTargetInstance> Targets => implementation.Targets; 1880public ProjectImpl(Project owner, ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings) 1904public ProjectImpl(Project owner, XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) 1939public ProjectImpl(Project owner, string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) 2142public override IDictionary<string, string> GlobalProperties 2194public override IDictionary<string, List<string>> ConditionedProperties 2212public override IDictionary<string, ProjectItemDefinition> ItemDefinitions => _data.ItemDefinitions; 2298public override IDictionary<string, ProjectTargetInstance> Targets 3766internal void Initialize(IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext, bool interactive) 4083public IDictionary<string, List<TargetSpecification>> BeforeTargets { get; set; } 4088public IDictionary<string, List<TargetSpecification>> AfterTargets { get; set; }
Definition\ProjectCollection.cs (10)
231public ProjectCollection(IDictionary<string, string> globalProperties) 244public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, ToolsetDefinitionLocations toolsetDefinitionLocations) 262public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) 281public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) 303public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) 556public IDictionary<string, string> GlobalProperties 1158public Project LoadProject(string fileName, IDictionary<string, string> globalProperties, string toolsVersion) 1253public Project LoadProject(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion) 2513internal Project GetMatchingProjectIfAny(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion) 2613private static bool HasEquivalentGlobalPropertiesAndToolsVersion(Project project, IDictionary<string, string> globalProperties, string toolsVersion)
Definition\ProjectOptions.cs (1)
21public IDictionary<string, string> GlobalProperties { get; set; }
Definition\SubToolset.cs (1)
67public IDictionary<string, ProjectPropertyInstance> Properties
Definition\Toolset.cs (8)
232public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath) 249public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, IDictionary<string, SubToolset> subToolsets, string msbuildOverrideTasksPath) 307IDictionary<string, SubToolset> subToolsets, 434public IDictionary<string, ProjectPropertyInstance> Properties 450public IDictionary<string, SubToolset> SubToolsets 654public string GenerateSubToolsetVersion(IDictionary<string, string> overrideGlobalProperties, int solutionVersion) 833internal string GenerateSubToolsetVersionUsingVisualStudioVersion(IDictionary<string, string> overrideGlobalProperties, int visualStudioVersionFromSolution)
Errors\InternalLoggerException.cs (2)
145protected override IDictionary<string, string> FlushCustomState() 155protected override void InitializeCustomState(IDictionary<string, string> state)
Errors\InvalidProjectFileException.cs (2)
132protected override IDictionary<string, string> FlushCustomState() 148protected override void InitializeCustomState(IDictionary<string, string> state)
Errors\InvalidToolsetDefinitionException.cs (2)
113protected override IDictionary<string, string> FlushCustomState() 121protected override void InitializeCustomState(IDictionary<string, string> state)
Evaluation\Evaluator.cs (1)
1283((IDictionary<string, ProjectPropertyInstance>)_data.GlobalPropertiesDictionary).ContainsKey(propertyElement.Name) &&
Evaluation\IEvaluatorData.cs (2)
124IDictionary<string, List<TargetSpecification>> BeforeTargets 133IDictionary<string, List<TargetSpecification>> AfterTargets
Evaluation\IntrinsicFunctions.cs (1)
508IDictionary<string, string> parameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Evaluation\LazyItemEvaluator.cs (1)
491private void AddReferencedItemList(string itemType, IDictionary<string, LazyItemList> referencedItemLists)
Evaluation\LazyItemEvaluator.EvaluatorData.cs (2)
56public IDictionary<string, List<TargetSpecification>> AfterTargets 69public IDictionary<string, List<TargetSpecification>> BeforeTargets
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
141public IDictionary<string, List<TargetSpecification>> BeforeTargets { get => _wrapped.BeforeTargets; set => _wrapped.BeforeTargets = value; } 142public IDictionary<string, List<TargetSpecification>> AfterTargets { get => _wrapped.AfterTargets; set => _wrapped.AfterTargets = value; }
Graph\GraphBuilder.cs (3)
376SolutionConfigurationInSolution SelectSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 464IDictionary<ProjectGraphNode, NodeVisitationState> nodeState) 626private static PropertyDictionary<ProjectPropertyInstance> CreatePropertyDictionary(IDictionary<string, string> properties)
Graph\GraphBuildRequestData.cs (2)
70public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild, HostServices? hostServices) 83public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
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)
Graph\ProjectGraphEntryPoint.cs (3)
30public ProjectGraphEntryPoint(string projectFile, IDictionary<string, string> globalProperties) 46public IDictionary<string, string> GlobalProperties { get; } 56internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties)
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\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (2)
33private readonly IDictionary<string, string> _globalProperties; 38IDictionary<string, string> globalProperties,
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (2)
24private readonly IDictionary<string, ICollection<TCached>> _itemsByType; 31IDictionary<string, ICollection<TCached>> itemsByType,
Instance\ImmutableProjectCollections\ImmutablePropertyCollectionConverter.cs (1)
14public ImmutablePropertyCollectionConverter(IDictionary<string, TCached> properties, Func<TCached, T> convertProperty)
Instance\ImmutableProjectCollections\ImmutableValuedElementCollectionConverter.cs (2)
18IDictionary<string, TCached> projectElements, 19IDictionary<(string, int, int), TCached> constrainedProjectElements,
Instance\ProjectInstance.cs (53)
91private IDictionary<string, ProjectTargetInstance> _targets; 182private IDictionary<string, List<TargetSpecification>> _beforeTargets; 183private IDictionary<string, List<TargetSpecification>> _afterTargets; 219public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion) 236public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 254public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection) 271internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, EvaluationContext context, bool interactive = false) 294private ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, 341public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 360public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection) 512private ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, 531/// <param name="globalProperties">An <see cref="IDictionary{String,String}"/> containing global properties.</param> 532internal ProjectInstance(string projectFile, ProjectInstance projectToInheritFrom, IDictionary<string, string> globalProperties) 587internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId) 602internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ILoggingService loggingService, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId) 613internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId, ProjectLoadSettings? projectLoadSettings) 629internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId) 905IDictionary<string, ProjectItemDefinition> linkedProjectItemDefinitions = linkedProject.ItemDefinitions; 908out IDictionary<string, ProjectItemDefinition> elementsDictionary, 909out IDictionary<(string, int, int), ProjectItemDefinition> constrainedElementsDictionary); 923var itemsByType = linkedProject.Items as IDictionary<string, ICollection<ProjectItem>>; 973IDictionary<string, ProjectMetadataInstance> metadata = null; 974if (projectItemDefinition.Metadata is IDictionary<string, ProjectMetadata> linkedMetadataDict) 1011out IDictionary<string, ProjectProperty> elementsDictionary, 1012out IDictionary<(string, int, int), ProjectProperty> constrainedElementsDictionary); 1040out IDictionary<string, TCached> elementsDictionary, 1041out IDictionary<(string, int, int), TCached> constrainedElementsDictionary) 1052if (elementsCollection is not IDictionary<string, TCached> elementsDict || 1053elementsCollection is not IDictionary<(string, int, int), TCached> constrainedElementsDict) 1070public IDictionary<string, string> GlobalProperties 1205public IDictionary<string, ProjectItemDefinitionInstance> ItemDefinitions 1253public IDictionary<string, ProjectTargetInstance> Targets 1431IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.BeforeTargets 1441IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AfterTargets 2189IDictionary<string, TargetResult> targetOutputs; 2205public bool Build(string[] targets, IEnumerable<ILogger> loggers, out IDictionary<string, TargetResult> targetOutputs) 2222public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2681internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2731internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs) 2876IDictionary<string, string> globalProperties, 2928IDictionary<string, string> globalProperties, 3012private static ObjectModel.ReadOnlyDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary, StringComparer strComparer) 3032private static IDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary) where TValue : class, IKeyed 3071IDictionary<string, string> globalProperties, 3205IDictionary<string, ProjectTargetInstance> targets, 3208IDictionary<string, List<TargetSpecification>> beforeTargets, 3209IDictionary<string, List<TargetSpecification>> afterTargets) 3219IDictionary<string, List<TargetSpecification>> beforeTargets, 3220IDictionary<string, List<TargetSpecification>> afterTargets) 3394if (item.DirectMetadata is IDictionary<string, ProjectMetadata> metadataDict) 3432private void CreateItemDefinitionsSnapshot(IDictionary<string, ProjectItemDefinition> itemDefinitions)
Instance\ProjectItemDefinitionInstance.cs (3)
36private IDictionary<string, ProjectMetadataInstance> _metadata; 74internal ProjectItemDefinitionInstance(string itemType, IDictionary<string, ProjectMetadataInstance> metadata) 239private static IDictionary<string, ProjectMetadataInstance> CreateMetadataCollection(int capacity)
Instance\ProjectTaskInstance.cs (4)
234public IDictionary<string, string> Parameters 248internal IDictionary<string, (string, ElementLocation)> TestGetParameters => _parameters; 302internal IDictionary<string, (string, ElementLocation)> ParametersForBuild 378IDictionary<string, (string, ElementLocation)> localParameters = _parameters;
Instance\TaskFactories\AssemblyTaskFactory.cs (18)
55private IDictionary<string, string> _factoryIdentityParameters; 116public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) 141public bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) 188public ITask CreateTask(IBuildEngine taskFactoryLoggingHost, IDictionary<string, string> taskIdentityParameters) 252IDictionary<string, TaskPropertyInfo> taskParameters, 254IDictionary<string, string> taskFactoryIdentityParameters, 316internal ITask CreateTaskInstance(ElementLocation taskLocation, TaskLoggingContext taskLoggingContext, IBuildComponentHost buildComponentHost, IDictionary<string, string> taskIdentityParameters, 323IDictionary<string, string> mergedParameters = null; 419internal bool TaskNameCreatableByFactory(string taskName, IDictionary<string, string> taskIdentityParameters, string taskProjectFile, TargetLoggingContext targetLoggingContext, ElementLocation elementLocation) 471private static void VerifyThrowIdentityParametersValid(IDictionary<string, string> identityParameters, IElementLocation errorLocation, string taskName, string runtimeName, string architectureName) 518private static bool TaskIdentityParametersMatchFactory(IDictionary<string, string> factoryIdentityParameters, IDictionary<string, string> taskIdentityParameters) 553private static IDictionary<string, string> MergeTaskFactoryParameterSets(IDictionary<string, string> factoryIdentityParameters, IDictionary<string, string> taskIdentityParameters) 555IDictionary<string, string> mergedParameters = null; 611private static bool TaskHostParametersMatchCurrentProcess(IDictionary<string, string> mergedParameters)
Instance\TaskFactories\TaskHostTask.cs (3)
73private IDictionary<string, string> _taskHostParameters; 118private IDictionary<string, object> _setParameters; 134IDictionary<string, string> taskHostParameters,
Instance\TaskFactoryWrapper.cs (3)
74private IDictionary<string, string> _factoryIdentityParameters; 83internal TaskFactoryWrapper(ITaskFactory taskFactory, LoadedType taskFactoryLoadInfo, string taskName, IDictionary<string, string> factoryIdentityParameters) 159public IDictionary<string, string> FactoryIdentityParameters
Instance\TaskRegistry.cs (19)
232internal IDictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>> TaskRegistrations 461IDictionary<string, string> taskIdentityParameters, 517IDictionary<string, string> taskIdentityParameters, 766IDictionary<string, string> taskIdentityParameters, 788private IDictionary<string, string> _taskIdentityParameters; 793internal RegisteredTaskIdentity(string name, IDictionary<string, string> taskIdentityParameters) 801private static IDictionary<string, string> CreateTaskIdentityParametersDictionary(IDictionary<string, string> initialState = null, int? initialCount = null) 833public IDictionary<string, string> TaskIdentityParameters 977private static bool IdentityParametersMatch(IDictionary<string, string> x, IDictionary<string, string> y, bool exactMatchRequired) 1054IDictionary<string, string> taskIdentityParameters = _taskIdentityParameters; 1231internal IDictionary<string, string> TaskFactoryParameters 1265internal bool CanTaskBeCreatedByFactory(string taskName, string taskProjectFile, IDictionary<string, string> taskIdentityParameters, TargetLoggingContext targetLoggingContext, ElementLocation elementLocation) 1355internal TaskFactoryWrapper GetTaskFactoryFromRegistrationRecord(string taskName, string taskProjectFile, IDictionary<string, string> taskIdentityParameters, TargetLoggingContext targetLoggingContext, ElementLocation elementLocation) 1564private IDictionary<string, TaskPropertyInfo> _usingTaskParameters; 1586internal IDictionary<string, TaskPropertyInfo> UsingTaskParameters 1819IDictionary<string, string> localParameters = _taskFactoryParameters; 1841IDictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>> copy = _taskRegistrations;
Logging\BaseConsoleLogger.cs (2)
475internal void WriteEnvironment(IDictionary<string, string> environment) 509internal virtual void OutputEnvironment(IDictionary<string, string> environment)
Logging\BinaryLogger\BuildEventArgsReader.cs (12)
482private IDictionary<string, string> GetNameValueList(int id) 492var dictionary = ArrayDictionary<string, string>.Create(list.Length); 611var environment = ReadStringDictionary(); 639IDictionary<string, string>? globalProperties = null; 747IDictionary<string, string>? globalProperties = null; 1253var rawTracingData = ReadStringDictionary() ?? new Dictionary<string, string>(); 1304IDictionary<string, string?>? extendedMetadata = ReadStringDictionary()!; 1437IDictionary<string, string>? properties = ReadStringDictionary(); 1482private IDictionary<string, string>? ReadStringDictionary() 1495var record = GetNameValueList(index); 1499private IDictionary<string, string>? ReadLegacyStringDictionary() 1522var metadata = ReadStringDictionary();
Logging\BinaryLogger\ExtendedDataFields.cs (2)
10public ExtendedDataFields(string extendedType, IDictionary<string, string?>? extendedMetadata, string? extendedData) 18public IDictionary<string, string?>? ExtendedMetadata { get; }
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
772internal override void OutputEnvironment(IDictionary<string, string> environment)
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,
LogMessagePacketBase.cs (3)
1457var metadata = ReadMetadata(reader); 1466private IDictionary<string, string> ReadMetadata(BinaryReader reader) 1474var list = ArrayDictionary<string, string>.Create(count);
ObjectModelRemoting\ConstructionObjectLinks\ProjectTaskElementLink.cs (1)
20public abstract IDictionary<string, string> Parameters { get; }
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (4)
41public abstract IDictionary<string, string> GlobalProperties { get; } 56public abstract IDictionary<string, List<string>> ConditionedProperties { get; } 61public abstract IDictionary<string, ProjectItemDefinition> ItemDefinitions { get; } 86public abstract IDictionary<string, ProjectTargetInstance> Targets { get; }
OutOfProcTaskHostTaskResult.cs (3)
30internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams) 57internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams, Exception taskException, string exceptionMessage, string[] exceptionMessageArgs) 101public IDictionary<string, Object> FinalParameterValues
ReadOnlyEmptyDictionary.cs (7)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; } 127get { return (ICollection)((IDictionary<K, V>)this).Values; } 153return ((IDictionary<K, V>)this)[(K)key]; 158((IDictionary<K, V>)this)[(K)key] = (V)value; 275((IDictionary<K, V>)this).Add((K)key, (V)value); 283return ((IDictionary<K, V>)this).ContainsKey((K)key); 299((IDictionary<K, V>)this).Remove((K)key);
TaskHostConfiguration.cs (2)
147IDictionary<string, string> buildProcessEnvironment, 160IDictionary<string, object> taskParameters,
TaskHostTaskComplete.cs (1)
106IDictionary<string, string> buildProcessEnvironment)
TaskLoggingHelper.cs (1)
1453public void LogTelemetry(string eventName, IDictionary<string, string> properties)
TaskParameter.cs (1)
924IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
TranslatorHelpers.cs (2)
96where D : IDictionary<string, T>, new() 107where D : IDictionary<string, T>
Utilities\Utilities.cs (1)
470IDictionary<string, string> environmentVariablesBag = CommunicationsUtilities.GetEnvironmentVariables();
Microsoft.Build.CommandLine.UnitTests (9)
XMake_Tests.cs (9)
1563IDictionary<string, string> environmentVars = new Dictionary<string, string> 2340IDictionary<string, string> preExistingProps = new Dictionary<string, string> 2387IDictionary<string, string> preExistingProps = new Dictionary<string, string> 2798private string ExecuteMSBuildExeExpectSuccess(string projectContents, IDictionary<string, string> filesToCreate = null, IDictionary<string, string> envsToCreate = null, params string[] arguments) 2807private string ExecuteMSBuildExeExpectFailure(string projectContents, IDictionary<string, string> filesToCreate = null, IDictionary<string, string> envsToCreate = null, params string[] arguments) 2816private (bool result, string output) ExecuteMSBuildExe(string projectContents, IDictionary<string, string> filesToCreate = null, IDictionary<string, string> envsToCreate = null, params string[] arguments)
Microsoft.Build.Engine.OM.UnitTests (31)
Definition\Project_Tests.cs (4)
65IDictionary<string, string> globalProperties = ProjectCollection.GlobalProjectCollection.GlobalProperties; 1287IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 1316IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 1319IDictionary<string, string> projectCollectionGlobalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Definition\ProjectCollection_Tests.cs (1)
47IDictionary<string, string> globalProperties = ProjectCollection.GlobalProjectCollection.GlobalProperties;
Instance\ProjectItemInstance_Tests.cs (5)
254IDictionary<string, string> metadata = new Dictionary<string, string>(); 371IDictionary<string, string> taskItem2Metadata = (IDictionary<string, string>)taskItem2.CloneCustomMetadata(); 392IDictionary<string, string> taskItem2MetadataEscaped = (IDictionary<string, string>)taskItem2.CloneCustomMetadataEscaped();
Instance\ProjectTaskInstance_Tests.cs (1)
32var parameters = task.Parameters;
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
654var realParams = realXml.Parameters; 655var viewParams = viewXml.Parameters;
ObjectModelRemoting\Helpers\ViewValidation.cs (2)
315public static void Verify<T>(IDictionary<string, T> viewCollection, IDictionary<string, T> realCollection, Action<T, T, ValidationContext> validator, ValidationContext context = null)
ObjectModelRemoting\LinkedEvaluationReadOnly_Tests.cs (2)
78var viewItemDefinitions = this.StdGroup.View.ItemDefinitions; 79var realItemDefinitions = this.StdGroup.Real.ItemDefinitions;
ObjectModelRemoting\RemoteProjectsProviderMock\CollectionsHelpers.cs (4)
103public static IDictionary<TKey, TValue> ImportDictionary<TKey, TValue, RMock>(this ProjectCollectionLinker importer, IDictionary<TKey, RMock> source) 122public static IDictionary<TKey, RMock> ExportDictionary<TKey, TValue, RMock>(this ProjectCollectionLinker exporter, IDictionary<TKey, TValue> source)
ObjectModelRemoting\RemoteProjectsProviderMock\ConstructionLinkMocks\MockProjectTaskElementLink.cs (3)
27public IDictionary<string, string> Parameters 31var local = this.TaskXml.Parameters; 58public override IDictionary<string, string> Parameters => this.Proxy.Parameters;
ObjectModelRemoting\RemoteProjectsProviderMock\EvaluationLinkMocks\MockProjectLink.cs (7)
37public IDictionary<string, string> GlobalProperties => this.Source.GlobalProperties; 43public IDictionary<string, List<string>> ConditionedProperties => this.Source.ConditionedProperties; 45public IDictionary<string, MockProjectItemDefinitionLinkRemoter> ItemDefinitions 137public override IDictionary<string, string> GlobalProperties => this.Proxy.GlobalProperties; 143public override IDictionary<string, List<string>> ConditionedProperties => this.Proxy.ConditionedProperties; 145public override IDictionary<string, ProjectItemDefinition> ItemDefinitions 186public override IDictionary<string, ProjectTargetInstance> Targets => throw new NotImplementedException();
Microsoft.Build.Engine.UnitTests (120)
BackEnd\AssemblyTaskFactory_Tests.cs (18)
175IDictionary<string, string> factoryIdentityParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 181IDictionary<string, string> taskIdentityParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 195IDictionary<string, string> factoryIdentityParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 201IDictionary<string, string> taskIdentityParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 275IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 306IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 337IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 370IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 403IDictionary<string, string> factoryParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 408IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 438IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 471IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 502IDictionary<string, string> factoryParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 507IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 566IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 601IDictionary<string, string> taskParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 630IDictionary<string, string> factoryParameters = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 683private void SetupTaskFactory(IDictionary<string, string> factoryParameters, bool explicitlyLaunchTaskHost)
BackEnd\BuildManager_Tests.cs (1)
3651IDictionary<string, string> metadata = new Dictionary<string, string>(1);
BackEnd\BuildRequestEngine_Tests.cs (1)
135IDictionary<int, BuildResult> results = _entry.Continue();
BackEnd\BuildRequestEntry_Tests.cs (1)
52IDictionary<int, BuildResult> results = entry.Continue();
BackEnd\KnownTelemetry_Tests.cs (1)
77var properties = buildTelemetry.GetProperties();
BackEnd\LoggingConfigurationTelemetry_Tests.cs (1)
67var properties = telemetry.GetProperties();
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1271IDictionary<string, string> eventProperties = new Dictionary<string, string> 1284private void TestLogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties)
BackEnd\MockLoggingService.cs (1)
658public void LogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties)
BackEnd\MSBuild_Tests.cs (8)
144IDictionary<string, TargetResult> targetOutputs; 557IDictionary<string, TargetResult> targetOutputs; 626IDictionary<string, TargetResult> targetOutputs; 933IDictionary<string, TargetResult> targetOutputs; 1053IDictionary<string, TargetResult> targetOutputs; 1122IDictionary<string, TargetResult> targetOutputs; 1189IDictionary<string, TargetResult> targetOutputs; 1804IDictionary<string, TargetResult> targetOutputs;
BackEnd\NullMetadataTask.cs (1)
26IDictionary<string, string> metadata = new Dictionary<string, string>();
BackEnd\TargetEntry_Tests.cs (1)
859(IDictionary<string, string>)null,
BackEnd\TaskBuilderTestTask.cs (1)
1296public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> taskParameters, string taskElementContents, IBuildEngine taskLoggingHost)
BackEnd\TaskHostConfiguration_Tests.cs (5)
236IDictionary<string, object> parameters = new Dictionary<string, object>(); 263IDictionary<string, object> parameters2 = new Dictionary<string, object>(); 485IDictionary<string, object> parameters = new Dictionary<string, object>(); 535IDictionary<string, object> parameters = new Dictionary<string, object>(); 583IDictionary<string, object> parameters = new Dictionary<string, object>();
BackEnd\TaskHostTaskComplete_Tests.cs (7)
73IDictionary<string, object> parameters = new Dictionary<string, object>(); 81IDictionary<string, object> parameters2 = new Dictionary<string, object>(); 158IDictionary<string, object> parameters = new Dictionary<string, object>(); 186IDictionary<string, object> parameters = new Dictionary<string, object>(); 212IDictionary<string, object> parameters = new Dictionary<string, object>(); 239private void AssertInvalidConstructorThrows(Type expectedExceptionType, TaskCompleteType taskResult, Exception taskException, string taskExceptionMessage, string[] taskExceptionMessageArgs, IDictionary<string, object> taskOutputParameters, IDictionary<string, string> buildProcessEnvironment)
BackEnd\TaskRegistry_Tests.cs (8)
1130IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 1186IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 1224IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 1276IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 1312IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 1685IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registeredTasks = registry.TaskRegistrations; 2172internal static int GetDeepCountOfRegisteredTasks(IDictionary<TaskRegistry.RegisteredTaskIdentity, List<TaskRegistry.RegisteredTaskRecord>> registryRecords) 2338public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) => true;
BackEnd\TranslationHelpers.cs (1)
218internal static string ToString(IDictionary<string, string> dictionary)
Collections\OMcollections_tests.cs (1)
335private static ObjectModel.ReadOnlyDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary, StringComparer strComparer)
CommunicationUtilities_Tests.cs (3)
22IDictionary<string, string> envVars = CommunicationsUtilities.GetEnvironmentVariables(); 24IDictionary<string, string> referenceVars2 = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 49IDictionary<string, string> envVars = CommunicationsUtilities.GetEnvironmentVariables();
Construction\SolutionProjectGenerator_Tests.cs (6)
1602IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 1715IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 1733IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 1850IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 2773private ProjectInstance CreateVenusSolutionProject(IDictionary<string, string> globalProperties, bool useNewParser) 2792private ProjectInstance CreateVenusSolutionProject(IDictionary<string, string> globalProperties, string toolsVersion, bool useNewParser)
Definition\Toolset_Tests.cs (10)
263IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 315IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 335IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 343IDictionary<string, string> explicitGlobalProperties = new Dictionary<string, string>(); 363IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 406IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 451IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 459IDictionary<string, string> explicitGlobalProperties = new Dictionary<string, string>(); 505private Toolset GetFakeToolset(IDictionary<string, string> globalPropertiesForProjectCollection) 509IDictionary<string, string> properties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Evaluation\Evaluator_Tests.cs (28)
1952IDictionary<string, ProjectProperty> allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates = new Dictionary<string, ProjectProperty>(StringComparer.OrdinalIgnoreCase); 2114IDictionary<string, ProjectProperty> allEvaluatedPropertiesWithNoBackingXmlAndNoDuplicates = new Dictionary<string, ProjectProperty>(StringComparer.OrdinalIgnoreCase); 2999IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3029IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3059IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3089IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3129IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3171IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3204IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3238IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3271IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3300IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3382IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3439IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3500IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3560IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3632IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3705IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3770IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 3832IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 4175IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 4235IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 4287IDictionary<string, string> globalProperties = new Dictionary<string, string>(); 4722IDictionary<string, string> globalProperties = 4860IDictionary<string, PropertyInitialValueSetEventArgs> propertyInitialValueMap = logger 4980IDictionary<string, PropertyInitialValueSetEventArgs> propertyInitialValueMap = logger 5159private ProjectCollection GetProjectCollectionWithFakeToolset(IDictionary<string, string> globalProperties) 5163IDictionary<string, string> properties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (1)
974private ProjectCollection GetProjectCollection(IDictionary<string, string> globalProperties = null)
Evaluation\ToolsetConfigurationNet5_Tests.cs (2)
30IDictionary<string, string> toolsetProperties 57IDictionary<string, string> toolsetProperties
Instance\ProjectInstance_Internal_Tests.cs (5)
381IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 419IDictionary<string, string> globalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 422IDictionary<string, string> projectCollectionGlobalProperties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase); 958private static ProjectInstance GetProjectInstance(string content, HostServices hostServices, IDictionary<string, string> globalProperties, ProjectCollection projectCollection, string toolsVersion = null) 995private static ProjectInstance GetSampleProjectInstance(HostServices hostServices, IDictionary<string, string> globalProperties, ProjectCollection projectCollection, string toolsVersion = null)
Instance\ProjectTaskInstance_Internal_Tests.cs (1)
67IDictionary<string, (string, MockElementLocation)> parameters,
ProjectCache\ProjectCacheTests.cs (2)
69private readonly IDictionary<int, string>? _extraContentPerProjectNumber; 103public GraphCacheResponse(Dictionary<int, int[]?> graphEdges, Dictionary<int, CacheResult>? nonCacheMissResults = null, IDictionary<int, string>? extraContentPerProjectNumber = null)
TestComparers\ProjectInstanceModelTestComparers.cs (2)
341private void AssertParametersEqual(IDictionary<string, (string, ElementLocation)> x, IDictionary<string, (string, ElementLocation)> y)
TestData\ProjectInstanceTestObjects.cs (1)
109IDictionary<string, (string, ElementLocation)> parameters = null,
Microsoft.Build.Framework (80)
BinaryTranslator.cs (15)
592IDictionary<string, string> copy = dictionary; 648public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 669ref IDictionary<K, V> dictionary, 672NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator) 728where D : IDictionary<string, T>, new() 758where D : IDictionary<string, T> 1319IDictionary<string, string> copy = dictionary; 1320TranslateDictionary(ref copy, (NodePacketCollectionCreator<IDictionary<string, string>>)null); 1389public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 1409ref IDictionary<K, V> dictionary, 1412NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator) 1466where D : IDictionary<string, T>, new() 1495where D : IDictionary<string, T>
BuildCheck\EnumerableExtensions.cs (3)
70public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 83this IDictionary<TKey, TValue> dict, 110this IDictionary<TKey, TValue> dict,
BuildEngineResult.cs (4)
27private List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject; 32public BuildEngineResult(bool result, List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject) 38this.targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(); 56public IList<IDictionary<string, ITaskItem[]>> TargetOutputsPerProject
BuildException\BuildExceptionBase.cs (4)
48protected virtual void InitializeCustomState(IDictionary<string, string?>? customKeyedSerializedData) 55protected virtual IDictionary<string, string?>? FlushCustomState() 96IDictionary<string, string?>? customKeyedSerializedData = (exception as BuildExceptionBase)?.FlushCustomState(); 132IDictionary<string, string?>? customKeyedSerializedData = null;
BuildException\BuildExceptionRemoteState.cs (2)
19IDictionary<string, string?>? customKeyedSerializedData) 34public IDictionary<string, string?>? CustomKeyedSerializedData { get; init; }
BuildStartedEventArgs.cs (3)
21private IDictionary<string, string>? environmentOnBuildStart; 56IDictionary<string, string>? environmentOfBuild) 97public IDictionary<string, string>? BuildEnvironment
IBuildEngine5.cs (1)
20void LogTelemetry(string eventName, IDictionary<string, string> properties);
IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 357void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 360bool IDictionary<TKey, TValue>.Remove(TKey key)
ImmutableSegmentedDictionary`2+Builder.cs (2)
66ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 68ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
ITaskFactory.cs (1)
42bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
ITaskFactory2.cs (3)
38bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); 61ITask CreateTask(IBuildEngine taskFactoryLoggingHost, IDictionary<string, string> taskIdentityParameters);
ITranslator.cs (6)
335void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> collectionCreator); 339void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslator<V> valueTranslator, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator); 359where D : IDictionary<string, T>, new() 371where D : IDictionary<string, T>
LoggerException.cs (2)
115protected override IDictionary<string, string> FlushCustomState() 124protected override void InitializeCustomState(IDictionary<string, string> state)
Profiler\ProfilerResult.cs (1)
23public ProfilerResult(IDictionary<EvaluationLocation, ProfiledLocation> profiledLocations)
ProjectStartedEventArgs.cs (4)
102/// <param name="globalProperties">An <see cref="IDictionary{String, String}"/> containing global properties.</param> 113IDictionary<string, string>? globalProperties, 245private IDictionary<string, string>? globalProperties; 250public IDictionary<string, string>? GlobalProperties
Sdk\SdkResult.cs (4)
27private protected IDictionary<string, string> _propertiesToAdd; 28private protected IDictionary<string, SdkResultItem> _itemsToAdd; 62public virtual IDictionary<string, string> PropertiesToAdd { get => _propertiesToAdd; protected set => _propertiesToAdd = value; } 67public virtual IDictionary<string, SdkResultItem> ItemsToAdd { get => _itemsToAdd; protected set => _itemsToAdd = value; }
Sdk\SdkResultFactory.cs (4)
37IDictionary<string, string> propertiesToAdd, 38IDictionary<string, SdkResultItem> itemsToAdd, 61IDictionary<string, string> propertiesToAdd = null, 62IDictionary<string, SdkResultItem> itemsToAdd = null,
SegmentedDictionary`2.cs (4)
100public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 105public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 169ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 175ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
TaskItemData.cs (2)
22public IDictionary<string, string> Metadata { get; } 24public TaskItemData(string itemSpec, IDictionary<string, string> metadata)
TaskParameterEventArgs.cs (2)
126internal static Func<int, IDictionary<string, string>> DictionaryFactory = capacity => new Dictionary<string, string>(capacity); 164var metadata = DictionaryFactory(metadataCount);
Telemetry\BuildCheckTelemetry.cs (2)
22internal (string, IDictionary<string, string>) ProcessCustomCheckLoadingFailure(string assemblyName, 44internal IEnumerable<(string, IDictionary<string, string>)> ProcessBuildCheckTracingData(BuildCheckTracingData data)
Telemetry\BuildTelemetry.cs (1)
98public override IDictionary<string, string> GetProperties()
Telemetry\LoggingConfigurationTelemetry.cs (1)
101public override IDictionary<string, string> GetProperties()
Telemetry\TelemetryBase.cs (1)
18public abstract IDictionary<string, string> GetProperties();
TelemetryEventArgs.cs (1)
25public IDictionary<string, string?> Properties { get; set; } = new Dictionary<string, string?>();
Microsoft.Build.Tasks.CodeAnalysis (2)
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
26public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 37private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (1)
TargetTests.cs (1)
1016public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Microsoft.Build.Tasks.Core (36)
AssemblyDependency\GenerateBindingRedirects.cs (3)
64var redirects = ParseSuggestedRedirects(); 193private void UpdateExistingBindingRedirects(XElement runtimeNode, IDictionary<AssemblyName, string> redirects) 359private IDictionary<AssemblyName, string> ParseSuggestedRedirects()
AssignProjectConfiguration.cs (3)
160private IDictionary<string, string> _vcxToDefaultMap; 161private IDictionary<string, string> _defaultToVcxMap; 390private void PopulateMappingDictionary(IDictionary<string, string> map, string mappingList)
CodeTaskFactory.cs (1)
1031public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
CopyOnWriteDictionary.cs (5)
106public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 119public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
GetInstalledSDKLocations.cs (1)
141IDictionary<string, Tuple<string, string>> installedSDKs = null;
GetSDKReferenceFiles.cs (6)
1219private IDictionary<string, SdkReferenceInfo> _pathToReferenceMetadata; 1220private IDictionary<string, List<string>> _directoryToFileList; 1235public SDKInfo(IDictionary<string, SdkReferenceInfo> pathToReferenceMetadata, IDictionary<string, List<string>> directoryToFileList, int cacheHash) 1245public IDictionary<string, SdkReferenceInfo> PathToReferenceMetadata { get { return _pathToReferenceMetadata; } } 1247public IDictionary<string, List<string>> DirectoryToFileList { get { return _directoryToFileList; } }
MSBuild.cs (1)
612IList<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = result.TargetOutputsPerProject;
ReadOnlyEmptyDictionary.cs (7)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; } 127get { return (ICollection)((IDictionary<K, V>)this).Values; } 153return ((IDictionary<K, V>)this)[(K)key]; 158((IDictionary<K, V>)this)[(K)key] = (V)value; 275((IDictionary<K, V>)this).Add((K)key, (V)value); 283return ((IDictionary<K, V>)this).ContainsKey((K)key); 299((IDictionary<K, V>)this).Remove((K)key);
ResGenDependencies.cs (2)
32internal IDictionary<string, ResXFile> resXFiles = new Dictionary<string, ResXFile>(); 37internal IDictionary<string, PortableLibraryFile> portableLibraries = new Dictionary<string, PortableLibraryFile>();
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (3)
46internal static readonly IDictionary<string, IEnumerable<string>> DefaultReferences = new Dictionary<string, IEnumerable<string>>(StringComparer.OrdinalIgnoreCase) 71internal static readonly IDictionary<string, ISet<string>> ValidCodeLanguages = new Dictionary<string, ISet<string>>(StringComparer.OrdinalIgnoreCase) 146public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Telemetry.cs (1)
34IDictionary<string, string> properties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
TranslatorHelpers.cs (2)
96where D : IDictionary<string, T>, new() 107where D : IDictionary<string, T>
XamlTaskFactory\XamlTaskFactory.cs (1)
248public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Microsoft.Build.Tasks.UnitTests (6)
AssignLinkMetadata_Tests.cs (1)
184IDictionary<string, string> metadata = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
ResolveSDKReference_Tests.cs (5)
3816IDictionary<string, TargetResult> targetResults = new Dictionary<string, TargetResult>(); 3959IDictionary<string, TargetResult> targetResults = new Dictionary<string, TargetResult>(); 4068IDictionary<string, TargetResult> targetResults = new Dictionary<string, TargetResult>(); 4165IDictionary<string, TargetResult> targetResults = new Dictionary<string, TargetResult>(); 4334IDictionary<string, TargetResult> targetResults = new Dictionary<string, TargetResult>();
Microsoft.Build.UnitTests.Shared (20)
EngineTestEnvironment.cs (3)
136public MockLogger BuildProjectExpectFailure(IDictionary<string, string> globalProperties = null, string toolsVersion = null, bool validateLoggerRoundtrip = true) 142public MockLogger BuildProjectExpectSuccess(IDictionary<string, string> globalProperties = null, string toolsVersion = null, bool validateLoggerRoundtrip = true) 205IDictionary<string, string> globalProperties,
MockEngine.cs (4)
162public void LogTelemetry(string eventName, IDictionary<string, string> properties) 292List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = null; 300targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(); 316bool success = instance.Build(targetNames, loggers, out IDictionary<string, TargetResult> targetOutputs);
ObjectModelHelpers.cs (10)
952public static void BuildTempProjectFileWithTargetsExpectSuccess(string projectFileRelativePath, string[] targets, IDictionary<string, string> additionalProperties, MockLogger logger) 1010IDictionary<string, string> globalProperties, 1271public static void AssertDictionariesEqual<K, V>(IDictionary<K, V> x, IDictionary<K, V> y, Action<KeyValuePair<K, V>, KeyValuePair<K, V>> assertPairsEqual) 1290public static void AssertDictionariesEqual(IDictionary<string, string> x, IDictionary<string, string> y) 1300public static void ShouldBeSameIgnoringOrder<K, V>(this IDictionary<K, V> a, IReadOnlyDictionary<K, V> b) 1746IDictionary<int, int[]> dependencyEdges, 1747IDictionary<string, string> globalProperties = null, 1751IDictionary<int, string> extraContentPerProjectNumber = null,
ProjectFromString.cs (3)
26public ProjectFromString(string s, IDictionary<string, string> globalProperties, string toolsVersion) 31public ProjectFromString(string s, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection collection, ProjectLoadSettings loadSettings = ProjectLoadSettings.Default) 36public ProjectFromString(string s, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings)
Microsoft.Build.Utilities.Core (25)
CopyOnWriteDictionary.cs (5)
106public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 119public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
ReadOnlyEmptyDictionary.cs (7)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; } 127get { return (ICollection)((IDictionary<K, V>)this).Values; } 153return ((IDictionary<K, V>)this)[(K)key]; 158((IDictionary<K, V>)this)[(K)key] = (V)value; 275((IDictionary<K, V>)this).Add((K)key, (V)value); 283return ((IDictionary<K, V>)this).ContainsKey((K)key); 299((IDictionary<K, V>)this).Remove((K)key);
SDKManifest.cs (4)
78private IDictionary<string, string> _appxLocations; 83private IDictionary<string, string> _frameworkIdentities; 124public IDictionary<string, string> FrameworkIdentities => _frameworkIdentities != null ? new ReadOnlyDictionary<string, string>(_frameworkIdentities) : null; 129public IDictionary<string, string> AppxLocations => _appxLocations != null ? new ReadOnlyDictionary<string, string>(_appxLocations) : null;
TaskLoggingHelper.cs (1)
1453public void LogTelemetry(string eventName, IDictionary<string, string> properties)
ToolLocationHelper.cs (8)
372public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, Version targetPlatformVersion) 384public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 397public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 418public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, Version targetPlatformVersion) 430public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 443public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 617public static IDictionary<string, string> FilterPlatformExtensionSDKs(Version targetPlatformVersion, IDictionary<string, string> extensionSdks)
Microsoft.Build.Utilities.UnitTests (7)
TaskItem_Tests.cs (1)
308IDictionary<string, string> metadata = new Dictionary<string, string>();
ToolLocationHelper_Tests.cs (6)
2993IDictionary<string, string> sdks = ToolLocationHelper.GetPlatformExtensionSDKLocations(new[] { _fakeStructureRoot }, null, "FOO", new Version(1, 0)); 3030IDictionary<string, string> sdks = ToolLocationHelper.GetPlatformExtensionSDKLocations(new[] { _fakeStructureRoot }, null, "FOO", new Version(1, 0)); 3525IDictionary<string, string> extensionSDKs = ToolLocationHelper.GetPlatformExtensionSDKLocations(new[] { _fakeStructureRoot }, null, "MyPlatform", new Version(4, 0)); 3526IDictionary<string, string> filteredExtensionSDKs1 = ToolLocationHelper.FilterPlatformExtensionSDKs(new Version(8, 0), extensionSDKs); 3527IDictionary<string, string> filteredExtensionSDKs2 = ToolLocationHelper.FilterPlatformExtensionSDKs(new Version(9, 0), extensionSDKs); 3528IDictionary<string, string> filteredExtensionSDKs3 = ToolLocationHelper.FilterPlatformExtensionSDKs(new Version(10, 0), extensionSDKs);
Microsoft.Cci.Extensions (2)
Traversers\DependencyTraverser.cs (1)
30public IDictionary<IDefinition, HashSet<IReference>> Dependencies { get { return _dependencies; } }
Traversers\ResolveAllReferencesTraverser.cs (1)
25public IDictionary<IReference, HashSet<IReference>> MissingDependencies { get { return _missingDependencies; } }
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);
Compilation\Compilation.cs (1)
720internal abstract IDictionary<(string path, string content), MetadataReference> ReferenceDirectiveMap { get; }
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
300private static void AddOrUpdate(SuppressMessageInfo info, IDictionary<string, SuppressMessageInfo> builder)
InternalUtilities\CompilerOptionParseUtilities.cs (2)
26public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 37private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
InternalUtilities\SpecializedCollections.cs (1)
51public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
214out IDictionary<(string, string), MetadataReference> boundReferenceDirectiveMap, 792out IDictionary<(string, string), MetadataReference> boundReferenceDirectives, 797IDictionary<(string, string), MetadataReference>? localBoundReferenceDirectives = null;
ReferenceManager\CommonReferenceManager.State.cs (3)
107private IDictionary<(string, string), MetadataReference>? _lazyReferenceDirectiveMap; 241internal IDictionary<(string, string), MetadataReference> ReferenceDirectiveMap 411IDictionary<(string, string), MetadataReference> boundReferenceDirectiveMap,
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 348void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (2)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 45ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\SegmentedDictionary`2.cs (4)
116public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 121public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 238ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
Microsoft.CodeAnalysis.CodeStyle (39)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
210IDictionary<string, IEnumerable<int>> tagIndices,
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
26public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 37private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.cs (1)
51public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 348void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (2)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 45ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\SegmentedDictionary`2.cs (4)
116public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 121public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 238ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (2)
818IDictionary<TType1, TType2> mapping, 829IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
20private readonly IDictionary<TType1, TType2> _map; 24IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
179public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
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 (16)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
40private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 157var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 167private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 173private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
270private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 278private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 347IDictionary<string, ISymbol>? parameterToExistingFieldMap, 348IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
496IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
16public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\FileExtensionsMetadata.cs (1)
20public FileExtensionsMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
12internal sealed class WorkspaceServiceMetadata(IDictionary<string, object> data) : ILayeredServiceMetadata
Microsoft.CodeAnalysis.Collections.Package (15)
ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 348void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 351bool IDictionary<TKey, TValue>.Remove(TKey key)
ImmutableSegmentedDictionary`2+Builder.cs (2)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 45ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
Internal\IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
SegmentedDictionary`2.cs (4)
116public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 121public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 238ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
Microsoft.CodeAnalysis.CSharp (24)
Compilation\CSharpCompilation.cs (1)
1169internal override IDictionary<(string path, string content), MetadataReference> ReferenceDirectiveMap
Compilation\CSharpDiagnosticFilter.cs (2)
40IDictionary<string, ReportDiagnostic> specificDiagnosticOptions, 146IDictionary<string, ReportDiagnostic> specificDiagnosticOptions,
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,
SymbolDisplay\SymbolDisplayVisitor.cs (2)
23private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol>? _lazyAliasMap; 47IDictionary<INamespaceOrTypeSymbol, IAliasSymbol>? aliasMap,
SymbolDisplay\SymbolDisplayVisitor_Minimal.cs (3)
171private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> CreateAliasMap() 304private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> AliasMap 308var map = _lazyAliasMap;
Symbols\ReferenceManager.cs (1)
351IDictionary<(string, string), MetadataReference>? boundReferenceDirectiveMap;
Symbols\Source\SourceAssemblySymbol.cs (2)
74private IDictionary<string, NamedTypeSymbol> _lazyForwardedTypesFromSource; 2827IDictionary<string, NamedTypeSymbol> forwardedTypesFromSource;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
640IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
ExtractMethod\ExtractMethodBase.cs (1)
161var namedSpans = testDocument.AnnotatedSpans;
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
54MarkupTestFile.GetPositionAndSpans(expectedCode, out var massaged, out int? caretPosition, out var spans);
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
SourceGeneration\GeneratorDriverTests.cs (2)
4693Assert.Contains("a", (IDictionary<string, object>)result.HostOutputs); 4695Assert.Contains("b", (IDictionary<string, object>)result.HostOutputs);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (23)
Diagnostics\DiagnosticTest.cs (22)
575IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 619IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 679IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 730IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 786IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 842IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 900IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 958IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1017IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1087IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1158IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1223IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1276IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1330IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1380IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1487IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1554IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1604IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1660IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1707IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1744IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>(); 1777IDictionary<string, ReportDiagnostic> warnings = new Dictionary<string, ReportDiagnostic>();
LexicalAndXml\RawStringLiteralLexingTests.cs (1)
183MarkupTestFile.GetSpans(markup, out var input, out IDictionary<string, ImmutableArray<TextSpan>> spans);
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (2)
785IDictionary<Location, Location> reverseMappedLocations, 957IDictionary<Location, Location> reverseMappedLocations)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
640IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
Microsoft.CodeAnalysis.EditorFeatures (5)
ContentTypeLanguageMetadata.cs (1)
11internal sealed class ContentTypeLanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
Extensibility\Composition\ContentTypeMetadata.cs (1)
12internal class ContentTypeMetadata(IDictionary<string, object> data) : IContentTypeMetadata
Extensibility\Composition\OrderableContentTypeMetadata.cs (1)
10internal class OrderableContentTypeMetadata(IDictionary<string, object> data) : OrderableMetadata(data), IContentTypeMetadata
Options\EditorAnalyzerConfigOptions.cs (2)
15private readonly IDictionary<string, object> _configOptions; 19_configOptions = (editorOptions.GetOptionValue(DefaultOptions.RawCodingConventionsSnapshotOptionName) as IDictionary<string, object>) ??
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (12)
BracePairs\AbstractBracePairsTests.cs (2)
38var expected = workspace.Documents.Single().AnnotatedSpans; 49private static bool FindMatch(IDictionary<string, ImmutableArray<TextSpan>> expected, BracePairData bracePair)
RefactoringHelpers\RefactoringHelpersTestBase.cs (2)
73MarkupTestFile.GetSpans(text, out text, out IDictionary<string, ImmutableArray<TextSpan>> spans); 87MarkupTestFile.GetSpans(text, out text, out IDictionary<string, ImmutableArray<TextSpan>> spans);
SpellCheck\AbstractSpellCheckSpanTests.cs (2)
26var annotations = workspace.Projects.Single().Documents.Single().AnnotatedSpans; 40private static ImmutableArray<SpellCheckSpan> Flatten(IDictionary<string, ImmutableArray<TextSpan>> annotations)
Structure\AbstractSyntaxStructureProviderTests.cs (1)
85IDictionary<string, ImmutableArray<TextSpan>> spans)
TextStructureNavigation\AbstractTextStructureNavigationTests.cs (1)
37var annotatedSpans = document.AnnotatedSpans;
Workspaces\EditorTestHostDocument.cs (1)
53IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\EditorTestWorkspace.cs (3)
92IDictionary<string, ImmutableArray<TextSpan>> spans, 366out var inertText, out int? markupCaretLocation, out var markupSpans); 454IDictionary<string, ImmutableArray<TextSpan>> markupSpans,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
EditorConfigSettings\Data\CodeStyleSettingsTest.cs (1)
103private readonly IDictionary<string, string> _dictionary;
InheritanceMargin\InheritanceMarginTests.cs (1)
331var annotatedSpans = testHostDocument.AnnotatedSpans;
Snippets\RoslynLSPSnippetConvertTests.cs (2)
490MarkupTestFile.GetPositionAndSpans(markup, out var text, out var cursorPosition, out IDictionary<string, ImmutableArray<TextSpan>> placeholderDictionary); 501private static ImmutableArray<SnippetPlaceholder> GetSnippetPlaceholders(string text, IDictionary<string, ImmutableArray<TextSpan>> placeholderDictionary)
Microsoft.CodeAnalysis.Features (36)
Completion\CompletionProviderMetadata.cs (1)
11internal sealed class CompletionProviderMetadata(IDictionary<string, object> data) : OrderableLanguageMetadata(data)
Completion\Providers\ImportCompletionProvider\AbstractImportCompletionCacheServiceFactory.cs (2)
71public IDictionary<string, TMetadataCacheEntry> PEItemsCache { get; } = peCache; 73public IDictionary<ProjectId, TProjectCacheEntry> ProjectItemsCache { get; } = projectCache;
Completion\Providers\ImportCompletionProvider\AbstractTypeImportCompletionService.cs (1)
212IDictionary<TKey, TypeImportCompletionCacheEntry> cache,
Completion\Providers\ImportCompletionProvider\IImportCompletionCacheService.cs (2)
14IDictionary<string, TPortableExecutable> PEItemsCache { get; } 16IDictionary<ProjectId, TProject> ProjectItemsCache { get; }
Diagnostics\DiagnosticAnalyzerExtensions.cs (1)
64public static IEnumerable<AnalyzerPerformanceInfo> ToAnalyzerPerformanceInfo(this IDictionary<DiagnosticAnalyzer, AnalyzerTelemetryInfo> analysisResult, DiagnosticAnalyzerInfoCache analyzerInfo)
Diagnostics\DiagnosticProviderMetadata.cs (1)
13internal sealed class DiagnosticProviderMetadata(IDictionary<string, object> data) : ILanguageMetadata
EditAndContinue\AbstractEditAndContinueAnalyzer.cs (1)
6293IDictionary<SyntaxNode, RudeEditDiagnostic> runtimeRudeEditsBuilder,
EmbeddedLanguages\EmbeddedLanguageMetadata.cs (1)
28public EmbeddedLanguageMetadata(IDictionary<string, object> data)
ExternalAccess\UnitTesting\SolutionCrawler\UnitTestingIncrementalAnalyzerProviderMetadata.cs (1)
14public UnitTestingIncrementalAnalyzerProviderMetadata(IDictionary<string, object> data)
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,
LanguageServices\AnonymousTypeDisplayService\StructuralTypeDisplayInfo.cs (4)
11public IDictionary<INamedTypeSymbol, string> StructuralTypeToName { get; } 15IDictionary<INamedTypeSymbol, string> structuralTypeToName, 28IDictionary<INamedTypeSymbol, string> structuralTypeToName, 41IDictionary<INamedTypeSymbol, string> structuralTypeToName,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (2)
291public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> BuildDescriptionSectionsAsync(ImmutableArray<ISymbol> symbolGroup) 426private IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>> BuildDescriptionSections()
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.cs (1)
45public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> ToDescriptionGroupsAsync(
LanguageServices\SymbolDisplayService\ISymbolDisplayService.cs (1)
20Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> ToDescriptionGroupsAsync(SemanticModel semanticModel, int position, ImmutableArray<ISymbol> symbols, SymbolDescriptionOptions options, CancellationToken cancellationToken = default);
MetadataAsSource\MetadataAsSourceFileProviderMetadata.cs (1)
10internal sealed class MetadataAsSourceFileProviderMetadata(IDictionary<string, object> data) : OrderableLanguageMetadata(data)
QuickInfo\QuickInfoProviderMetadata.cs (1)
10internal sealed class QuickInfoProviderMetadata(IDictionary<string, object> data) : OrderableLanguageMetadata(data)
QuickInfo\QuickInfoUtilities.cs (1)
37var groups = await descriptionService.ToDescriptionGroupsAsync(semanticModel, span.Start, symbols, options, cancellationToken).ConfigureAwait(false);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (2)
235IDictionary<IPropertySymbol, IFieldSymbol?> propertyToBackingField, 343IDictionary<IPropertySymbol, IFieldSymbol?> definitionToBackingField,
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
210IDictionary<string, IEnumerable<int>> tagIndices,
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
40private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 157var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 167private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 173private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Features\UnifiedSuggestions\UnifiedSuggestedActionsSource.cs (4)
89IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 100IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 130IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map, 178IDictionary<CodeFixGroupKey, IList<IUnifiedSuggestedAction>> map,
LspServices\LspServiceMetadataView.cs (1)
28public LspServiceMetadataView(IDictionary<string, object> metadata)
Protocol\Notebook\NotebookDocumentChangeEvent.cs (1)
24public IDictionary<string, object?>? Metadata { get; init; }
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (3)
SpellCheck\SpellCheckTests.cs (3)
220{|Comment:// comment|}", out _, out IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans); 515{|Comment:// comment|}", out _, out IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans); 562private static int[] GetRanges(IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans)
Microsoft.CodeAnalysis.Test.Utilities (7)
MarkedSource\MarkupTestFile.cs (7)
53string input, bool treatPositionIndicatorsAsCode, out string output, out int? position, out IDictionary<string, ArrayBuilder<TextSpan>> spans) 180private static V GetOrAdd<K, V>(IDictionary<K, V> dictionary, K key, Func<K, V> function) 193IDictionary<string, ArrayBuilder<TextSpan>> spans, 215Parse(input, treatPositionIndicatorsAsCode, out output, out cursorPositionOpt, out var dictionary); 223string input, out string output, out int? cursorPositionOpt, out IDictionary<string, ImmutableArray<TextSpan>> spans, 226Parse(input, treatPositionIndicatorsAsCode, out output, out cursorPositionOpt, out var dictionary); 230public static void GetSpans(string input, out string output, out IDictionary<string, ImmutableArray<TextSpan>> spans,
Microsoft.CodeAnalysis.UnitTests (88)
Collections\ImmutableDictionaryBuilderTestBase.cs (18)
25var builder = this.GetBuilder<string, int>(); 44var builder = this.GetBuilder<string, int>(); 53var builder = this.GetBuilder<string, int>(); 61var builder = this.GetBuilder<string, int>(); 81var builder = this.GetBuilder(map); 89var builder = this.GetBuilder(map); 100var builder = this.GetBuilder(map); 110var builder = this.GetBuilder(map); 122var builder = this.GetBuilder<string, int>(); 130var builder = this.GetBuilder(map); 139var builder = this.GetBuilder(map); 148var builder = this.GetBuilder(map); 159var builder = this.GetBuilder(map); 177var builder = this.GetBuilder<string, int>(); 195var builder = this.GetBuilder<string, int>(); 237var builder = this.GetBuilder<string, int>(); 260protected abstract bool TryGetKeyHelper<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey equalKey, out TKey actualKey) 269protected abstract IDictionary<TKey, TValue> GetBuilder<TKey, TValue>(IImmutableDictionary<TKey, TValue>? basis = null)
Collections\ImmutableDictionaryBuilderTestBase.nonnetstandard.cs (1)
21var builder = Empty<int>(StringComparer.OrdinalIgnoreCase)
Collections\ImmutableDictionaryTestBase.cs (2)
156var dictionary = (IDictionary<string, int>)Empty<string, int>().Add("c", 3);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (5)
49IDictionary<int, int> map = this.Empty<int, int>().Add(5, 3).ToReadOnlyDictionary(); 56IDictionary<int, int> map = this.Empty<int, int>().ToReadOnlyDictionary(); 63IDictionary<int, int> map = this.Empty<int, int>().ToReadOnlyDictionary(); 216KeysOrValuesTestHelper(((IDictionary<TKey, TValue>)nonEmpty).Keys, key); 227KeysOrValuesTestHelper(((IDictionary<TKey, TValue?>)nonEmpty).Values, default(TValue));
Collections\ImmutableSegmentedDictionaryBuilderTest.cs (16)
37var builder = ImmutableSegmentedDictionary<int, string>.Empty.ToBuilder(); 58var builder = set.ToBuilder(); 82var mutable = ImmutableSegmentedDictionary<int, string>.Empty.ToBuilder(); 96var builder = ImmutableSegmentedDictionary<int, string?>.Empty 127var builder = collection.ToBuilder(); 139var builder = ImmutableSegmentedDictionary.Create<string, int>().ToBuilder(); 149var builder = 162var builder = ImmutableSegmentedDictionary.Create<string, int>().ToBuilder(); 173var builder = map.ToBuilder(); 181var builder = ImmutableSegmentedDictionary.Create<string, string>() 205var builder = ImmutableSegmentedDictionary.Create<string, string>() 225var builder = ImmutableSegmentedDictionary.Create<string, string>() 237var empty = ImmutableSegmentedDictionary.Create<string, int>().ToBuilder(); 238var populated = ImmutableSegmentedDictionary.Create<string, int>().Add("a", 5).ToBuilder(); 301protected override bool TryGetKeyHelper<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey equalKey, out TKey actualKey) 306protected override IDictionary<TKey, TValue> GetBuilder<TKey, TValue>(IImmutableDictionary<TKey, TValue>? basis)
Collections\ImmutableSegmentedHashSetBuilderTest.cs (22)
34var builder = ImmutableSegmentedHashSet<int>.Empty.ToBuilder(); 56var builder = set.ToBuilder(); 81var builder = ImmutableSegmentedHashSet<int>.Empty.Union(Enumerable.Range(1, 10)).ToBuilder(); 104var builder = collection.ToBuilder(); 116var builder = ImmutableSegmentedHashSet.Create(1).ToBuilder(); 124var builder = set.ToBuilder(); 132var builder = ImmutableSegmentedHashSet.Create("a", "B").ToBuilder(); 150var builder = ImmutableSegmentedHashSet.Create("a", "A").ToBuilder(); 164var builder = ImmutableSegmentedHashSet.Create<string>().ToBuilder(); 175var builder = ImmutableSegmentedHashSet.Create(1, 2, 3).ToBuilder(); 184var builder = ImmutableSegmentedHashSet.Create(1, 2, 3).ToBuilder(); 193var builder = ImmutableSegmentedHashSet.Create(1, 2, 3).ToBuilder(); 202var builder = ImmutableSegmentedHashSet.Create(1, 2, 3).ToBuilder(); 211var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 220var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 229var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 239var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 249var builder = ImmutableSegmentedHashSet.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 258var builder = ImmutableSegmentedHashSet.Create("a").ToBuilder(); 266var builder = ImmutableSegmentedHashSet.Create("a").ToBuilder(); 293var builder = ImmutableSegmentedHashSet<string?>.Empty.ToBuilder(); 346var builder = ImmutableSegmentedHashSet.Create(1, 2, 3).ToBuilder();
Collections\ImmutableSegmentedListBuilderTest.cs (19)
35var builder = ImmutableSegmentedList<int>.Empty.ToBuilder(); 57var builder = list.ToBuilder(); 82var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 96var builder = ImmutableSegmentedList<int>.Empty.AddRange(Enumerable.Range(1, 10)).ToBuilder(); 119var builder = collection.ToBuilder(); 131var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 144var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 161var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 175var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 207var mutable = ImmutableSegmentedList<int>.Empty.ToBuilder(); 229var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 237var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 256var mutable = ImmutableSegmentedList.CreateRange(Enumerable.Range(1, 3)).ToBuilder(); 433var builder = list.ToBuilder(); 446var builder = list.ToBuilder(); 520var builder = list.ToBuilder(); 527var builder = list.ToBuilder(); 534var builder = list.ToBuilder(); 541var builder = list.ToBuilder();
Collections\ImmutableSegmentedListTest.cs (1)
180var builderOfNonEmptyListDefaultComparer = nonEmptyListDefaultComparer.ToBuilder();
Collections\TestExtensionsMethods.nonnetstandard.cs (3)
21internal static IDictionary<TKey, TValue> ToReadOnlyDictionary<TKey, TValue>(this IImmutableDictionary<TKey, TValue> dictionary) 26return (IDictionary<TKey, TValue>)dictionary; 29internal static IDictionary<TKey, TValue> ToBuilder<TKey, TValue>(this IImmutableDictionary<TKey, TValue> dictionary)
Diagnostics\SuppressMessageTargetSymbolResolverTests.cs (1)
1339out var source, out var pos, out IDictionary<string, ImmutableArray<TextSpan>> spans);
Microsoft.CodeAnalysis.Workspaces (58)
Diagnostics\HostDiagnosticAnalyzers.cs (2)
220IDictionary<object, AnalyzerReference> analyzerReferencesMap, string? language = null) 239static IEnumerable<KeyValuePair<object, AnalyzerReference>> Shuffle(IDictionary<object, AnalyzerReference> source)
Remote\RemoteServiceCallbackDispatchers.cs (1)
21public ExportMetadata(IDictionary<string, object> data)
Rename\ConflictEngine\ConflictResolver.cs (2)
233IDictionary<Location, Location> reverseMappedLocations, 325private static void AddConflictingSymbolLocations(IEnumerable<ISymbol> conflictingSymbols, MutableConflictResolution conflictResolution, IDictionary<Location, Location> reverseMappedLocations)
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\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
26public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 37private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.cs (1)
51public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 348void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (2)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 45ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\SegmentedDictionary`2.cs (4)
116public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 121public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 238ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.cs (2)
818IDictionary<TType1, TType2> mapping, 829IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
20private readonly IDictionary<TType1, TType2> _map; 24IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
179public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
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\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
270private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 278private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 347IDictionary<string, ISymbol>? parameterToExistingFieldMap, 348IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
496IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
16public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\FileExtensionsMetadata.cs (1)
20public FileExtensionsMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
12internal sealed class WorkspaceServiceMetadata(IDictionary<string, object> data) : ILayeredServiceMetadata
Workspace\Host\EventListener\EventListenerMetadata.cs (1)
12internal sealed class EventListenerMetadata(IDictionary<string, object> data)
Microsoft.CodeAnalysis.Workspaces.MSBuild (2)
MSBuild\MSBuildWorkspace.cs (2)
61public static MSBuildWorkspace Create(IDictionary<string, string> properties) 81public static MSBuildWorkspace Create(IDictionary<string, string> properties, HostServices hostServices)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (20)
Build\ProjectBuildManager.cs (1)
167public void StartBatchBuild(IDictionary<string, string>? globalProperties = null)
MSBuild\ProjectFile\ProjectFile.cs (1)
301private IDictionary<string, MSB.Evaluation.ProjectItem>? _documents;
src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
26public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 37private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.cs (1)
51public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (5)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 98ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 120TValue IDictionary<TKey, TValue>.this[TKey key] 348void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 351bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (2)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 45ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 66readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
20private readonly IDictionary<K, V> _dict; 22public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\SegmentedDictionary`2.cs (4)
116public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 121public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 238ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Workspaces\TestHostDocument.cs (2)
68public IDictionary<string, ImmutableArray<TextSpan>> AnnotatedSpans { get; } = new Dictionary<string, ImmutableArray<TextSpan>>(); 94IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\TestWorkspace.cs (1)
51IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\TestWorkspace_XmlConsumption.cs (1)
191out var code, out var cursorPosition, out IDictionary<string, ImmutableArray<TextSpan>> spans);
Workspaces\TestWorkspace`1.cs (2)
187IDictionary<string, ImmutableArray<TextSpan>> spans, 719out var code, out var cursorPosition, out IDictionary<string, ImmutableArray<TextSpan>> spans);
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
CodeCleanup\CodeCleanupTests.cs (2)
371out var codeWithoutMarker, out IDictionary<string, ImmutableArray<TextSpan>> namedSpans); 383out var codeWithoutMarker, out IDictionary<string, ImmutableArray<TextSpan>> namedSpans);
Microsoft.CSharp (1)
Microsoft\CSharp\RuntimeBinder\Semantics\Types\AggregateType.cs (1)
172|| genType == typeof(IDictionary<,>)
Microsoft.Data.Analysis (2)
GroupBy.cs (2)
105private readonly IDictionary<TKey, ICollection<long>> _keyToRowIndicesMap; 108public GroupBy(DataFrame dataFrame, int groupByColumnIndex, IDictionary<TKey, ICollection<long>> keyToRowIndices)
Microsoft.Data.Analysis.Interactive (1)
TabularDataResourceExtensions.cs (1)
29if (row is IDictionary<string, object> dictionary)
Microsoft.Data.Analysis.Interactive.Tests (1)
DataFrameInteractiveTests.cs (1)
76var data = new List<IDictionary<string, object>>();
Microsoft.DotNet.AsmDiff (5)
MefHelpers.cs (5)
14public static ContainerConfiguration WithExport<T>(this ContainerConfiguration configuration, T exportedInstance, string contractName = null, IDictionary<string, object> metadata = null) 19public static ContainerConfiguration WithExport(this ContainerConfiguration configuration, object exportedInstance, Type contractType, string contractName = null, IDictionary<string, object> metadata = null) 30protected SinglePartExportDescriptorProvider(Type contractType, string contractName, IDictionary<string, object> metadata) 58protected IDictionary<string, object> Metadata { get; } 67public InstanceExportDescriptorProvider(object exportedInstance, Type contractType, string contractName, IDictionary<string, object> metadata)
Microsoft.DotNet.Build.Tasks.Feed (5)
src\BuildModelFactory.cs (3)
198var attributes = MSBuildListSplitter.GetNamedProperties(manifestBuildData); 238private bool ManifestBuildDataHasLocationInformation(IDictionary<string, string> attributes) 243private void NormalizeUrisInBuildData(IDictionary<string, string> attributes)
src\common\MSBuildListSplitter.cs (2)
11public static IDictionary<string, string> GetNamedProperties(string input) 21public static IDictionary<string, string> GetNamedProperties(string[] input)
Microsoft.DotNet.Build.Tasks.Packaging (3)
GenerateRuntimeDependencies.cs (1)
149private string GetTargetPackageId(ITaskItem dependency, IDictionary<string, string> packageAliases)
GetPackageFromModule.cs (1)
40IDictionary<string, string> modulesToPackages;
HarvestPackage.cs (1)
555private static bool ProbePath<T>(string path, IDictionary<string, T> pathsIncluded, ICollection<string> pathsNotIncluded, out T result)
Microsoft.DotNet.Build.Tasks.Templating (3)
GenerateFileFromTemplate.cs (2)
67IDictionary<string, string> values = MSBuildListSplitter.GetNamedProperties(Properties, Log); 77public string Replace(string template, IDictionary<string, string> values)
MSBuildListSplitter.cs (1)
12public static IDictionary<string, string> GetNamedProperties(string[] input, TaskLoggingHelper log)
Microsoft.DotNet.Helix.JobSender (3)
IJobDefinition.cs (1)
44IJobDefinition WithCorrelationPayloadUris(IDictionary<Uri, string> payloadUrisWithDestinations);
JobDefinition.cs (2)
48public IDictionary<IPayload, string> CorrelationPayloads { get; } = new Dictionary<IPayload, string>(); 69public IJobDefinition WithCorrelationPayloadUris(IDictionary<Uri, string> payloadUrisWithDestinations)
Microsoft.DotNet.Helix.Sdk (6)
GetHelixWorkItems.cs (6)
55IDictionary<string, string> CreateWorkItemMetadata(string name) 57var metadata = job.CloneCustomMetadata() as IDictionary<string, string>; 66ITaskItem2 CreateTaskItem(string workItemName, IDictionary<string, string> metadata) 82var metadata = CreateWorkItemMetadata(wi); 92var metadata = CreateWorkItemMetadata(wi);
Microsoft.DotNet.Open.Api.Tools.Tests (4)
OpenApiTestBase.cs (3)
90private static IDictionary<string, Tuple<string, ContentDispositionHeaderValue>> DownloadMock() 124private readonly IDictionary<string, Tuple<string, ContentDispositionHeaderValue>> _results; 126public TestHttpClientWrapper(IDictionary<string, Tuple<string, ContentDispositionHeaderValue>> results)
ProcessEx.cs (1)
57public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null)
Microsoft.DotNet.RemoteExecutor (1)
RemoteInvokeOptions.cs (1)
45public IDictionary<string, object> RuntimeConfigurationOptions { get; } = new Dictionary<string, object>();
Microsoft.DotNet.SwaggerGenerator.CodeGenerator (1)
Modeler\ServiceClientModelFactory.cs (1)
275IDictionary<string, IOpenApiExtension> extensions = schema.Extensions;
Microsoft.DotNet.VersionTools (8)
BuildInfo.cs (1)
209private static string FindLatestReleaseFromPackages(IDictionary<string, string> packages)
BuildManifest\Model\BlobArtifactModel.cs (1)
19public IDictionary<string, string> Attributes { get; set; } = new Dictionary<string, string>();
BuildManifest\Model\BuildIdentity.cs (1)
35public IDictionary<string, string> Attributes { get; set; } = new Dictionary<string, string>();
BuildManifest\Model\PackageArtifactModel.cs (1)
25public IDictionary<string, string> Attributes { get; set; } = new Dictionary<string, string>();
BuildManifest\Model\XElementParsingExtensions.cs (3)
30this IDictionary<string, string> attributes, 41public static IDictionary<string, string> ThrowIfMissingAttributes( 42this IDictionary<string, string> attributes,
Util\EnumerableExtensions.cs (1)
11this IDictionary<TKey, TValue> attributes,
Microsoft.DotNet.XliffTasks (1)
Tasks\TransformTemplates.cs (1)
53private ITaskItem TransformTemplate(ITaskItem template, string language, IDictionary<string, ITaskItem> resourceMap)
Microsoft.DotNet.XUnitAssert.Tests (7)
DictionaryAssertsTests.cs (4)
25 Assert.Equal(42, Assert.Contains("FORTY-two", (IDictionary<string, int>)dictionary)); 56 assertFailure(() => Assert.Contains("FORTY-two", (IDictionary<string, int>)dictionary)); 77 Assert.DoesNotContain("FORTY-two", (IDictionary<string, int>)dictionary); 108 assertFailure(() => Assert.DoesNotContain("FORTY-two", (IDictionary<string, int>)dictionary));
Sdk\ArgumentFormatterTests.cs (3)
212 { typeof(IDictionary<,>), "typeof(System.Collections.Generic.IDictionary<,>)" }, 213 { typeof(IDictionary<string, DateTime>), "typeof(System.Collections.Generic.IDictionary<string, DateTime>)" }, 214 { typeof(IDictionary<string[,], DateTime[,][]>), "typeof(System.Collections.Generic.IDictionary<string[,], DateTime[,][]>)" },
Microsoft.Extensions.AI (6)
ChatCompletion\OpenTelemetryChatClient.cs (1)
519JsonSerializer.SerializeToNode(fc.Arguments, _jsonSerializerOptions.GetTypeInfo(typeof(IDictionary<string, object?>))) :
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.Abstractions (14)
AdditionalPropertiesDictionary.cs (1)
21public AdditionalPropertiesDictionary(IDictionary<string, object?> dictionary)
AdditionalPropertiesDictionary{TValue}.cs (2)
37public AdditionalPropertiesDictionary(IDictionary<string, TValue> dictionary) 199bool IDictionary<string, TValue>.TryGetValue(string key, out TValue value) => _dictionary.TryGetValue(key, out value!);
Contents\FunctionCallContent.cs (4)
26public FunctionCallContent(string callId, string name, IDictionary<string, object?>? arguments = null) 46public IDictionary<string, object?>? Arguments { get; set; } 72Func<TEncoding, IDictionary<string, object?>?> argumentParser) 79IDictionary<string, object?>? arguments = null;
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Utilities\AIJsonUtilities.Defaults.cs (2)
62[JsonSerializable(typeof(IDictionary<int, int>))] 63[JsonSerializable(typeof(IDictionary<string, object?>))]
Microsoft.Extensions.AI.Abstractions.Tests (2)
AssertExtensions.cs (2)
18IDictionary<string, object?>? expected, 19IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.AzureAIInference (8)
AzureAIInferenceChatClient.cs (3)
464JsonSerializer.Serialize(callRequest.Arguments, ToolCallJsonSerializerOptions.GetTypeInfo(typeof(IDictionary<string, object>)))))); 507(JsonTypeInfo<IDictionary<string, object>>)AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object>)))!);
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
18IDictionary<string, object?>? expected, 19IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.Integration.Tests (3)
PromptBasedFunctionCallingChatClient.cs (3)
132private static void ParseArguments(IDictionary<string, object?> arguments) 199public IDictionary<string, ToolParameterDescriptor>? Arguments { get; set; } 214public IDictionary<string, object?>? Arguments { get; set; }
Microsoft.Extensions.AI.Ollama (7)
OllamaChatClient.cs (1)
439Arguments = JsonSerializer.SerializeToElement(fcc.Arguments, ToolCallJsonSerializerOptions.GetTypeInfo(typeof(IDictionary<string, object?>))),
OllamaFunctionToolCall.cs (1)
11public IDictionary<string, object?>? Arguments { get; set; }
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.Ollama.Tests (3)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
18IDictionary<string, object?>? expected, 19IDictionary<string, object?>? actual,
TestJsonSerializerContext.cs (1)
11[JsonSerializable(typeof(IDictionary<string, object?>))]
Microsoft.Extensions.AI.OpenAI (15)
OpenAIJsonContext.cs (1)
17[JsonSerializable(typeof(IDictionary<string, object?>))]
OpenAIModelMapper.ChatCompletion.cs (4)
48options.GetTypeInfo(typeof(IDictionary<string, object?>)))))); 197if (options.Metadata is IDictionary<string, string> { Count: > 0 } metadata) 277if (additionalProperties.TryGetValue(nameof(result.LogitBiases), out IDictionary<int, int>? logitBiases)) 295if (additionalProperties.TryGetValue(nameof(result.Metadata), out IDictionary<string, string>? metadata))
OpenAIModelMapper.ChatMessage.cs (1)
172options.GetTypeInfo(typeof(IDictionary<string, object?>))))));
OpenAIModelMappers.StreamingChatCompletion.cs (1)
40functionArgumentsUpdate: new(JsonSerializer.SerializeToUtf8Bytes(functionCallContent.Arguments, options.GetTypeInfo(typeof(IDictionary<string, object?>))))));
OpenAIRealtimeExtensions.cs (3)
122(JsonTypeInfo<IDictionary<string, object>>)jsonOptions.GetTypeInfo(typeof(IDictionary<string, object>)))!); 153public IDictionary<string, JsonElement>? Properties { get; set; }
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.OpenAI.Tests (6)
OpenAISerializationTests.cs (4)
176Assert.Single((IDictionary<int, int>)request.Options.AdditionalProperties["LogitBiases"]!); 179Assert.Single((IDictionary<string, string>)request.Options.AdditionalProperties["Metadata"]!); 743[JsonSerializable(typeof(IDictionary<string, object>))] 747[JsonSerializable(typeof(IDictionary<string, object>))]
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
18IDictionary<string, object?>? expected, 19IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
18IDictionary<string, object?>? expected, 19IDictionary<string, object?>? actual,
Microsoft.Extensions.ApiDescription.Client.Tests (23)
GetCurrentOpenApiReferenceTest.cs (2)
45var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata());
GetOpenApiReferenceMetadataTest.cs (18)
54var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 112var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 170var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 228var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 378var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 441var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 541var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 553var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 565var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata());
MetadataSerializerTest.cs (2)
127var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(item.CloneCustomMetadata());
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Microsoft.Extensions.Caching.Hybrid.Tests (1)
TestEventListener.cs (1)
71if (payload is IDictionary<string, object> map)
Microsoft.Extensions.Configuration (6)
ConfigurationBuilder.cs (1)
25public IDictionary<string, object> Properties { get; } = new Dictionary<string, object>();
ConfigurationManager.cs (4)
73IDictionary<string, object> IConfigurationBuilder.Properties => _properties; 299((IDictionary<string, object>)_properties).Add(item); 321((IDictionary<string, object>)_properties).CopyTo(array, arrayIndex); 338var wasRemoved = ((IDictionary<string, object>)_properties).Remove(item);
ConfigurationProvider.cs (1)
30protected IDictionary<string, string?> Data { get; set; }
Microsoft.Extensions.Configuration.Abstractions (1)
IConfigurationBuilder.cs (1)
17IDictionary<string, object> Properties { get; }
Microsoft.Extensions.Configuration.Binder (3)
ConfigurationBinder.cs (3)
447Type? dictionaryInterface = FindOpenGenericInterface(typeof(IDictionary<,>), type); 700(dictionaryType.GetGenericTypeDefinition() == typeof(IDictionary<,>) || dictionaryType.GetGenericTypeDefinition() == typeof(Dictionary<,>))); 1001return genericTypeDefinition == typeof(IDictionary<,>)
Microsoft.Extensions.Configuration.CommandLine (4)
CommandLineConfigurationExtensions.cs (1)
155IDictionary<string, string>? switchMappings)
CommandLineConfigurationProvider.cs (2)
21public CommandLineConfigurationProvider(IEnumerable<string> args, IDictionary<string, string>? switchMappings = null) 135private static Dictionary<string, string> GetValidatedSwitchMappingsCopy(IDictionary<string, string> switchMappings)
CommandLineConfigurationSource.cs (1)
17public IDictionary<string, string>? SwitchMappings { get; set; }
Microsoft.Extensions.Configuration.Ini (2)
IniStreamConfigurationProvider.cs (2)
25/// <returns>The <see cref="IDictionary{String, String}"/> which was read from the stream.</returns> 26public static IDictionary<string, string?> Read(Stream stream)
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationFileParser.cs (1)
19public static IDictionary<string, string?> Parse(Stream input)
Microsoft.Extensions.Configuration.Xml (3)
XmlConfigurationElement.cs (1)
23public IDictionary<string, List<XmlConfigurationElement>>? ChildrenBySiblingName { get; set; }
XmlStreamConfigurationProvider.cs (2)
38/// <returns>The <see cref="IDictionary{String, String}"/> that was read from the stream.</returns> 39public static IDictionary<string, string?> Read(Stream stream, XmlDocumentDecryptor decryptor)
Microsoft.Extensions.DependencyInjection (6)
ServiceLookup\Expressions\ExpressionResolverBuilder.cs (1)
19private static readonly ParameterExpression ResolvedServices = Expression.Variable(typeof(IDictionary<ServiceCacheKey, object>), ScopeParameter.Name + "resolvedServices");
ServiceLookup\ILEmit\ILEmitResolverBuilder.cs (1)
329LocalBuilder resolvedServicesLocal = context.Generator.DeclareLocal(typeof(IDictionary<ServiceCacheKey, object>));
ServiceLookup\ServiceLookupHelpers.cs (4)
23internal static readonly MethodInfo TryGetValueMethodInfo = typeof(IDictionary<ServiceCacheKey, object>) 24.GetMethod(nameof(IDictionary<ServiceCacheKey, object>.TryGetValue), LookupFlags)!; 29internal static readonly MethodInfo AddMethodInfo = typeof(IDictionary<ServiceCacheKey, object>) 30.GetMethod(nameof(IDictionary<ServiceCacheKey, object>.Add), LookupFlags)!;
Microsoft.Extensions.Features (1)
FeatureCollection.cs (1)
23private IDictionary<Type, object>? _features;
Microsoft.Extensions.Hosting (3)
HostApplicationBuilder.cs (2)
188IDictionary<object, object> IHostApplicationBuilder.Properties => _hostBuilderContext.Properties; 340public IDictionary<object, object> Properties => _hostApplicationBuilder._hostBuilderContext.Properties;
HostBuilder.cs (1)
54public IDictionary<object, object> Properties { get; } = new Dictionary<object, object>();
Microsoft.Extensions.Hosting.Abstractions (5)
HostBuilderContext.cs (3)
18/// <param name="properties">A non-null <see cref="IDictionary{TKey, TValue}"/> for sharing state between components during the host building process.</param> 19public HostBuilderContext(IDictionary<object, object> properties) 39public IDictionary<object, object> Properties { get; }
IHostApplicationBuilder.cs (1)
21IDictionary<object, object> Properties { get; }
IHostBuilder.cs (1)
19IDictionary<object, object> Properties { get; }
Microsoft.Extensions.Hosting.Testing (1)
FakeHostBuilder.cs (1)
93public IDictionary<object, object> Properties => _builder.Properties;
Microsoft.Extensions.Hosting.Testing.Tests (1)
FakeHostBuilderTests.cs (1)
88IDictionary<object, object> properties = new Dictionary<object, object>();
Microsoft.Extensions.Http.Diagnostics (8)
Logging\LoggingOptions.cs (3)
103public IDictionary<string, DataClassification> RequestHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(); 118public IDictionary<string, DataClassification> ResponseHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(); 147public IDictionary<string, DataClassification> RouteParameterDataClasses { get; set; } = new Dictionary<string, DataClassification>();
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Logging\Internal\LogRecordExtensions.cs (3)
27public static void Contains(this IDictionary<string, string?> logRecordState, string key, string expectedValue) 33public static void Contains(this IDictionary<string, string?> logRecordState, string key, Action<string?> assertion) 39public static void NotContains(this IDictionary<string, string?> logRecord, string key)
Microsoft.Extensions.Http.Resilience.Tests (4)
Helpers\OptionsUtilities.cs (3)
31var propertiesValuesByName1 = options1.GetPropertiesValuesByName(); 32var propertiesValuesByName2 = options2.GetPropertiesValuesByName(); 49private static IDictionary<string, object> GetPropertiesValuesByName<T>(this T options)
Routing\RoutingStrategyTest.cs (1)
166protected static IConfigurationSection GetSection(IDictionary<string, string> values)
Microsoft.Extensions.Logging.Console (1)
ConsoleLoggerSettings.cs (1)
32public IDictionary<string, LogLevel> Switches { get; set; } = new Dictionary<string, LogLevel>();
Microsoft.Extensions.SecretManager.Tools.Tests (1)
SetCommandTest.cs (1)
94protected override IDictionary<string, string> Load(string userSecretsId)
Microsoft.Gen.ComplianceReports.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.ContextualOptions.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesSimpleExtensions.cs (1)
22public IDictionary<string, int>? P7 { get; set; }
Microsoft.Gen.Logging.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.MetadataExtractor.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.Metrics.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Gen.MetricsReports.Unit.Tests (5)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Interop.SourceGeneration (6)
ValueEqualityImmutableDictionary.cs (6)
46public U this[T key] { get => ((IDictionary<T, U>)Map)[key]; set => ((IDictionary<T, U>)Map)[key] = value; } 47public ICollection<T> Keys => ((IDictionary<T, U>)Map).Keys; 48public ICollection<U> Values => ((IDictionary<T, U>)Map).Values; 55public bool Remove(T key) => ((IDictionary<T, U>)Map).Remove(key); 59public void Add(T key, U value) => ((IDictionary<T, U>)Map).Add(key, value);
Microsoft.Maui (1)
Extensions\EnumerableExtensions.cs (1)
36 public static IDictionary<TKey, List<TSource>> GroupToDictionary<TSource, TKey>(this IEnumerable<TSource> enumeration, Func<TSource, TKey> func)
Microsoft.Maui.Controls (12)
AppLinkEntry.cs (1)
55 public IDictionary<string, string> KeyValues
DataTemplate.cs (2)
41 public IDictionary<BindableProperty, BindingBase> Bindings { get; } = new Dictionary<BindableProperty, BindingBase>(); 44 public IDictionary<BindableProperty, object> Values { get; } = new Dictionary<BindableProperty, object>();
IAppLinkEntry.cs (1)
15 IDictionary<string, string> KeyValues { get; }
Shell\BaseShellItem.cs (1)
574 void ApplyQueryAttributes(IDictionary<string, object> query);
Shell\Shell.cs (2)
1019 public Task GoToAsync(ShellNavigationState state, IDictionary<string, object> parameters) 1027 public Task GoToAsync(ShellNavigationState state, bool animate, IDictionary<string, object> parameters)
Shell\ShellNavigationQueryParameters.cs (1)
23 public ShellNavigationQueryParameters(IDictionary<string, object> dictionary)
Shell\ShellRouteParameters.cs (2)
24 internal IDictionary<string, object> ToReadOnlyIfUsingShellNavigationQueryParameters() 59 internal ShellRouteParameters(IDictionary<string, object> shellRouteParams) : base(shellRouteParams)
StyleSheets\Style.cs (1)
17 public IDictionary<string, string> Declarations { get; set; } = new Dictionary<string, string>(StringComparer.Ordinal);
StyleSheets\StyleSheet.cs (1)
21 internal IDictionary<Selector, Style> Styles { get; set; } = new Dictionary<Selector, Style>();
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)
IDictionaryExtensions.cs (1)
7 public static void AddRange<TKey, TValue>(this IDictionary<TKey, TValue> dictionary,
XamlServiceProvider.cs (1)
284 public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) => throw new NotImplementedException();
Microsoft.Maui.Essentials (8)
FilePicker\FilePicker.shared.cs (3)
134 readonly IDictionary<DevicePlatform, IEnumerable<string>> fileTypes; 146 /// A <see cref="IDictionary{TKey, TValue}"/> where the key is the platform 151 public FilePickerFileType(IDictionary<DevicePlatform, IEnumerable<string>> fileTypes) =>
Types\Shared\WebUtils.shared.cs (1)
9 internal static IDictionary<string, string> ParseQueryString(Uri uri)
WebAuthenticator\WebAuthenticator.shared.cs (2)
61 /// <returns>A <see cref="IDictionary{TKey, TValue}"/> object where each of the query parameters values of <paramref name="uri"/> are accessible through their respective keys.</returns> 62 IDictionary<string, string>? DecodeResponse(Uri uri);
WebAuthenticator\WebAuthenticatorResult.shared.cs (2)
42 var properties = responseDecoder?.DecodeResponse(uri) ?? WebUtils.ParseQueryString(uri); 53 public WebAuthenticatorResult(IDictionary<string, string> properties)
Microsoft.Maui.Graphics (1)
Text\TextAttributes.cs (1)
11 public TextAttributes(IDictionary<TextAttribute, string> dictionary) : base(dictionary)
Microsoft.Maui.Resizetizer (1)
TizenResourceXmlGenerator.cs (1)
10 static readonly IDictionary<string, string> resolutionMap = new Dictionary<string, string>(StringComparer.Ordinal)
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)
ColumnInference\ColumnInformationUtil.cs (1)
145public static IDictionary<ColumnPurpose, int> CountColumnsByPurpose(ColumnInformation columnInformation)
EstimatorExtensions\EstimatorExtensionCatalog.cs (1)
30private static readonly IDictionary<EstimatorName, Type> _namesToExtensionTypes = new
TrainerExtensions\TrainerExtensionCatalog.cs (2)
13private static readonly IDictionary<TrainerName, Type> _trainerNamesToExtensionTypes = 49private static readonly IDictionary<Type, TrainerName> _extensionTypesToTrainerNames =
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)
Template\EstimatorType.cs (2)
75private global::System.Collections.Generic.IDictionary<string, object> sessionField; 137public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Template\SearchSpace.cs (2)
92private global::System.Collections.Generic.IDictionary<string, object> sessionField; 154public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Template\SweepableEstimator.cs (2)
94private global::System.Collections.Generic.IDictionary<string, object> sessionField; 156public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Template\SweepableEstimator_T_.cs (2)
99private global::System.Collections.Generic.IDictionary<string, object> sessionField; 161public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Template\SweepableEstimatorFactory.cs (2)
70private global::System.Collections.Generic.IDictionary<string, object> sessionField; 132public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Microsoft.ML.CodeGenerator (47)
CodeGenerator\CSharp\AzureCodeGenerator\AzureAttachConsoleAppCodeGenerator.cs (1)
84var sampleResult = Utils.GenerateSampleData(_settings.TrainDataset, _columnInferenceResult);
CodeGenerator\CSharp\CodeGenerator.cs (3)
264/// Utilize <see cref="ML.CodeGenerator.Utilities.Utils.GenerateClassLabels(ColumnInferenceResults, IDictionary{string, CodeGeneratorSettings.ColumnMapping})"/> 266internal IList<string> GenerateClassLabels(IDictionary<string, CodeGeneratorSettings.ColumnMapping> columnMapping = default) 347var sampleData = Utils.GenerateSampleData(_settings.TrainDataset, _columnInferenceResult);
CodeGenerator\CSharp\CodeGeneratorSettings.cs (1)
65public IDictionary<string, ColumnMapping> OnnxInputMapping { get; set; }
CodeGenerator\CSharp\TrainerGeneratorBase.cs (3)
27internal abstract IDictionary<string, string> NamedParameters { get; } 124internal static string BuildComplexParameter(string paramName, IDictionary<string, object> arguments, string seperator) 135internal static string AppendArguments(IDictionary<string, object> arguments, string seperator)
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
CodeGenerator\CSharp\TransformGeneratorBase.cs (1)
25protected IDictionary<string, object> Properties;
Templates\Azure\Console\AzureModelBuilder.cs (2)
169private global::System.Collections.Generic.IDictionary<string, object> sessionField; 231public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Azure\Model\AzureImageModelOutputClass.cs (2)
110private global::System.Collections.Generic.IDictionary<string, object> sessionField; 172public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Azure\Model\AzureObjectDetectionModelOutputClass.cs (2)
110private global::System.Collections.Generic.IDictionary<string, object> sessionField; 172public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\ConsumeModel.cs (2)
121private global::System.Collections.Generic.IDictionary<string, object> sessionField; 183public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\ModelBuilder.cs (2)
486private global::System.Collections.Generic.IDictionary<string, object> sessionField; 548public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\ModelInputClass.cs (2)
84private global::System.Collections.Generic.IDictionary<string, object> sessionField; 146public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\ModelOutputClass.cs (2)
127private global::System.Collections.Generic.IDictionary<string, object> sessionField; 189public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\ModelProject.cs (2)
116private global::System.Collections.Generic.IDictionary<string, object> sessionField; 178public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\PredictProgram.cs (3)
106public IDictionary<string, string> SampleData {get;set;} 143private global::System.Collections.Generic.IDictionary<string, object> sessionField; 205public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Templates\Console\PredictProject.cs (2)
121private global::System.Collections.Generic.IDictionary<string, object> sessionField; 183public virtual global::System.Collections.Generic.IDictionary<string, object> Session
Utils.cs (3)
37internal static IDictionary<string, string> GenerateSampleData(string inputFile, ColumnInferenceResults columnInference) 52internal static IDictionary<string, string> GenerateSampleData(IDataView dataView, ColumnInferenceResults columnInference) 261internal static IList<string> GenerateClassLabels(ColumnInferenceResults columnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping> columnMapping = default)
Microsoft.ML.CodeGenerator.Tests (6)
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)
Environment\TelemetryMessage.cs (2)
79public readonly IDictionary<string, string> Properties; 80public TelemetryMetric(string name, double value, IDictionary<string, string> properties = null)
Utilities\Tree.cs (1)
218IDictionary<TKey, Tree<TKey, TValue>> d = _children;
Microsoft.ML.NugetPackageVersionUpdater (3)
Program.cs (3)
21var packageVersions = GetLatestPackageVersions(); 25private static IDictionary<string, string> GetLatestPackageVersions() 51private static void UpdatePackageVersion(string projectFiles, IDictionary<string, string> latestPackageVersions)
Microsoft.ML.OnnxTransformer (29)
OnnxCatalog.cs (8)
100IDictionary<string, int[]> shapeDictionary, 136IDictionary<string, int[]> shapeDictionary, 254IDictionary<string, int[]> shapeDictionary, 292IDictionary<string, int[]> shapeDictionary, 373IDictionary<string, int[]> shapeDictionary, 403IDictionary<string, int[]> shapeDictionary, 434IDictionary<string, int[]> shapeDictionary, 466IDictionary<string, int[]> shapeDictionary,
OnnxMapType.cs (3)
15/// Its underlying type is <see cref="IDictionary{TKey, TValue}"/>, where the generic type "TKey" and "TValue" are the input arguments of 25public OnnxMapType(Type keyType, Type valueType) : base(typeof(IDictionary<,>).MakeGenericType(keyType, valueType)) 96var enumerableType = typeof(IDictionary<,>);
OnnxOptions.cs (1)
42public IDictionary<string, int[]> ShapeDictionary;
OnnxTransform.cs (8)
313bool fallbackToCpu = false, IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100) 339bool fallbackToCpu = false, IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100) 368IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100, 400IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100, 975IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100) 993IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100) 1013int? gpuDeviceId = null, bool fallbackToCpu = false, IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100, 1039int? gpuDeviceId = null, bool fallbackToCpu = false, IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100,
OnnxTypeParser.cs (2)
102var dictionaryType = typeof(IDictionary<,>); 367resultedType = typeof(IDictionary<,>).MakeGenericType(keyType, valueType);
OnnxUtils.cs (7)
173bool ownModelFile = false, IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100, 297IDictionary<string, int[]> shapeDictionary, 379/// With <see cref="CreateFromBytes(byte[], IHostEnvironment)"/> and <see cref="CreateFromBytes(byte[], IHostEnvironment, int?, bool, IDictionary{string, int[]}, int)"/>, 393/// <see cref="CreateFromBytes(byte[], IHostEnvironment, int?, bool, IDictionary{string, int[]}, int)"/>, 406IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100) 418/// <see cref="CreateFromBytes(byte[], IHostEnvironment, int?, bool, IDictionary{string, int[]}, int)"/>, 431IDictionary<string, int[]> shapeDictionary = null, int recursionLimit = 100)
Microsoft.ML.OnnxTransformerTest (15)
OnnxTransformTests.cs (15)
670[OnnxSequenceType(typeof(IDictionary<string, float>))] 671public IEnumerable<IDictionary<string, float>> output { get; set; } 676[OnnxSequenceType(typeof(IDictionary<long, float>))] 677public IEnumerable<IDictionary<long, float>> output { get; set; } 702IEnumerable<IDictionary<long, float>> buffer = null; 703var getMapSequence = curs.GetGetter<IEnumerable<IDictionary<long, float>>>(outputColumn); 709var dictionary = buffer.First(); 724var dictionary = transformedDataPoints[i].output.First(); 755IEnumerable<IDictionary<string, float>> buffer = null; 756var getMapSequence = curs.GetGetter<IEnumerable<IDictionary<string, float>>>(outputColumn); 762var dictionary = buffer.First(); 777var dictionary = transformedDataPoints[i].output.First(); 827public IDictionary<int, float> Input { get; set; } 833public IDictionary<int, float> Output { get; set; } 958private void TryModelWithCustomShapesHelper(IDictionary<string, int[]> shapeDictionary)
Microsoft.ML.SearchSpace (29)
Converter\SearchSpaceConverter.cs (1)
25JsonSerializer.Serialize<IDictionary<string, OptionBase>>(value, options);
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)
OnnxSequenceTypeWithAttributesTest.cs (3)
28[OnnxSequenceType(typeof(IDictionary<string, float>))] 29public IEnumerable<IDictionary<string, float>> Output; 64var onnxOut = output.Output.FirstOrDefault();
Microsoft.Net.Http.Headers (1)
src\Http\Shared\CookieHeaderParserShared.cs (1)
18public static bool TryParseValues(StringValues values, IDictionary<string, string> store, bool supportsMultipleValues)
Microsoft.VisualStudio.LanguageServices (2)
FindReferences\NameMetadata.cs (1)
14public NameMetadata(IDictionary<string, object> data)
Options\ExportVisualStudioStorageReadFallbackAttribute.cs (1)
35public OptionNameMetadata(IDictionary<string, object> data)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
ProjectSystemShim\CSharpProjectShim.OptionsProcessor.cs (1)
55IDictionary<string, ReportDiagnostic>? ruleSetSpecificDiagnosticOptions;
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Features\Formatting\XamlFormattingOptions.cs (1)
15public IDictionary<string, object> OtherOptions { get; set; }
MSBuild (37)
CommunicationsUtilities.cs (2)
415internal static void SetEnvironment(IDictionary<string, string> newEnvironment) 607internal static HandshakeOptions GetHandshakeOptions(bool taskHost, string architectureFlagToSet = null, bool nodeReuse = false, bool lowPriority = false, IDictionary<string, string> taskHostParameters = null)
CopyOnWriteDictionary.cs (5)
106public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 119public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
OutOfProcTaskAppDomainWrapperBase.cs (3)
102IDictionary<string, TaskParameter> taskParams) 276IDictionary<string, TaskParameter> taskParams) 360IDictionary<string, Object> finalParameterValues = new Dictionary<string, Object>(StringComparer.OrdinalIgnoreCase);
OutOfProcTaskHostNode.cs (11)
66private static IDictionary<string, KeyValuePair<string, string>> s_mismatchedEnvironmentValues; 96private IDictionary<string, string> _savedEnvironment; 477public void LogTelemetry(string eventName, IDictionary<string, string> properties) 893IDictionary<string, TaskParameter> taskParams = taskConfiguration.TaskParameters; 955IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1014private void SetTaskHostEnvironment(IDictionary<string, string> environment) 1017IDictionary<string, string> updatedEnvironment = null; 1077private IDictionary<string, string> UpdateEnvironmentForMainNode(IDictionary<string, string> environment) 1080IDictionary<string, string> updatedEnvironment = null; 1130private void InitializeMismatchedEnvironmentTable(IDictionary<string, string> environment)
OutOfProcTaskHostTaskResult.cs (3)
30internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams) 57internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams, Exception taskException, string exceptionMessage, string[] exceptionMessageArgs) 101public IDictionary<string, Object> FinalParameterValues
ReadOnlyEmptyDictionary.cs (7)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; } 127get { return (ICollection)((IDictionary<K, V>)this).Values; } 153return ((IDictionary<K, V>)this)[(K)key]; 158((IDictionary<K, V>)this)[(K)key] = (V)value; 275((IDictionary<K, V>)this).Add((K)key, (V)value); 283return ((IDictionary<K, V>)this).ContainsKey((K)key); 299((IDictionary<K, V>)this).Remove((K)key);
TaskHostConfiguration.cs (2)
147IDictionary<string, string> buildProcessEnvironment, 160IDictionary<string, object> taskParameters,
TaskHostTaskComplete.cs (1)
106IDictionary<string, string> buildProcessEnvironment)
TaskParameter.cs (1)
924IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
TranslatorHelpers.cs (2)
96where D : IDictionary<string, T>, new() 107where D : IDictionary<string, T>
MSBuildTaskHost (73)
BinaryTranslator.cs (15)
592IDictionary<string, string> copy = dictionary; 648public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 669ref IDictionary<K, V> dictionary, 672NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator) 728where D : IDictionary<string, T>, new() 758where D : IDictionary<string, T> 1319IDictionary<string, string> copy = dictionary; 1320TranslateDictionary(ref copy, (NodePacketCollectionCreator<IDictionary<string, string>>)null); 1389public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 1409ref IDictionary<K, V> dictionary, 1412NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator) 1466where D : IDictionary<string, T>, new() 1495where D : IDictionary<string, T>
BuildEngineResult.cs (4)
27private List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject; 32public BuildEngineResult(bool result, List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject) 38this.targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(); 56public IList<IDictionary<string, ITaskItem[]>> TargetOutputsPerProject
BuildExceptionBase.cs (4)
48protected virtual void InitializeCustomState(IDictionary<string, string?>? customKeyedSerializedData) 55protected virtual IDictionary<string, string?>? FlushCustomState() 96IDictionary<string, string?>? customKeyedSerializedData = (exception as BuildExceptionBase)?.FlushCustomState(); 132IDictionary<string, string?>? customKeyedSerializedData = null;
BuildExceptionRemoteState.cs (2)
19IDictionary<string, string?>? customKeyedSerializedData) 34public IDictionary<string, string?>? CustomKeyedSerializedData { get; init; }
CommunicationsUtilities.cs (2)
415internal static void SetEnvironment(IDictionary<string, string> newEnvironment) 607internal static HandshakeOptions GetHandshakeOptions(bool taskHost, string architectureFlagToSet = null, bool nodeReuse = false, bool lowPriority = false, IDictionary<string, string> taskHostParameters = null)
CopyOnWriteDictionary.cs (5)
106public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 119public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 129public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
Immutable\ImmutableDictionary.cs (5)
13public static ImmutableDictionary<K, V> ToImmutableDictionary<K, V>(this IDictionary<K, V> dictionary) 182internal ImmutableDictionary(IDictionary<K, V> source, IEqualityComparer<K> keyComparer = null) 251V IDictionary<K, V>.this[K key] 257void IDictionary<K, V>.Add(K key, V value) 262bool IDictionary<K, V>.Remove(K key)
ITranslator.cs (6)
335void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> collectionCreator); 339void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslator<V> valueTranslator, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator); 359where D : IDictionary<string, T>, new() 371where D : IDictionary<string, T>
OutOfProcTaskAppDomainWrapperBase.cs (4)
102IDictionary<string, TaskParameter> taskParams) 197IDictionary<string, TaskParameter> taskParams) 276IDictionary<string, TaskParameter> taskParams) 360IDictionary<string, Object> finalParameterValues = new Dictionary<string, Object>(StringComparer.OrdinalIgnoreCase);
OutOfProcTaskHostNode.cs (10)
66private static IDictionary<string, KeyValuePair<string, string>> s_mismatchedEnvironmentValues; 96private IDictionary<string, string> _savedEnvironment; 893IDictionary<string, TaskParameter> taskParams = taskConfiguration.TaskParameters; 955IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1014private void SetTaskHostEnvironment(IDictionary<string, string> environment) 1017IDictionary<string, string> updatedEnvironment = null; 1077private IDictionary<string, string> UpdateEnvironmentForMainNode(IDictionary<string, string> environment) 1080IDictionary<string, string> updatedEnvironment = null; 1130private void InitializeMismatchedEnvironmentTable(IDictionary<string, string> environment)
OutOfProcTaskHostTaskResult.cs (3)
30internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams) 57internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams, Exception taskException, string exceptionMessage, string[] exceptionMessageArgs) 101public IDictionary<string, Object> FinalParameterValues
ReadOnlyEmptyDictionary.cs (7)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; } 127get { return (ICollection)((IDictionary<K, V>)this).Values; } 153return ((IDictionary<K, V>)this)[(K)key]; 158((IDictionary<K, V>)this)[(K)key] = (V)value; 275((IDictionary<K, V>)this).Add((K)key, (V)value); 283return ((IDictionary<K, V>)this).ContainsKey((K)key); 299((IDictionary<K, V>)this).Remove((K)key);
TaskHostConfiguration.cs (2)
147IDictionary<string, string> buildProcessEnvironment, 160IDictionary<string, object> taskParameters,
TaskHostTaskComplete.cs (1)
106IDictionary<string, string> buildProcessEnvironment)
TaskParameter.cs (1)
924IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
TranslatorHelpers.cs (2)
96where D : IDictionary<string, T>, new() 107where D : IDictionary<string, T>
mscorlib (1)
src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
92[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IDictionary<,>))]
netstandard (1)
netstandard.cs (1)
114[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IDictionary<,>))]
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
139IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope ( XmlNamespaceScope scope )
PresentationCore (48)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
681ushort IDictionary<int, ushort>.this[int i]
MS\Internal\FontFace\FontDifferentiator.cs (1)
24internal static IDictionary<XmlLanguage, string> ConstructFaceNamesByStyleWeightStretch(
MS\Internal\FontFace\IFontFamily.cs (1)
25IDictionary<XmlLanguage, string> Names
MS\Internal\FontFace\ITypefaceMetrics.cs (1)
73IDictionary<XmlLanguage, string> AdjustedFaceNames { get; }
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
27private IDictionary<XmlLanguage, string> _familyNames; 40private static IDictionary<XmlLanguage, string> ConvertDictionary(IDictionary<CultureInfo, string> dictionary) 91IDictionary<XmlLanguage,string> IFontFamily.Names
MS\Internal\Shaping\CompositeFontFamily.cs (1)
95IDictionary<XmlLanguage, string> IFontFamily.Names
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
185public IDictionary<XmlLanguage, string> AdjustedFaceNames
MS\Internal\Shaping\TypefaceMap.cs (1)
39private IDictionary<CultureInfo, IntMap> _intMaps = new Dictionary<CultureInfo, IntMap>();
System\Windows\Media\CultureSpecificStringDictionary.cs (10)
16private IDictionary<XmlLanguage, string> _innerDictionary; 21internal LanguageSpecificStringDictionary(IDictionary<XmlLanguage, string> innerDictionary) 352protected IDictionary<XmlLanguage, string> _innerDictionary; 355internal EntryEnumerator(IDictionary<XmlLanguage, string> names) 430protected IDictionary<XmlLanguage, string> _innerDictionary; 432internal BaseCollection(IDictionary<XmlLanguage, string> names) 470internal KeyCollection(IDictionary<XmlLanguage, string> names) : base(names) 484internal KeyEnumerator(IDictionary<XmlLanguage, string> names) : base(names) 503internal ValueCollection(IDictionary<XmlLanguage, string> names) 518internal ValueEnumerator(IDictionary<XmlLanguage, string> names) : base(names)
System\Windows\Media\FamilyTypeface.cs (1)
194public IDictionary<XmlLanguage, string> AdjustedFaceNames
System\Windows\Media\GlyphTypeface.cs (26)
307public IDictionary<CultureInfo,string> FamilyNames 335public IDictionary<CultureInfo, string> FaceNames 364public IDictionary<CultureInfo, string> Win32FamilyNames 380IDictionary<XmlLanguage, string> ITypefaceMetrics.AdjustedFaceNames 386IDictionary<CultureInfo, string> adjustedFaceNames = _font.FaceNames; 387IDictionary<XmlLanguage, string> adjustedLanguageFaceNames = new Dictionary<XmlLanguage, string>(adjustedFaceNames.Count); 406public IDictionary<CultureInfo, string> Win32FaceNames 422public IDictionary<CultureInfo, string> VersionStrings 435public IDictionary<CultureInfo, string> Copyrights 448public IDictionary<CultureInfo, string> ManufacturerNames 463public IDictionary<CultureInfo, string> Trademarks 476public IDictionary<CultureInfo, string> DesignerNames 490public IDictionary<CultureInfo, string> Descriptions 505public IDictionary<CultureInfo, string> VendorUrls 518public IDictionary<CultureInfo, string> DesignerUrls 533public IDictionary<CultureInfo, string> LicenseDescriptions 547public IDictionary<CultureInfo, string> SampleTexts 824public IDictionary<ushort, double> AdvanceWidths 836public IDictionary<ushort, double> AdvanceHeights 851public IDictionary<ushort, double> LeftSideBearings 866public IDictionary<ushort, double> RightSideBearings 882public IDictionary<ushort, double> TopSideBearings 898public IDictionary<ushort, double> BottomSideBearings 910public IDictionary<ushort, double> DistancesFromHorizontalBaselineToBlackBoxBottom 922public IDictionary<int, ushort> CharacterToGlyphMap 1629private IDictionary<CultureInfo, string> GetFontInfo(MS.Internal.Text.TextInterface.InformationalStringID informationalStringID)
PresentationFramework (13)
MS\Internal\Data\CommitManager.cs (1)
158public Set(IDictionary<T, object> other)
System\Windows\Annotations\LocatorPart.cs (1)
172public IDictionary<string, string> NameValuePairs
System\Windows\Annotations\Storage\XmlStreamStore.cs (5)
90public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 720private void LoadStream(IDictionary<Uri, IList<Uri>> knownNamespaces) 765private void CheckKnownNamespaces(IDictionary<Uri, IList<Uri>> knownNamespaces) 819private XmlCompatibilityReader SetupReader(IDictionary<Uri, IList<Uri>> knownNamespaces) 990private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces)
System\Windows\Controls\DatePicker.cs (1)
45private IDictionary<DependencyProperty, bool> _isHandlerSuspended;
System\Windows\Documents\DocumentSequence.cs (1)
945private IDictionary<Object, GetPageAsyncRequest> _asyncOps; // pending request from client code
System\Windows\Documents\FixedDocument.cs (1)
1284private IDictionary<Object, GetPageAsyncRequest> _asyncOps;
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
697if (genericTypeDefinition == typeof(System.Collections.Generic.IDictionary<,>))
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
382private bool SyncContainsKey<K,V>(IDictionary<K, V> dict, K key) 390private bool SyncTryGetValue(IDictionary<string, string> dict, string key, out string value)
PresentationUI (19)
MS\Internal\Documents\DigitalSignatureProvider.cs (2)
332IDictionary<X509Certificate2, CertificatePriorityStatus> IDigitalSignatureProvider.GetCertificateStatus( 391IDictionary<Guid, XpsSignatureDefinition> signatureDefinitionMap =
MS\Internal\Documents\DocumentSignatureManager.cs (2)
1338private IDictionary<SignatureResources, DigitalSignature> _digSigSigResources; 1350private IDictionary<X509Certificate2, CertificatePriorityStatus> _certificateStatusTable;
MS\Internal\Documents\IDigitalSignatureProvider.cs (1)
45IDictionary<X509Certificate2, CertificatePriorityStatus> GetCertificateStatus(IList<X509Certificate2> certificates);
MS\Internal\Documents\IRightsManagementProvider.cs (1)
121IDictionary<RightsManagementUser, RightsManagementLicense> GetAllAccessRights();
MS\Internal\Documents\RightsManagementManager.cs (3)
432IDictionary<RightsManagementUser, RightsManagementLicense> allRights = null; 1088IDictionary<RightsManagementUser, RightsManagementLicense> allRights = 1495private IDictionary<string, RightsManagementUser> _userMap;
MS\Internal\Documents\RightsManagementProvider.cs (7)
491IDictionary<RightsManagementUser, RightsManagementLicense> 502IDictionary<RightsManagementUser, IList<ContentGrant>> grantDictionary = 546IDictionary<RightsManagementUser, RightsManagementLicense> dictionary = 559(IDictionary<RightsManagementUser, RightsManagementLicense>)dictionary; 1505IDictionary<RightsManagementUser, RightsManagementLicense> _rightsDictionary; 1510IDictionary<RightsManagementUser, RightsManagementLicense> _lastSavedRightsDictionary; 1516IDictionary<RightsManagementUser, RightsManagementLicense> _temporaryRightsDictionary;
MS\Internal\Documents\RMPublishingDialog.cs (1)
39IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
196IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary) 206private void InitializeRightsTableContent(string ownerName, IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary)
ReachFramework (16)
MS\Internal\Printing\MostFrequentlyUsedCache.cs (1)
91private readonly IDictionary<K, Entry> _dictionary;
PrintConfig\PrintSchemaShim.cs (13)
520private static readonly IDictionary<DevModeCollate, Collation> dmCollateToQResolution = new Dictionary<DevModeCollate, Collation>(2) { 545private static readonly IDictionary<DevModeColor, OutputColor> dmColorToOutputColor = new Dictionary<DevModeColor, OutputColor>(2) { 578private static readonly IDictionary<DevModeDuplex, Duplexing> dmDuplexToDuplexing = new Dictionary<DevModeDuplex, Duplexing>(3) { 675private static readonly IDictionary<short, InputBin> dmPaperSourceToInputBin = new Dictionary<short, InputBin>(4) { 682private static IDictionary<short, PaperSourceOption> paperSourceOptions = new Dictionary<short, PaperSourceOption>() { 782private static readonly IDictionary<short, PageMediaSizeName> dmPaperSizeToPageMediaSize = new Dictionary<short, PageMediaSizeName>(101) { 911private static readonly IDictionary<uint, PageMediaType> dmMediaTypeToMediaType = new Dictionary<uint, PageMediaType>(3) { 917private static IDictionary<uint, MediaTypeOption> mediaTypeOptions = new Dictionary<uint, MediaTypeOption>() { 961private static readonly IDictionary<DevModeOrientation, PageOrientation> dmOrientationToOrientation = new Dictionary<DevModeOrientation, PageOrientation>(2) { 1029private static readonly IDictionary<short, PageQualitativeResolution> dmResToQResolution = new Dictionary<short, PageQualitativeResolution>(4) { 1036private static IDictionary<short, OutputQualityOption> outputQualityOptions = new Dictionary<short, OutputQualityOption>() { 1146private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key, Action<TValue> setter) 1158private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TValue value, Action<TKey> setter)
Serialization\TreeWalkProgress.cs (1)
44private IDictionary<ICyclicBrush, EmptyStruct> _cyclicBrushes = new Dictionary<ICyclicBrush, EmptyStruct>();
Serialization\XpsFontSubsetter.cs (1)
372private IDictionary<Uri, FEMCacheItem> _fontEmbeddingManagerCache;
Shared (5)
EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Shared.Tests (2)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (2)
35var dict = EmptyReadOnlyDictionary<int, string>.Instance as IDictionary<int, string>;
SimpleWebSite (1)
Controllers\HomeController.cs (1)
8public IDictionary<string, string> Index()
System.CodeDom (11)
Microsoft\CSharp\CSharpCodeGenerator.cs (2)
25private readonly IDictionary<string, string> _provOptions; 58internal CSharpCodeGenerator(IDictionary<string, string> providerOptions)
Microsoft\CSharp\CSharpCodeProvider.cs (1)
23public CSharpCodeProvider(IDictionary<string, string> providerOptions)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
49private readonly IDictionary<string, string> _provOptions; 249internal VBCodeGenerator(IDictionary<string, string> providerOptions)
Microsoft\VisualBasic\VBCodeProvider.cs (1)
23public VBCodeProvider(IDictionary<string, string> providerOptions)
System\CodeDom\Compiler\CodeDomProvider.cs (1)
53public static CodeDomProvider CreateProvider(string language, System.Collections.Generic.IDictionary<string, string> providerOptions)
System\CodeDom\Compiler\CompilerInfo.cs (4)
12internal readonly IDictionary<string, string> _providerOptions = new Dictionary<string, string>(); 53ConstructorInfo ci = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) }); 63public CodeDomProvider CreateProvider(IDictionary<string, string> providerOptions) 70ConstructorInfo constructor = CodeDomProviderType.GetConstructor(new Type[] { typeof(IDictionary<string, string>) });
System.Collections (18)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (2)
10private readonly IDictionary<TKey, TValue> _dict; 12public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
System\Collections\Generic\OrderedDictionary.cs (8)
142/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the default equality comparer for the key type. 145/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 149public OrderedDictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) 155/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the specified <see cref="IEqualityComparer{TKey}"/>. 158/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 166public OrderedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) : 267ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 279ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
System\Collections\Generic\SortedDictionary.cs (4)
27public SortedDictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) 31public SortedDictionary(IDictionary<TKey, TValue> dictionary, IComparer<TKey>? comparer) 155ICollection<TKey> IDictionary<TKey, TValue>.Keys 173ICollection<TValue> IDictionary<TKey, TValue>.Values
System\Collections\Generic\SortedList.cs (4)
136public SortedList(IDictionary<TKey, TValue> dictionary) 149public SortedList(IDictionary<TKey, TValue> dictionary, IComparer<TKey>? comparer) 301ICollection<TKey> IDictionary<TKey, TValue>.Keys 337ICollection<TValue> IDictionary<TKey, TValue>.Values
System.Collections.Concurrent (9)
System\Collections\Concurrent\ConcurrentDictionary.cs (9)
1559/// cref="IDictionary{TKey,TValue}"/>. 1570void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 1580/// cref="IDictionary{TKey,TValue}"/>. 1586/// cref="IDictionary{TKey,TValue}"/>. 1590bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _); 1627void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) => ((IDictionary<TKey, TValue>)this).Add(keyValuePair.Key, keyValuePair.Value); 1715((IDictionary<TKey, TValue>)this).Add((TKey)key, (TValue)value!); 2726private readonly IDictionary<TKey, TValue> _dictionary; 2728public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
System.Collections.Immutable (85)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (2)
10private readonly IDictionary<TKey, TValue> _dict; 12public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
System\Collections\Frozen\FrozenDictionary.cs (7)
289ICollection<TKey> IDictionary<TKey, TValue>.Keys => 294((IDictionary<TKey, TValue>)this).Keys; 310ICollection<TValue> IDictionary<TKey, TValue>.Values => 318((IDictionary<TKey, TValue>)this).Values; 532TValue IDictionary<TKey, TValue>.this[TKey key] 603void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 612bool IDictionary<TKey, TValue>.Remove(TKey key) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (21)
169/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 171/// <returns>An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns> 172ICollection<TKey> IDictionary<TKey, TValue>.Keys 192/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 194/// <returns>An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns> 195ICollection<TValue> IDictionary<TKey, TValue>.Values 224/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 227/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 235/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 238/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>. 406/// <exception cref="NotSupportedException">The property is set and the <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 516/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 521/// <exception cref="ArgumentException">An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>.</exception> 522/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 530/// Determines whether the <see cref="IDictionary{TKey, TValue}"/> contains an element with the specified key. 532/// <param name="key">The key to locate in the <see cref="IDictionary{TKey, TValue}"/>.</param> 534/// true if the <see cref="IDictionary{TKey, TValue}"/> contains an element with the key; otherwise, false. 567/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 571/// 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}"/>. 575/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 588/// 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)
216ICollection<TKey> IDictionary<TKey, TValue>.Keys 224ICollection<TValue> IDictionary<TKey, TValue>.Values 261TValue IDictionary<TKey, TValue>.this[TKey key] 556/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 563/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>. 566/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 568void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 574/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 578/// 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}"/>. 583/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 585bool IDictionary<TKey, TValue>.Remove(TKey key) 645/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 648/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 656/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 659/// 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)
84/// See <see cref="IDictionary{TKey, TValue}"/> 86ICollection<TKey> IDictionary<TKey, TValue>.Keys 100/// See <see cref="IDictionary{TKey, TValue}"/> 102ICollection<TValue> IDictionary<TKey, TValue>.Values 235/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 238/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 246/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 249/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>. 428/// See <see cref="IDictionary{TKey, TValue}"/> 441/// See <see cref="IDictionary{TKey, TValue}"/> 449/// See <see cref="IDictionary{TKey, TValue}"/> 464/// See <see cref="IDictionary{TKey, TValue}"/> 481/// See <see cref="IDictionary{TKey, TValue}"/> 489/// See <see cref="IDictionary{TKey, TValue}"/> 498/// See <see cref="IDictionary{TKey, TValue}"/> 506/// See <see cref="IDictionary{TKey, TValue}"/> 514/// See <see cref="IDictionary{TKey, TValue}"/> 527/// See <see cref="IDictionary{TKey, TValue}"/> 535/// See <see cref="IDictionary{TKey, TValue}"/> 543/// 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\Collections\Immutable\ImmutableSortedDictionary_2.Node.cs (2)
197/// See <see cref="IDictionary{TKey, TValue}"/> 212/// See <see cref="IDictionary{TKey, TValue}"/>
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (2)
10/// A thin wrapper around the <see cref="IDictionary{TKey, TValue}.Keys"/> or <see cref="IDictionary{TKey, TValue}.Values"/> enumerators so they look like a collection.
System.ComponentModel.Annotations (9)
System\ComponentModel\DataAnnotations\FilterUIHintAttribute.cs (1)
35public IDictionary<string, object?> ControlParameters => _implementation.ControlParameters;
System\ComponentModel\DataAnnotations\UIHintAttribute.cs (5)
65public IDictionary<string, object?> ControlParameters => _implementation.ControlParameters; 75private IDictionary<string, object?>? _controlParameters; 101public IDictionary<string, object?> ControlParameters => 133IDictionary<string, object?> leftParams; 134IDictionary<string, object?> rightParams;
System\ComponentModel\DataAnnotations\ValidationContext.cs (3)
65public ValidationContext(object instance, IDictionary<object, object?>? items) 87public ValidationContext(object instance, IServiceProvider? serviceProvider, IDictionary<object, object?>? items) 171public IDictionary<object, object?> Items => _items;
System.ComponentModel.Composition (98)
System\ComponentModel\Composition\AttributedModel\AttributedExportDefinition.cs (5)
19private IDictionary<string, object?>? _metadata; 22: base(contractName, (IDictionary<string, object?>?)null) 34public override IDictionary<string, object?> Metadata 40_member.TryExportMetadataForMember(out IDictionary<string, object?> metadata); 48var partMetadata = _partCreationInfo.GetMetadata();
System\ComponentModel\Composition\AttributedModel\AttributedPartCreationInfo.cs (1)
56public IDictionary<string, object?> GetMetadata()
System\ComponentModel\Composition\AttributedModelServices.cs (1)
19public static TMetadataView GetMetadataView<TMetadataView>(IDictionary<string, object?> metadata)
System\ComponentModel\Composition\ConstraintServices.cs (2)
18private static readonly MethodInfo _metadataContainsKeyMethod = typeof(IDictionary<string, object>).GetMethod("ContainsKey")!; 19private static readonly MethodInfo _metadataItemMethod = typeof(IDictionary<string, object>).GetMethod("get_Item")!;
System\ComponentModel\Composition\ExportServices.cs (2)
23internal static readonly Type DefaultMetadataViewType = typeof(IDictionary<string, object>); 43new Type[] { typeof(IDictionary<string, object>) },
System\ComponentModel\Composition\Hosting\CompositionBatch.SingleExportComposablePart.cs (1)
25public override IDictionary<string, object?> Metadata
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\Hosting\ExportProvider.GetExportOverrides.cs (5)
33/// is <see cref="IDictionary{TKey, TValue}"/> and where <c>TKey</c> 84/// is <see cref="IDictionary{TKey, TValue}"/> and where <c>TKey</c> 292/// is <see cref="IDictionary{TKey, TValue}"/> and where <c>TKey</c> 333/// is <see cref="IDictionary{TKey, TValue}"/> and where <c>TKey</c> 801IDictionary<string, object?> metadata = CompositionServices.GetImportMetadata(type, null);
System\ComponentModel\Composition\Hosting\ImportSourceImportDefinitionHelpers.cs (3)
31private IDictionary<string, object?>? _metadata; 46public override IDictionary<string, object?> Metadata 50var reply = _metadata;
System\ComponentModel\Composition\MetadataServices.cs (4)
12public static readonly IDictionary<string, object?> EmptyMetadata = new ReadOnlyDictionary<string, object?>(new Dictionary<string, object?>(0)); 14public static IDictionary<string, object?> AsReadOnly(this IDictionary<string, object?>? metadata) 29public static T? GetValue<T>(this IDictionary<string, object?> metadata, string key)
System\ComponentModel\Composition\MetadataViewGenerator.cs (3)
59public delegate object MetadataViewFactory(IDictionary<string, object?> metadata); 73private static readonly Type[] CtorArgumentTypes = new Type[] { typeof(IDictionary<string, object>) }; 137public static TMetadataView CreateMetadataView<TMetadataView>(MetadataViewFactory metadataViewFactory, IDictionary<string, object?> metadata)
System\ComponentModel\Composition\MetadataViewProvider.cs (2)
15public static TMetadataView GetMetadataView<TMetadataView>(IDictionary<string, object?> metadata) 22if (metadataViewType.IsAssignableFrom(typeof(IDictionary<string, object?>)))
System\ComponentModel\Composition\Primitives\ComposablePart.cs (5)
81/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the 83/// <see cref="IDictionary{TKey, TValue}"/>. 99/// <see cref="IDictionary{TKey, TValue}"/> object with a case-sensitive, 103/// empty <see cref="IDictionary{TKey, TValue}"/> instead. 107public virtual IDictionary<string, object?> Metadata
System\ComponentModel\Composition\Primitives\ComposablePartDefinition.cs (5)
67/// An <see cref="IDictionary{TKey, TValue}"/> containing the metadata of the 69/// <see cref="IDictionary{TKey, TValue}"/>. 75/// <see cref="IDictionary{TKey, TValue}"/> object with a case-sensitive, 79/// return an empty <see cref="IDictionary{TKey, TValue}"/> instead. 83public virtual IDictionary<string, object?> Metadata
System\ComponentModel\Composition\Primitives\ContractBasedImportDefinition.cs (1)
164ImportCardinality cardinality, bool isRecomposable, bool isPrerequisite, CreationPolicy requiredCreationPolicy, IDictionary<string, object?> metadata)
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\GenericSpecializationPartCreationInfo.cs (6)
98public IDictionary<string, object?> GetMetadata() 294IDictionary<string, object?> metadata = TranslateImportMetadata(productImport); 408Lazy<IDictionary<string, object?>> lazyMetadata = new Lazy<IDictionary<string, object?>>(() => TranslateExportMetadata(capturedReflectionExport)); 438private IDictionary<string, object?> TranslateImportMetadata(ContractBasedImportDefinition originalImport) 547public static bool CanSpecialize(IDictionary<string, object?> partMetadata, Type[] specialization)
System\ComponentModel\Composition\ReflectionModel\IReflectionPartCreationInfo.cs (1)
15IDictionary<string, object?>? GetMetadata();
System\ComponentModel\Composition\ReflectionModel\PartCreatorExportDefinition.cs (2)
13private IDictionary<string, object?>? _metadata; 29public override IDictionary<string, object?> Metadata
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePart.cs (1)
122public override IDictionary<string, object?> Metadata
System\ComponentModel\Composition\ReflectionModel\ReflectionComposablePartDefinition.cs (3)
20private volatile IDictionary<string, object?>? _metadata; 95public override IDictionary<string, object?> Metadata 101IDictionary<string, object?> metadata = _creationInfo.GetMetadata().AsReadOnly();
System\ComponentModel\Composition\ReflectionModel\ReflectionImportDefinition.cs (1)
21IDictionary<string, object?> metadata,
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberExportDefinition.cs (2)
15private IDictionary<string, object?>? _metadata; 36public override IDictionary<string, object?> Metadata => _metadata ??= _exportDefinition.Metadata.AsReadOnly();
System\ComponentModel\Composition\ReflectionModel\ReflectionMemberImportDefinition.cs (1)
23IDictionary<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\ComponentModel\Composition\ReflectionModel\ReflectionParameterImportDefinition.cs (1)
23IDictionary<string, object?> metadata,
System.Composition.Hosting (18)
System\Composition\Hosting\Core\CycleBreakingExportDescriptor.cs (1)
29public override IDictionary<string, object> Metadata
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
18private IDictionary<string, object> ActualMetadata
System\Composition\Hosting\Core\DirectExportDescriptor.cs (3)
11private readonly IDictionary<string, object> _metadata; 13public DirectExportDescriptor(CompositeActivator activator, IDictionary<string, object> metadata) 30public override IDictionary<string, object> Metadata { get { return _metadata; } }
System\Composition\Hosting\Core\ExportDescriptor.cs (2)
23public abstract IDictionary<string, object> Metadata { get; } 31public static ExportDescriptor Create(CompositeActivator activator, IDictionary<string, object> metadata)
System\Composition\Hosting\Core\ExportDescriptorProvider.cs (1)
26protected static readonly IDictionary<string, object> NoMetadata = new ReadOnlyDictionary<string, object>(new Dictionary<string, object>());
System\Composition\Hosting\Core\ExportDescriptorRegistryUpdate.cs (2)
13private readonly IDictionary<CompositionContract, ExportDescriptor[]> _partDefinitions; 23IDictionary<CompositionContract, ExportDescriptor[]> partDefinitions,
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\Hosting\Core\CompositionContract.cs (5)
18private readonly IDictionary<string, object> _metadataConstraints; 45public CompositionContract(Type contractType, string contractName, IDictionary<string, object> metadataConstraints) 175internal static bool ConstraintEqual(IDictionary<string, object> first, IDictionary<string, object> second) 217private static int ConstraintHashCode(IDictionary<string, object> metadata)
System.Composition.TypedParts (28)
System\Composition\Debugging\DiscoveredPartDebuggerProxy.cs (1)
30public IDictionary<string, object> PartMetadata
System\Composition\Hosting\ContainerConfiguration.cs (2)
244public ContainerConfiguration WithExport<TExport>(TExport exportedInstance, string contractName = null, IDictionary<string, object> metadata = null) 282public ContainerConfiguration WithExport(Type contractType, object exportedInstance, string contractName = null, IDictionary<string, object> metadata = null)
System\Composition\Hosting\InstanceExportDescriptorProvider.cs (1)
13public InstanceExportDescriptorProvider(object exportedInstance, Type contractType, string contractName, IDictionary<string, object> metadata)
System\Composition\Hosting\SinglePartExportDescriptorProvider.cs (2)
15protected SinglePartExportDescriptorProvider(Type contractType, string contractName, IDictionary<string, object> metadata) 41protected IDictionary<string, object> Metadata { get; }
System\Composition\TypedParts\ActivationFeatures\ActivationFeature.cs (1)
31IDictionary<string, object> partMetadata,
System\Composition\TypedParts\ActivationFeatures\DisposalFeature.cs (1)
18IDictionary<string, object> partMetadata,
System\Composition\TypedParts\ActivationFeatures\LifetimeFeature.cs (1)
21IDictionary<string, object> partMetadata,
System\Composition\TypedParts\ActivationFeatures\OnImportsSatisfiedFeature.cs (1)
35IDictionary<string, object> partMetadata,
System\Composition\TypedParts\ActivationFeatures\PropertyInjectionFeature.cs (1)
64IDictionary<string, object> partMetadata,
System\Composition\TypedParts\ContractHelpers.cs (1)
95public static bool IsShared(IDictionary<string, object> partMetadata)
System\Composition\TypedParts\Discovery\DiscoveredExport.cs (3)
15private readonly IDictionary<string, object> _metadata; 18public DiscoveredExport(CompositionContract exportKey, IDictionary<string, object> metadata) 26public IDictionary<string, object> Metadata { get { return _metadata; } }
System\Composition\TypedParts\Discovery\DiscoveredInstanceExport.cs (1)
12public DiscoveredInstanceExport(CompositionContract contract, IDictionary<string, object> metadata)
System\Composition\TypedParts\Discovery\DiscoveredPart.cs (5)
26private readonly Lazy<IDictionary<string, object>> _partMetadata; 36private static readonly IDictionary<string, object> s_noMetadata = new Dictionary<string, object>(); 43Lazy<IDictionary<string, object>> partMetadata) 59_partMetadata = new Lazy<IDictionary<string, object>>(() => GetPartMetadata(partType)); 208public IDictionary<string, object> GetPartMetadata(TypeInfo partType)
System\Composition\TypedParts\Discovery\DiscoveredPropertyExport.cs (1)
17public DiscoveredPropertyExport(CompositionContract contract, IDictionary<string, object> metadata, PropertyInfo property)
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 (9)
System\Diagnostics\Metrics\MetricsEventSource.cs (9)
500private bool ParseMetrics(IDictionary<string, string> arguments, out string? metricsSpecs) 543private bool SetSharedMaxTimeSeries(IDictionary<string, string> arguments, int sharedValue, out int maxTimeSeries) 548private void SetUniqueMaxTimeSeries(IDictionary<string, string> arguments, int defaultValue, out int maxTimeSeries) 553private bool SetSharedMaxHistograms(IDictionary<string, string> arguments, int sharedValue, out int maxHistograms) 558private void SetUniqueMaxHistograms(IDictionary<string, string> arguments, int defaultValue, out int maxHistograms) 563private bool SetMaxValue(IDictionary<string, string> arguments, string argumentsKey, string valueDescriptor, int defaultValue, out int maxValue) 589private void SetRefreshIntervalSecs(IDictionary<string, string> arguments, double minValue, double defaultValue, out double refreshIntervalSeconds) 599private bool SetSharedRefreshIntervalSecs(IDictionary<string, string> arguments, double sharedValue, out double refreshIntervalSeconds) 610private bool GetRefreshIntervalSecs(IDictionary<string, string> arguments, string valueDescriptor, double defaultValue, out double refreshIntervalSeconds)
System.Diagnostics.Process (2)
System\Collections\Specialized\DictionaryWrapper.cs (1)
61((IDictionary<string, string?>)_contents).CopyTo(array, arrayIndex);
System\Diagnostics\ProcessStartInfo.cs (1)
91public IDictionary<string, string?> Environment
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
115IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System.Linq.Expressions (7)
System\Dynamic\ExpandoObject.cs (7)
617ICollection<string> IDictionary<string, object?>.Keys => new KeyCollection(this); 619ICollection<object?> IDictionary<string, object?>.Values => new ValueCollection(this); 621object? IDictionary<string, object?>.this[string key] 639void IDictionary<string, object?>.Add(string key, object? value) 644bool IDictionary<string, object?>.ContainsKey(string key) 653bool IDictionary<string, object?>.Remove(string key) 660bool IDictionary<string, object?>.TryGetValue(string key, out object? value)
System.Net.Http (18)
System\Net\Http\HttpClientHandler.cs (1)
344public IDictionary<string, object?> Properties => _underlyingHandler.Properties;
System\Net\Http\HttpRequestMessage.cs (1)
112public IDictionary<string, object?> Properties => Options;
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\SocketsHttpHandler\HttpConnectionSettings.cs (1)
69internal IDictionary<string, object?>? _properties;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
427public IDictionary<string, object?> Properties =>
System.Net.Http.WinHttpHandler (1)
artifacts\obj\System.Net.Http.WinHttpHandler\Debug\net10.0\System.Net.Http.WinHttpHandler.notsupported.cs (1)
39public System.Collections.Generic.IDictionary<string, object> Properties { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_WinHttpHandler); } }
System.ObjectModel (1)
System\Collections\ObjectModel\KeyedCollection.cs (1)
154protected IDictionary<TKey, TItem>? Dictionary => dict;
System.Private.CoreLib (29)
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\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (4)
85public Dictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) { } 87public Dictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) : 218ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 224ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\IDictionaryDebugView.cs (2)
10private readonly IDictionary<TKey, TValue> _dict; 12public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
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\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventProvider.cs (1)
39IDictionary<string, string?>? args = null;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (2)
183internal virtual void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments, int sessionId) { } 1323protected static IDictionary<string, string?>? ParseFilterData(byte[]? data)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (6)
496public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string?>? commandArguments) 2481internal override void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments, 2603IDictionary<string, string?>? commandArguments) 4241public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary<string, string?>? arguments) 4710public IDictionary<string, string?>? Arguments { get; internal set; } 4738internal EventCommandEventArgs(EventCommand command, IDictionary<string, string?>? arguments, EventSource eventSource,
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\Globals.cs (1)
238s_typeOfIDictionaryGeneric ??= typeof(IDictionary<,>);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
720IDictionary<string, string>? namespacesInScope = xmlReader.GetNamespacesInScope(XmlNamespaceScope.ExcludeXml); 945private IDataNode ReadAndResolveUnknownXmlData(XmlReaderDelegator xmlReader, IDictionary<string, string>? namespaces,
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
1012internal IDictionary<string, string>? GetNamespacesInScope(XmlNamespaceScope scope)
System.Private.Windows.Core (7)
System\Private\Windows\BinaryFormat\Deserializer\ArrayUpdater.cs (1)
17internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Private\Windows\BinaryFormat\Deserializer\Deserializer.cs (1)
61IDictionary<SerializationRecordId, object> IDeserializer.DeserializedObjects => _deserializedObjects;
System\Private\Windows\BinaryFormat\Deserializer\FieldValueUpdater.cs (1)
18internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Private\Windows\BinaryFormat\Deserializer\IDeserializer.cs (1)
45IDictionary<SerializationRecordId, object> DeserializedObjects { get; }
System\Private\Windows\BinaryFormat\Deserializer\PendingSerializationInfo.cs (1)
29internal void Populate(IDictionary<SerializationRecordId, object> objects, StreamingContext context)
System\Private\Windows\BinaryFormat\Deserializer\SerializationInfoValueUpdater.cs (1)
21internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Private\Windows\BinaryFormat\Deserializer\ValueUpdater.cs (1)
26internal abstract void UpdateValue(IDictionary<SerializationRecordId, object> objects);
System.Private.Xml (29)
System\Xml\BinaryXml\XmlBinaryReader.cs (1)
1806System.Collections.Generic.IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlAsyncCheckReader.cs (2)
928IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 990IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlCharCheckingReader.cs (1)
649IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlSubtreeReader.cs (1)
1214IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlTextReader.cs (2)
340IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 357public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlTextReaderImpl.cs (2)
1926IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 1942internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlTextReaderImplHelpers.cs (1)
158public override IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) { return null!; }
System\Xml\Core\XmlValidatingReader.cs (1)
266IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlValidatingReaderImpl.cs (2)
798IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope) 814internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XmlWellFormedWriterHelpers.cs (1)
26IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Core\XsdValidatingReader.cs (1)
1919IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Dom\DocumentSchemaValidator.cs (3)
169public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 171IDictionary<string, string> dictionary = _nsManager.GetNamespacesInScope(scope); 455IDictionary<string, string> namespaceDecls = NamespaceResolver.GetNamespacesInScope(XmlNamespaceScope.All);
System\Xml\Dom\DocumentXmlWriter.cs (1)
491IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Dom\XmlNodeReader.cs (2)
985internal IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 1907IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\IXmlNamespaceResolver.cs (1)
17IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope);
System\Xml\Schema\XmlAtomicValue.cs (1)
69public IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Schema\XmlSchemaValidator.cs (1)
2136IDictionary<string, string> namespaceDecls = _nsResolver.GetNamespacesInScope(XmlNamespaceScope.All);
System\Xml\XmlNamespacemanager.cs (1)
223public virtual IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\XPath\XPathNavigator.cs (2)
469public virtual IDictionary<string, string> GetNamespacesInScope(XmlNamespaceScope scope) 1883IDictionary<string, string> dictionary = resolver.GetNamespacesInScope(XmlNamespaceScope.All);
System\Xml\XPath\XPathNavigatorReader.cs (1)
145IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System\Xml\Xsl\Xslt\XsltInput.cs (1)
111IDictionary<string, string>? namespacesInScope = null;
System.Resources.Extensions (7)
System\Resources\Extensions\BinaryFormat\Deserializer\ArrayUpdater.cs (1)
18internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Resources\Extensions\BinaryFormat\Deserializer\Deserializer.cs (1)
64IDictionary<SerializationRecordId, object> IDeserializer.DeserializedObjects => _deserializedObjects;
System\Resources\Extensions\BinaryFormat\Deserializer\FieldValueUpdater.cs (1)
19internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Resources\Extensions\BinaryFormat\Deserializer\IDeserializer.cs (1)
46IDictionary<SerializationRecordId, object> DeserializedObjects { get; }
System\Resources\Extensions\BinaryFormat\Deserializer\PendingSerializationInfo.cs (1)
31internal void Populate(IDictionary<SerializationRecordId, object> objects, StreamingContext context)
System\Resources\Extensions\BinaryFormat\Deserializer\SerializationInfoValueUpdater.cs (1)
21internal override void UpdateValue(IDictionary<SerializationRecordId, object> objects)
System\Resources\Extensions\BinaryFormat\Deserializer\ValueUpdater.cs (1)
27internal abstract void UpdateValue(IDictionary<SerializationRecordId, object> objects);
System.Runtime (1)
artifacts\obj\System.Runtime\Debug\net10.0\System.Runtime.Forwards.cs (1)
81[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Collections.Generic.IDictionary<,>))]
System.Runtime.Caching (3)
System\Runtime\Caching\MemoryCache.cs (1)
806public override IDictionary<string, object> GetValues(IEnumerable<string> keys, string regionName = null)
System\Runtime\Caching\ObjectCache.cs (2)
99public abstract IDictionary<string, object> GetValues(IEnumerable<string> keys, string regionName = null); 101public virtual IDictionary<string, object> GetValues(string regionName, params string[] keys)
System.Runtime.Serialization.Schema (2)
System\Runtime\Serialization\Schema\ImportOptions.cs (2)
21private IDictionary<string, string>? _namespaces; 60public IDictionary<string, string> Namespaces => _namespaces ??= new Dictionary<string, string>();
System.Security.Claims (1)
System\Security\Claims\Claim.cs (1)
344public IDictionary<string, string> Properties => _properties ??= new Dictionary<string, string>();
System.ServiceModel.Primitives (3)
netstandard.cs (3)
165public abstract System.Collections.Generic.IDictionary<string, object> Properties { get; } 171public abstract System.Collections.Generic.IDictionary<string, object> Properties { get; } 225public System.Collections.Generic.IDictionary<string, object> Properties { get { return default; } }
System.Speech (7)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (7)
255public System.Collections.Generic.IDictionary<string, string> AdditionalInfo { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } } 304System.Collections.Generic.ICollection<string> System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Keys { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } } 305System.Collections.Generic.ICollection<System.Speech.Recognition.SemanticValue> System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Values { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } } 315void System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Add(string key, System.Speech.Recognition.SemanticValue value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 316bool System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Remove(string key) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 317bool System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.TryGetValue(string key, out System.Speech.Recognition.SemanticValue value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } 913public System.Collections.Generic.IDictionary<string, string> AdditionalInfo { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } }
System.Text.Json (19)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (5)
131((IDictionary<string, JsonNode?>)Dictionary).Contains(item); 151((IDictionary<string, JsonNode?>)Dictionary).CopyTo(array, index); 175ICollection<string> IDictionary<string, JsonNode?>.Keys => Dictionary.Keys; 180ICollection<JsonNode?> IDictionary<string, JsonNode?>.Values => Dictionary.Values; 196bool IDictionary<string, JsonNode?>.TryGetValue(string propertyName, out JsonNode? jsonNode)
System\Text\Json\Serialization\Attributes\JsonExtensionDataAttribute.cs (3)
8/// <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/>, any properties that do not have a 12/// When using <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/>, the TKey value must be <see cref="string"/> 15/// During deserializing with a <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> extension property with TValue as
System\Text\Json\Serialization\Converters\Collection\IDictionaryOfTKeyTValueConverter.cs (1)
16where TDictionary : IDictionary<TKey, TValue>
System\Text\Json\Serialization\Converters\Collection\IEnumerableConverterFactory.cs (1)
78else if ((actualTypeToConvert = typeToConvert.GetCompatibleGenericInterface(typeof(IDictionary<,>))) != null)
System\Text\Json\Serialization\Converters\Object\ObjectWithParameterizedConstructorConverter.cs (2)
241if (extDictionary is IDictionary<string, JsonElement> dict) 247((IDictionary<string, object>)extDictionary)[dataExtKey] = propValue!;
System\Text\Json\Serialization\JsonSerializer.Read.HandlePropertyName.cs (1)
117Type underlyingIDictionaryType = jsonPropertyInfo.PropertyType.GetCompatibleGenericInterface(typeof(IDictionary<,>))!;
System\Text\Json\Serialization\Metadata\JsonMetadataServices.Collections.cs (2)
100/// Creates serialization metadata for types assignable to <see cref="IDictionary{TKey, TValue}"/>. 112where TCollection : IDictionary<TKey, TValue>
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (2)
855if (propValue is IDictionary<string, object?> dictionaryObjectValue) 869else if (propValue is IDictionary<string, JsonElement> dictionaryElementValue)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
1338return typeof(IDictionary<string, object>).IsAssignableFrom(propertyType) || 1339typeof(IDictionary<string, JsonElement>).IsAssignableFrom(propertyType) ||
System.Text.Json.SourceGeneration (1)
Helpers\KnownTypeSymbols.cs (1)
46public INamedTypeSymbol? IDictionaryOfTKeyTValueType => GetOrResolveType(typeof(IDictionary<,>), ref _IDictionaryOfTKeyTValueType);
System.Windows.Forms (4)
misc\CollectionHelper.cs (1)
14public static void HashtableCopyTo<TKey, TValue>(this IDictionary<TKey, TValue> source, Array target, int index)
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (3)
483IDictionary<string, PropertyInfo> properties, 593IDictionary<string, PropertyInfo> properties, 820IDictionary<string, PropertyInfo> propertyInfo,
System.Windows.Forms.Design.Tests (3)
ButtonBaseDesignerTests.cs (3)
20public static TheoryData<IDictionary<string, object>?> IDictionary_TheoryData => new() 28public void ButtonBaseDesigner_InitializeNewComponent_WithDefaultButton(IDictionary<string, object>? defaultValues) 40public void ButtonBaseDesigner_InitializeNewComponent_NotInitialized(IDictionary<string, object>? defaultValues)
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
139IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope ( XmlNamespaceScope scope )
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
204IDictionary<string, string> rootNamespaces = myXmlReaderNS.GetNamespacesInScope(XmlNamespaceScope.Local);
System\Xaml\MS\Impl\XmlNsInfo.cs (2)
438void MakeListsImmutable(IDictionary<string, IList<string>> dict) 452IDictionary<string, int> _subsumeCount;
System\Xaml\NameScopeDictionary.cs (7)
289object IDictionary<string, object>.this[string key] 301void IDictionary<string, object>.Add(string key, object value) 306bool IDictionary<string, object>.ContainsKey(string key) 311bool IDictionary<string, object>.Remove(string key) 316bool IDictionary<string, object>.TryGetValue(string key, out object value) 321ICollection<string> IDictionary<string, object>.Keys 329ICollection<object> IDictionary<string, object>.Values
System\Xaml\Schema\CollectionReflector.cs (1)
179Type genericIDictionary = GetGenericInterface(type, typeof(IDictionary<,>), out hasMoreThanOneIDictionary);
System\Xaml\XamlSchemaContext.cs (1)
439IDictionary<string, string> oldToNewNs = null;
System.Xaml.Tests (15)
System\Xaml\XamlTypeTests.cs (15)
1754yield return new object?[] { new SubXamlType(typeof(IDictionary<int, int>), new XamlSchemaContext()), XamlCollectionKind.Dictionary }; 3138int IDictionary<string, int>.this[string key] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } 3140string IDictionary<int, string>.this[int key] { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } 3142ICollection<string> IDictionary<string, int>.Keys => throw new NotImplementedException(); 3144ICollection<int> IDictionary<int, string>.Keys => throw new NotImplementedException(); 3146ICollection<int> IDictionary<string, int>.Values => throw new NotImplementedException(); 3148ICollection<string> IDictionary<int, string>.Values => throw new NotImplementedException(); 3158void IDictionary<string, int>.Add(string key, int value) => throw new NotImplementedException(); 3162void IDictionary<int, string>.Add(int key, string value) => throw new NotImplementedException(); 3174bool IDictionary<string, int>.ContainsKey(string key) => throw new NotImplementedException(); 3176bool IDictionary<int, string>.ContainsKey(int key) => throw new NotImplementedException(); 3188bool IDictionary<string, int>.Remove(string key) => throw new NotImplementedException(); 3192bool IDictionary<int, string>.Remove(int key) => throw new NotImplementedException(); 3196bool IDictionary<string, int>.TryGetValue(string key, out int value) => throw new NotImplementedException(); 3198bool IDictionary<int, string>.TryGetValue(int key, out string value) => throw new NotImplementedException();
TagHelpersWebSite (1)
TagHelpers\DictionaryPrefixTestTagHelper.cs (1)
14public IDictionary<string, ModelExpression> PrefixValues { get; set; } = new Dictionary<string, ModelExpression>();
Templates.Blazor.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
36IDictionary<string, string> environmentVariables,
src\ProjectTemplates\Shared\Project.cs (3)
72IDictionary<string, string> environmentVariables = null) 148internal async Task RunDotNetPublishAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool noRestore = true) 173internal async Task RunDotNetBuildAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool errorOnBuildWarning = true)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Templates.Blazor.WebAssembly.Auth.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
36IDictionary<string, string> environmentVariables,
src\ProjectTemplates\Shared\Project.cs (3)
72IDictionary<string, string> environmentVariables = null) 148internal async Task RunDotNetPublishAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool noRestore = true) 173internal async Task RunDotNetBuildAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool errorOnBuildWarning = true)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Templates.Blazor.WebAssembly.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
36IDictionary<string, string> environmentVariables,
src\ProjectTemplates\Shared\Project.cs (3)
72IDictionary<string, string> environmentVariables = null) 148internal async Task RunDotNetPublishAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool noRestore = true) 173internal async Task RunDotNetBuildAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool errorOnBuildWarning = true)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Templates.Mvc.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
36IDictionary<string, string> environmentVariables,
src\ProjectTemplates\Shared\Project.cs (3)
72IDictionary<string, string> environmentVariables = null) 148internal async Task RunDotNetPublishAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool noRestore = true) 173internal async Task RunDotNetBuildAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool errorOnBuildWarning = true)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
Templates.Tests (5)
src\ProjectTemplates\Shared\AspNetProcess.cs (1)
36IDictionary<string, string> environmentVariables,
src\ProjectTemplates\Shared\Project.cs (3)
72IDictionary<string, string> environmentVariables = null) 148internal async Task RunDotNetPublishAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool noRestore = true) 173internal async Task RunDotNetBuildAsync(IDictionary<string, string> packageOptions = null, string additionalArgs = null, bool errorOnBuildWarning = true)
src\Shared\Process\ProcessEx.cs (1)
103public static ProcessEx Run(ITestOutputHelper output, string workingDirectory, string command, string args = null, IDictionary<string, string> envVars = null, TimeSpan? timeout = default)
XmlFileLogger (1)
PropertyBag.cs (1)
55public IDictionary<string, string> Properties { get { return _properties; } }
xunit.assert (2)
DictionaryAsserts.cs (2)
51 IDictionary<TKey, TValue> collection) 208 IDictionary<TKey, TValue> collection)
xunit.console (6)
common\AssemblyResolution\Microsoft.Extensions.DependencyModel\DependencyContextJsonReader.cs (1)
16private readonly IDictionary<string, string> _stringPool = new Dictionary<string, string>();
common\DictionaryExtensions.cs (3)
10public static void Add<TKey, TValue>(this IDictionary<TKey, List<TValue>> dictionary, TKey key, TValue value) 15public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 21public static TValue GetOrAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, Func<TValue> newValue)
common\Json.cs (2)
717readonly IDictionary<string, JsonValue> _data; 719public JsonObject(IDictionary<string, JsonValue> data, int line, int column)
Xunit.NetCore.Extensions (1)
AssemblyFixtureSupport\XunitTestClassRunnerWithAssemblyFixture.cs (1)
25CancellationTokenSource cancellationTokenSource, IDictionary<Type, object> collectionFixtureMappings)