5 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.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)
8public interface INameScopeDictionary : INameScope, IDictionary<string, object>
180 implementations of IDictionary
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
12public sealed class MessageProperties : IDictionary<string, object>, IDisposable
GenerateDocumentationAndConfigFiles (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Metrics (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Metrics.Legacy (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
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)
30public 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.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.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
16public sealed class DictionaryAnalysisData<TKey, TValue> : AbstractAnalysisData, IDictionary<TKey, TValue>
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Collections.Package (5)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.InteractiveHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Threading.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, 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 (3)
AdditionalPropertiesDictionary{TValue}.cs (1)
25public class AdditionalPropertiesDictionary<TValue> : IDictionary<string, TValue>, IReadOnlyDictionary<string, TValue>
Functions\AIFunctionArguments.cs (1)
29public class AIFunctionArguments : IDictionary<string, object?>, IReadOnlyDictionary<string, object?>
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>
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
574internal sealed class IntMap : IDictionary<int, ushort>
System\Windows\Media\CharacterMetricsDictionary.cs (1)
11public sealed class CharacterMetricsDictionary : IDictionary<int, CharacterMetrics>, SC.IDictionary
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
13public sealed class LanguageSpecificStringDictionary : IDictionary<XmlLanguage, string>, SC.IDictionary
System\Windows\Media\GlyphTypeface.cs (1)
1725private class GlyphIndexer : IDictionary<ushort, double>
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
25internal class ObservableDictionary : IDictionary<string, string>, INotifyPropertyChanged
MS\Internal\WeakDictionary.cs (1)
12internal class WeakDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : class
Roslyn.Diagnostics.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
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)
34IDictionary<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)
309public 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)
20public 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.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
20public sealed class ExpandoObject : IDynamicMetaObjectProvider, IDictionary<string, object?>, INotifyPropertyChanged
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
304public sealed partial class HttpRequestOptions : 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.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string, object?>>, System.Collections.Generic.IReadOnlyDictionary<string, object?>, System.Collections.IEnumerable
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>
Test.Utilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Text.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
72internal readonly partial struct ImmutableSegmentedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary, IEquatable<ImmutableSegmentedDictionary<TKey, TValue>>
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
3709 references to IDictionary
AnalyzerRunner (1)
CodeRefactoringRunner.cs (1)
241public CodeRefactoringProviderMetadata(IDictionary<string, object> data)
aspire (4)
DotNetCliRunner.cs (4)
24Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken); 189public async Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken) 208IDictionary<string, string>? finalEnv = env; 394public virtual async Task<int> ExecuteAsync(string[] args, IDictionary<string, string>? env, DirectoryInfo workingDirectory, TaskCompletionSource<IAppHostBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
Aspire.Cli.Tests (4)
DotNet\DotNetCliRunnerTests.cs (2)
273Action<string[], IDictionary<string, string>?, DirectoryInfo, TaskCompletionSource<IAppHostBackchannel>?, DotNetCliRunnerInvocationOptions> assertionCallback, 277public override Task<int> ExecuteAsync(string[] args, IDictionary<string, string>? env, DirectoryInfo workingDirectory, TaskCompletionSource<IAppHostBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
TestServices\TestDotNetCliRunner.cs (2)
19public Func<FileInfo, bool, bool, string[], IDictionary<string, string>?, TaskCompletionSource<IAppHostBackchannel>?, DotNetCliRunnerInvocationOptions, CancellationToken, Task<int>>? RunAsyncCallback { get; set; } 74public Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
Aspire.Dashboard (9)
Components\Pages\Resources.razor.cs (5)
132static bool IsKeyValueTrue(string key, IDictionary<string, bool> dictionary) => dictionary.TryGetValue(key, out var value) && value; 818public required IDictionary<string, bool> ResourceTypesToVisibility { get; set; } 819public required IDictionary<string, bool> ResourceStatesToVisibility { get; set; } 820public required IDictionary<string, bool> ResourceHealthStatusesToVisibility { get; set; } 849static string? SerializeFiltersToString(IDictionary<string, bool> filters)
Model\ResourceGraph\ResourceGraphMapper.cs (1)
16public static ResourceDto MapResource(ResourceViewModel r, IDictionary<string, ResourceViewModel> resourcesByName, IStringLocalizer<Columns> columnsLoc, bool showHiddenResources)
Model\ResourceOutgoingPeerResolver.cs (1)
102internal static bool TryResolvePeerNameCore(IDictionary<string, ResourceViewModel> resources, KeyValuePair<string, string>[] attributes, [NotNullWhen(true)] out string? name, [NotNullWhen(true)] out ResourceViewModel? resourceMatch)
Model\ResourceViewModel.cs (2)
110public static string GetResourceName(ResourceViewModel resource, IDictionary<string, ResourceViewModel> allResources, bool showHiddenResources = false) 140public static bool TryGetResourceByName(string resourceName, IDictionary<string, ResourceViewModel> resourceByName, [NotNullWhen(true)] out ResourceViewModel? resource)
Aspire.Dashboard.Tests (1)
ResourceOutgoingPeerResolverTests.cs (1)
217private static bool TryResolvePeerName(IDictionary<string, ResourceViewModel> resources, KeyValuePair<string, string>[] attributes, out string? peerName)
Aspire.EndToEnd.Tests (2)
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
14public IDictionary<string, string> EnvVars { get; init; }
tests\Shared\TemplatesTesting\ToolCommand.cs (1)
49public ToolCommand WithEnvironmentVariables(IDictionary<string, string>? extraEnvVars)
Aspire.Hosting (9)
ApplicationModel\IResourceWithParameters.cs (1)
17IDictionary<string, object?> Parameters { get; }
Dcp\Model\ExecutableReplicaSet.cs (2)
14public IDictionary<string, string>? Labels { get; set; } 18public IDictionary<string, string>? Annotations { get; set; }
Dcp\Model\ModelCommon.cs (5)
75internal static bool TryGetAnnotationAsObjectList<TValue>(IDictionary<string, string>? annotations, string annotationName, [NotNullWhen(true)] out List<TValue>? list) 103internal static void AnnotateAsObjectList<TValue>(IDictionary<string, string> annotations, string annotationName, TValue value) 299public IDictionary<string, string>? Annotations { get; set; } 353public IDictionary<string, string>? Labels { get; set; } 357public 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 (4)
AzureBicepResource.cs (1)
45IDictionary<string, object?> IResourceWithParameters.Parameters => Parameters;
AzureProvisioningResource.cs (1)
87var compilation = plan.Compile();
IResourceWithAzureFunctionsConfig.cs (1)
18void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName);
src\Aspire.Hosting\Dcp\Process\ProcessSpec.cs (1)
10public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Aspire.Hosting.Azure.CosmosDB (5)
AzureCosmosDBContainerResource.cs (1)
115void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureCosmosDBDatabaseResource.cs (1)
41void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureCosmosDBResource.cs (3)
84void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) 96internal void SetConnectionString(IDictionary<string, object> target, string connectionName, ReferenceExpression connectionStringExpression) 107internal void SetAccountEndpoint(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubConsumerGroupResource.cs (1)
37void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureEventHubResource.cs (1)
48void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureEventHubsResource.cs (2)
87void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) => 90internal void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName, string? eventHub = null, string? consumerGroup = null)
Aspire.Hosting.Azure.ServiceBus (5)
AzureServiceBusQueueResource.cs (1)
99void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureServiceBusResource.cs (2)
46void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) 89internal void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName, string? queueOrTopicName = null, string? subscriptionName = null)
AzureServiceBusSubscriptionResource.cs (1)
93void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureServiceBusTopicResource.cs (1)
69void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.Storage (4)
AzureBlobStorageResource.cs (1)
53void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureQueueStorageResource.cs (1)
53void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureStorageResource.cs (1)
78void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureTableStorageResource.cs (1)
27void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceTests.cs (1)
224public IDictionary<string, object?> Parameters { get; } = new Dictionary<string, object?>();
Aspire.Hosting.Tests (1)
Utils\Grpc\TestServerCallContext.cs (1)
55protected override IDictionary<object, object> UserStateCore => _userState;
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpRoute.cs (1)
146public static YarpRoute WithTransform(this YarpRoute route, Action<IDictionary<string, string>> createTransform)
Aspire.RabbitMQ.Client (4)
src\Components\Aspire.RabbitMQ.Client\RabbitMQEventSourceLogForwarder.cs (4)
82var exData = eventData!.Payload![1] as IDictionary<string, object?>; 110var exData = EventData.Payload[1] as IDictionary<string, object?>;
Aspire.Templates.Tests (2)
tests\Shared\TemplatesTesting\BuildEnvironment.cs (1)
14public IDictionary<string, string> EnvVars { get; init; }
tests\Shared\TemplatesTesting\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)
24public IDictionary<string, Jwt> Jwts { get; private set; } = new Dictionary<string, Jwt>(); 33Jwts = 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; }
GenerateDocumentationAndConfigFiles (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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
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; } 1110private IDictionary<object, object> _persistentState; 1185public override IDictionary<object, object> Items { get; set; } 1257IDictionary<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)
836var 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)
Metrics (38)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Metrics.Legacy (38)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
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(); 396private AuthPersistence EstablishConnectionPersistence(IDictionary<object, object?> items) 405private 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)
507public 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;
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)
PersistentState\ComponentStatePersistenceManager.cs (1)
59var data = await store.GetPersistedStateAsync();
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)
181: 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 (11)
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\CircuitPersistenceManager.cs (1)
215Task<IDictionary<string, byte[]>> IPersistentComponentStateStore.GetPersistedStateAsync() => throw new NotImplementedException();
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 (18)
Circuits\CircuitHostTest.cs (1)
793private static WebRootComponentParameters CreateWebRootComponentParameters(IDictionary<string, object> parameters = null)
Circuits\CircuitPersistenceManagerTest.cs (1)
652Task<IDictionary<string, byte[]>> IPersistentComponentStateStore.GetPersistedStateAsync() =>
Circuits\ComponentHubTest.cs (9)
153handleRegistryMock.Setup(m => m.SetCircuit(It.IsAny<IDictionary<object, object>>(), It.IsAny<object>(), It.IsAny<CircuitHost>())) 154.Callback<IDictionary<object, object>, object, CircuitHost>((circuitHandles, circuitKey, circuitHost) => 158handleRegistryMock.Setup(m => m.GetCircuit(It.IsAny<IDictionary<object, object>>(), It.IsAny<object>())) 160handleRegistryMock.Setup(m => m.GetCircuitHandle(It.IsAny<IDictionary<object, object>>(), It.IsAny<object>())) 258handleRegistryMock.Setup(m => m.SetCircuit(It.IsAny<IDictionary<object, object>>(), It.IsAny<object>(), It.IsAny<CircuitHost>())) 259.Callback<IDictionary<object, object>, object, CircuitHost>((circuitHandles, circuitKey, circuitHost) => 339public CircuitHandle GetCircuitHandle(IDictionary<object, object> circuitHandles, object circuitKey) 344public CircuitHost GetCircuit(IDictionary<object, object> circuitHandles, object circuitKey) 353public 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 (15)
ParameterViewTest.Assignment.cs (1)
713[Parameter(CaptureUnmatchedValues = true)] public IDictionary<string, object> CaptureUnmatchedValuesProp2 { get; set; }
PersistentState\ComponentStatePersistenceManagerTest.cs (4)
377public IDictionary<string, byte[]> State { get; set; } = initialState; 379public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 403public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 405return Task.FromResult(State as IDictionary<string, byte[]>);
PersistentState\PersistentServicesRegistryTest.cs (3)
282public IDictionary<string, byte[]> State { get; set; } 284public TestStore(IDictionary<string, byte[]> initialState) 289public Task<IDictionary<string, byte[]>> GetPersistedStateAsync()
PersistentStateValueProviderTests.cs (2)
674public IDictionary<string, byte[]> State { get; set; } = initialState; 676public Task<IDictionary<string, byte[]>> GetPersistedStateAsync()
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)
422public FileExtensionContentTypeProvider(IDictionary<string, string> mapping) 431public 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 (2)
RootComponent.cs (1)
31 public IDictionary<string, object?>? Parameters { get; set; }
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
69 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)
69 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)
69 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)
721IDictionary<string, object?>? extensions) 766IDictionary<string, string[]> errors, 772IDictionary<string, object?>? extensions)
TypedResults.cs (3)
764IDictionary<string, object?>? extensions) 826IDictionary<string, string[]> errors, 831IDictionary<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)
1252var 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.SystemTextJson (12)
Internal\DictionaryAdapterOfTU.cs (12)
21var dictionary = (IDictionary<TKey, TValue>)target; 47var dictionary = (IDictionary<TKey, TValue>)target; 74var dictionary = (IDictionary<TKey, TValue>)target; 100var dictionary = (IDictionary<TKey, TValue>)target; 133var dictionary = (IDictionary<TKey, TValue>)target; 179var dictionary = (IDictionary<TKey, TValue>)target;
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (34)
CustomNamingStrategyTests.cs (2)
32var 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>();
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.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 (16)
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>>(),
PrerenderComponentApplicationStoreTest.cs (1)
41var state = await store.GetPersistedStateAsync();
ProtectedPrerenderComponentApplicationStateTest.cs (1)
49var restored = await store.GetPersistedStateAsync();
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)
389[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 (55)
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\HtmlHelperLinkGenerationTest.cs (2)
159var dict = PropertyHelper.ObjectToDictionary(routeValues); 165var dict = PropertyHelper.ObjectToDictionary(routeValues);
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 (27)
Services\CreateSchemaReferenceIdTests.cs (1)
37var requestBody = operation.RequestBody.Content;
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (13)
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; 930var content = operation.RequestBody.Content; 961var content = operation.RequestBody.Content; 1025var content = operation.RequestBody.Content;
Services\OpenApiGeneratorTests.cs (2)
107var content = operation.RequestBody.Content!; 813var content = requestBody.Content!;
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (7)
23var requestBody = operation.RequestBody.Content; 60var requestBody = operation.RequestBody.Content; 105var requestBody = operation.RequestBody.Content; 144var requestBody = operation.RequestBody.Content; 183var requestBody = operation.RequestBody.Content; 236var requestBody = operation.RequestBody.Content; 271var requestBody = operation.RequestBody.Content;
Services\OpenApiSchemaService\OpenApiSchemaService.RequestBodySchemas.cs (4)
328var requestBody = operation.RequestBody.Content; 368var requestBody = operation.RequestBody.Content; 708public IDictionary<string, Parent> SelfReferenceDictionary { get; set; } = new Dictionary<string, Parent>(); 740var properties = operation.RequestBody.Content["application/x-www-form-urlencoded"].Schema.Properties;
Microsoft.AspNetCore.OutputCaching (3)
CacheVaryByRules.cs (1)
21public IDictionary<string, string> VaryByValues => _varyByValues ??= new Dictionary<string, string>();
OutputCacheKeyProvider.cs (2)
148var varyByValues = context.CacheVaryByRules.HasVaryByValues ? context.CacheVaryByRules.VaryByValues : null; 340internal static string[] GetOrderDictionaryKeys(IDictionary<string, string>? dictionary)
Microsoft.AspNetCore.Owin (66)
DictionaryStringArrayWrapper.cs (9)
26string[] IDictionary<string, string[]>.this[string key] 28get { return ((IDictionary<string, StringValues>)Inner)[key]; } 36ICollection<string> IDictionary<string, string[]>.Keys => Inner.Keys; 38ICollection<string[]> IDictionary<string, string[]>.Values => Inner.Values.Select(Convert).ToList(); 42void IDictionary<string, string[]>.Add(string key, string[] value) => Inner.Add(key, value); 48bool IDictionary<string, string[]>.ContainsKey(string key) => Inner.ContainsKey(key); 66bool IDictionary<string, string[]>.Remove(string key) => Inner.Remove(key); 68bool IDictionary<string, string[]>.TryGetValue(string key, out string[] value) 85internal ConvertingEnumerator(IDictionary<string, StringValues> inner)
DictionaryStringValuesWrapper.cs (10)
14public readonly IDictionary<string, string[]> Inner; 16public DictionaryStringValuesWrapper(IDictionary<string, string[]> inner) 37StringValues IDictionary<string, StringValues>.this[string key] 81ICollection<string> IDictionary<string, StringValues>.Keys => Inner.Keys; 83ICollection<StringValues> IDictionary<string, StringValues>.Values => Inner.Values.Select(Convert).ToList(); 87void IDictionary<string, StringValues>.Add(string key, StringValues value) => Inner.Add(key, value); 93bool IDictionary<string, StringValues>.ContainsKey(string key) => Inner.ContainsKey(key); 111bool IDictionary<string, StringValues>.Remove(string key) => Inner.Remove(key); 113bool IDictionary<string, StringValues>.TryGetValue(string key, out StringValues value) 130internal ConvertingEnumerator(IDictionary<string, string[]> inner)
IOwinEnvironmentFeature.cs (1)
14IDictionary<string, object> Environment { get; set; }
OwinEnvironment.cs (14)
71public IDictionary<string, FeatureMap> FeatureMaps => _owinEntries.GetFeatureMaps(); 73void IDictionary<string, object>.Add(string key, object value) 82bool IDictionary<string, object>.ContainsKey(string key) => ((IDictionary<string, object>)this).TryGetValue(key, out _); 84ICollection<string> IDictionary<string, object>.Keys 90bool IDictionary<string, object>.Remove(string key) 99bool IDictionary<string, object>.TryGetValue(string key, out object value) 108ICollection<object> IDictionary<string, object>.Values 113object IDictionary<string, object>.this[string key] 415{ OwinConstants.RequestHeaders, new FeatureMap<IHttpRequestFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 421{ OwinConstants.ResponseHeaders, new FeatureMap<IHttpResponseFeature>(feature => Utilities.MakeDictionaryStringArray(feature.Headers), (feature, value) => feature.Headers = Utilities.MakeHeaderDictionary((IDictionary<string, string[]>)value)) }, 464private IDictionary<string, FeatureMap> _contextEntries; 477private readonly IDictionary<string, FeatureMap> _contextDependentEntries; 507public IDictionary<string, FeatureMap> GetFeatureMaps()
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.Microbenchmarks (2)
Benchmarks\OwinEnvironmentBenchmark.cs (2)
80Action<IDictionary<string, object>> beforeOwinInvokeAction = null, 81Action<IDictionary<string, object>> afterOwinInvokeAction = null)
Microsoft.AspNetCore.Owin.Tests (25)
OwinEnvironmentTests.cs (18)
13private T Get<T>(IDictionary<string, object> environment, string key) 36IDictionary<string, object> env = new OwinEnvironment(context); 42var requestHeaders = Get<IDictionary<string, string[]>>(env, "owin.RequestHeaders"); 52var responseHeaders = Get<IDictionary<string, string[]>>(env, "owin.ResponseHeaders"); 62IDictionary<string, object> env = new OwinEnvironment(context); 71var requestHeaders = Get<IDictionary<string, string[]>>(env, "owin.RequestHeaders"); 80var responseHeaders = Get<IDictionary<string, string[]>>(env, "owin.ResponseHeaders"); 104IDictionary<string, object> env = new OwinEnvironment(context); 119IDictionary<string, object> env = new OwinEnvironment(context); 167IDictionary<string, object> env1 = new OwinEnvironment(httpContext1); 179IDictionary<string, object> env2 = new OwinEnvironment(httpContext2); 201IDictionary<string, object> owinEnvironment1 = new OwinEnvironment(httpContext1); 206IDictionary<string, object> owinEnvironment2 = new OwinEnvironment(httpContext2); 214IDictionary<string, object> owinEnvironment = new OwinEnvironment(httpContext);
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)
583internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 601private 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)
583internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 601private 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)
954public 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; } 1110private IDictionary<object, object> _persistentState; 1185public override IDictionary<object, object> Items { get; set; } 1257IDictionary<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)
583internal void GetUnknownHeaders(IDictionary<string, StringValues> unknownHeaders) 601private 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)
832private static Activity? StartActivity(string operationName, ActivityKind kind, Activity? linkedActivity, IServiceProvider serviceProvider, string methodName, IDictionary<string, string>? headers, ILogger logger) 869var 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)
559public 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)
416public FileExtensionContentTypeProvider(IDictionary<string, string> mapping) 425public 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.Framework (91)
BinaryTranslator.cs (17)
583IDictionary<string, string> copy = dictionary; 603public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys) 639public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 660ref IDictionary<K, V> dictionary, 663NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator) 719where D : IDictionary<string, T>, new() 749where D : IDictionary<string, T> 1371IDictionary<string, string> copy = dictionary; 1372TranslateDictionary(ref copy, (NodePacketCollectionCreator<IDictionary<string, string>>)null); 1386public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys) 1441public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 1461ref IDictionary<K, V> dictionary, 1464NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator) 1518where D : IDictionary<string, T>, new() 1547where D : IDictionary<string, T>
BuildCheck\EnumerableExtensions.cs (3)
72public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 85this IDictionary<TKey, TValue> dict, 112this 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 (7)
321void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys); 323void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> collectionCreator); 327void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslator<V> valueTranslator, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator); 347where D : IDictionary<string, T>, new() 359where D : IDictionary<string, T>
LoggerException.cs (2)
114protected override IDictionary<string, string?> FlushCustomState() 123protected 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 (6)
27private protected IDictionary<string, string> _propertiesToAdd; 28private protected IDictionary<string, SdkResultItem> _itemsToAdd; 29private protected IDictionary<string, string> _environmentVariablesToAdd; 63public virtual IDictionary<string, string> PropertiesToAdd { get => _propertiesToAdd; protected set => _propertiesToAdd = value; } 68public virtual IDictionary<string, SdkResultItem> ItemsToAdd { get => _itemsToAdd; protected set => _itemsToAdd = value; } 73public virtual IDictionary<string, string> EnvironmentVariablesToAdd { get => _environmentVariablesToAdd; protected set => _environmentVariablesToAdd = value; }
Sdk\SdkResultFactory.cs (10)
37IDictionary<string, string> propertiesToAdd, 38IDictionary<string, SdkResultItem> itemsToAdd, 61IDictionary<string, string> propertiesToAdd, 62IDictionary<string, SdkResultItem> itemsToAdd, 90IDictionary<string, string> propertiesToAdd, 91IDictionary<string, SdkResultItem> itemsToAdd, 93IDictionary<string, string> environmentVariablesToAdd = null) 120IDictionary<string, string> propertiesToAdd = null, 121IDictionary<string, SdkResultItem> itemsToAdd = null, 123IDictionary<string, string> environmentVariablesToAdd = null)
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)
100public 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.Sdk (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.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)
718internal 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)
ReferenceManager\CommonReferenceManager.Resolution.cs (3)
215out IDictionary<(string, string), MetadataReference> boundReferenceDirectiveMap, 793out IDictionary<(string, string), MetadataReference> boundReferenceDirectives, 798IDictionary<(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\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Microsoft.CodeAnalysis.Analyzers (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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.AnalyzerUtilities (70)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysis.CopyDataFlowOperationVisitor.cs (3)
577IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 578IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 579IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (2)
26internal CopyAnalysisData(IDictionary<AnalysisEntity, CopyAbstractValue> fromData) 200IDictionary<AnalysisEntity, CopyAbstractValue> map,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\GlobalFlowStateAnalysis\GlobalFlowStateDataFlowOperationVisitor.cs (3)
150IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 151IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 152IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PointsToAnalysis\PointsToAnalysis.PointsToDataFlowOperationVisitor.cs (3)
613IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 614IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 615IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PointsToAnalysis\PointsToAnalysisData.cs (2)
27internal PointsToAnalysisData(IDictionary<AnalysisEntity, PointsToAbstractValue> fromData, Func<ITypeSymbol?, bool> isDisposable) 122internal static void AssertValidPointsToAnalysisData(IDictionary<AnalysisEntity, PointsToAbstractValue> map, Func<ITypeSymbol?, bool> isDisposable)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysisData.cs (1)
19public TaintedDataAnalysisData(IDictionary<AnalysisEntity, TaintedDataAbstractValue> fromData)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAnalysisData.cs (1)
22internal ValueContentAnalysisData(IDictionary<AnalysisEntity, ValueContentAbstractValue> fromData)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocationDataFlowOperationVisitor.cs (1)
131protected static DictionaryAnalysisData<AbstractLocation, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AbstractLocation, TAbstractAnalysisValue> analysisData)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityBasedPredicateAnalysisData.cs (1)
26protected AnalysisEntityBasedPredicateAnalysisData(IDictionary<AnalysisEntity, TValue> fromData)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (6)
469IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 470IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 471IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues, 643IDictionary<AnalysisEntity, TAbstractAnalysisValue> existingValues, 672protected void ApplyInterproceduralAnalysisResultHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> resultToApply) 730protected DictionaryAnalysisData<AnalysisEntity, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> analysisData)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (5)
2092protected static bool EqualsHelper<TKey, TValue>(IDictionary<TKey, TValue> dict1, IDictionary<TKey, TValue> dict2) 2131IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 2132IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 2133IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (4)
28public DictionaryAnalysisData(IDictionary<TKey, TValue> initializer) 81return ((IDictionary<TKey, TValue>)_coreAnalysisData).IsReadOnly; 106return ((IDictionary<TKey, TValue>)_coreAnalysisData).Contains(item); 118((IDictionary<TKey, TValue>)_coreAnalysisData).CopyTo(array, arrayIndex);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.BannedApiAnalyzers (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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.CodeStyle (39)
src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
209IDictionary<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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.CodeStyle.Fixes (16)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
33private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 150var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 160private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 166private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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 (16)
Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
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)
172private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> CreateAliasMap() 305private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> AliasMap 309var map = _lazyAliasMap;
Symbols\ReferenceManager.cs (1)
350IDictionary<(string, string), MetadataReference>? boundReferenceDirectiveMap;
Symbols\Source\SourceAssemblySymbol.cs (2)
75private IDictionary<string, NamedTypeSymbol> _lazyForwardedTypesFromSource; 2828IDictionary<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.CodeStyle.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
2628var expectedSpans = workspace.Documents.First().AnnotatedSpans;
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (2)
ExtractMethod\ExtractMethodBase.cs (1)
162var namedSpans = testDocument.AnnotatedSpans;
RawStringLiteral\RawStringLiteralCommandHandlerTests.cs (1)
54MarkupTestFile.GetPositionAndSpans(expectedCode, out var massaged, out int? caretPosition, out var spans);
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
src\Analyzers\CSharp\Tests\RemoveUnnecessaryParentheses\RemoveUnnecessaryExpressionParenthesesTests.cs (1)
2628var expectedSpans = workspace.Documents.First().AnnotatedSpans;
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)
787IDictionary<Location, Location> reverseMappedLocations, 931IDictionary<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 sealed 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)
84IDictionary<string, ImmutableArray<TextSpan>> spans)
TextStructureNavigation\AbstractTextStructureNavigationTests.cs (1)
38var annotatedSpans = document.AnnotatedSpans;
Workspaces\EditorTestHostDocument.cs (1)
48IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\EditorTestWorkspace.cs (3)
71IDictionary<string, ImmutableArray<TextSpan>> spans, 345out var inertText, out int? markupCaretLocation, out var markupSpans); 433IDictionary<string, ImmutableArray<TextSpan>> markupSpans,
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (4)
EditorConfigSettings\Data\CodeStyleSettingsTest.cs (1)
103private readonly IDictionary<string, string> _dictionary;
InheritanceMargin\InheritanceMarginTests.cs (1)
340var annotatedSpans = testHostDocument.AnnotatedSpans;
Snippets\RoslynLSPSnippetConvertTests.cs (2)
442MarkupTestFile.GetPositionAndSpans(markup, out var text, out var cursorPosition, out IDictionary<string, ImmutableArray<TextSpan>> placeholderDictionary); 453private static ImmutableArray<SnippetPlaceholder> GetSnippetPlaceholders(string text, IDictionary<string, ImmutableArray<TextSpan>> placeholderDictionary)
Microsoft.CodeAnalysis.Extensions.Package (20)
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.Features (35)
CodeLens\CodeLensHelpers.cs (1)
12public static DocumentId? GetSourceGeneratorDocumentId(IDictionary<object, object> descriptorProperties)
Completion\CommonCompletionUtilities.cs (1)
92var sections = await symbolDisplayService.ToDescriptionGroupsAsync(semanticModel, position, [symbol], options, cancellationToken).ConfigureAwait(false);
Completion\CompletionProviderMetadata.cs (1)
11internal sealed class CompletionProviderMetadata(IDictionary<string, object> data) : OrderableLanguageMetadata(data)
Diagnostics\DiagnosticAnalyzerExtensions.cs (1)
59public 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)
6440IDictionary<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)
ExternalAccess\UnitTesting\UnitTestingFeaturesReferencesService.cs (1)
28public static DocumentId? GetSourceGeneratorDocumentId(IDictionary<object, object> descriptorProperties)
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,
InlineHints\InlineHintHelpers.cs (1)
33var groups = await symbolDisplayService.ToDescriptionGroupsAsync(
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)
292public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> BuildDescriptionSectionsAsync(ImmutableArray<ISymbol> symbolGroup) 427private IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>> BuildDescriptionSections()
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.cs (1)
45public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> ToDescriptionGroupsAsync(
LanguageServices\SymbolDisplayService\ISymbolDisplayService.cs (1)
18Task<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)
42var 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)
209IDictionary<string, IEnumerable<int>> tagIndices,
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
33private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 150var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 160private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 166private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
Microsoft.CodeAnalysis.InteractiveHost (16)
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
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)
27public 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)
221""", out _, out IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans); 524""", out _, out IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans); 573private static int[] GetRanges(IDictionary<string, ImmutableArray<TextSpan>> annotatedSpans)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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.PublicApiAnalyzers (38)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.ResxSourceGenerator (38)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
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.Threading.Package (16)
src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Microsoft.CodeAnalysis.UnitTests (32)
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 (2)
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\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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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)
217public 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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (6)
Workspaces\TestHostDocument.cs (2)
69public IDictionary<string, ImmutableArray<TextSpan>> AnnotatedSpans { get; } = new Dictionary<string, ImmutableArray<TextSpan>>(); 95IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\TestWorkspace.cs (1)
53IDictionary<string, ImmutableArray<TextSpan>> spans,
Workspaces\TestWorkspace_XmlConsumption.cs (1)
195out 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)
378out var codeWithoutMarker, out IDictionary<string, ImmutableArray<TextSpan>> namedSpans); 390out 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.Build.Manifest (11)
ArtifactModel.cs (1)
15public IDictionary<string, string> Attributes { get; set; } = new Dictionary<string, string>();
BuildIdentity.cs (1)
37public IDictionary<string, string> Attributes { get; set; } = new Dictionary<string, string>();
BuildModelFactory.cs (3)
151var attributes = MSBuildListSplitter.GetNamedProperties(manifestBuildData); 200private bool ManifestBuildDataHasLocationInformation(IDictionary<string, string> attributes) 205private void NormalizeUrisInBuildData(IDictionary<string, string> attributes)
EnumerableExtensions.cs (1)
11this IDictionary<TKey, TValue> attributes,
MSBuildListSplitter.cs (2)
11public static IDictionary<string, string> GetNamedProperties(string input) 21public static IDictionary<string, string> GetNamedProperties(string[] input)
XElementParsingExtensions.cs (3)
30this IDictionary<string, string> attributes, 41public static IDictionary<string, string> ThrowIfMissingAttributes( 42this IDictionary<string, string> attributes,
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.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)
534JsonSerializer.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 (16)
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; } 76Func<TEncoding, IDictionary<string, object?>?> argumentParser) 83IDictionary<string, object?>? arguments = null;
Functions\AIFunctionArguments.cs (3)
55public AIFunctionArguments(IDictionary<string, object?>? arguments) 80public AIFunctionArguments(IDictionary<string, object?>? arguments, IEqualityComparer<string>? comparer) 101public IDictionary<object, object?>? Context { 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;
Utilities\AIJsonUtilities.Defaults.cs (1)
84[JsonSerializable(typeof(IDictionary<string, object?>))]
Microsoft.Extensions.AI.Abstractions.Tests (3)
AssertExtensions.cs (2)
19IDictionary<string, object?>? expected, 20IDictionary<string, object?>? actual,
Functions\AIFunctionArgumentsTests.cs (1)
109IDictionary<string, object?> args = new AIFunctionArguments(new Dictionary<string, object?>
Microsoft.Extensions.AI.AzureAIInference (8)
AzureAIInferenceChatClient.cs (3)
499JsonSerializer.Serialize(callRequest.Arguments, AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object>)))))); 560(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)
19IDictionary<string, object?>? expected, 20IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.Evaluation (6)
EvaluationMetric.cs (2)
55public IDictionary<string, EvaluationContext>? Context { get; set; } 67public IDictionary<string, string>? Metadata { get; set; }
EvaluationMetricExtensions.cs (1)
127public static void AddOrUpdateMetadata(this EvaluationMetric metric, IDictionary<string, string> metadata)
EvaluationResult.cs (2)
28public IDictionary<string, EvaluationMetric> Metrics { get; set; } 44public EvaluationResult(IDictionary<string, EvaluationMetric> metrics)
EvaluationResultExtensions.cs (1)
156IDictionary<string, string> metadata)
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentHarmEvaluator.cs (1)
34public class ContentHarmEvaluator(IDictionary<string, string>? metricNames = null)
ContentSafetyEvaluator.cs (1)
36IDictionary<string, string> metricNames) : IEvaluator
Microsoft.Extensions.AI.Integration.Tests (2)
PromptBasedFunctionCallingChatClient.cs (2)
147private static void ParseArguments(IDictionary<string, object?> arguments) 193public IDictionary<string, object?>? Arguments { get; set; }
Microsoft.Extensions.AI.Ollama (8)
OllamaChatClient.cs (1)
462Arguments = JsonSerializer.SerializeToElement(fcc.Arguments, ToolCallJsonSerializerOptions.GetTypeInfo(typeof(IDictionary<string, object?>))),
OllamaFunctionToolCall.cs (1)
11public IDictionary<string, object?>? Arguments { get; set; }
OllamaFunctionToolParameters.cs (1)
12public required 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.Ollama.Tests (3)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
19IDictionary<string, object?>? expected, 20IDictionary<string, object?>? actual,
TestJsonSerializerContext.cs (1)
11[JsonSerializable(typeof(IDictionary<string, object?>))]
Microsoft.Extensions.AI.OpenAI (8)
OpenAIChatClient.cs (1)
179fc.Arguments, AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object?>))))));
OpenAIJsonContext.cs (1)
16[JsonSerializable(typeof(IDictionary<string, object?>))]
OpenAIResponseChatClient.cs (1)
542AIJsonUtilities.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.OpenAI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
19IDictionary<string, object?>? expected, 20IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
19IDictionary<string, object?>? expected, 20IDictionary<string, object?>? actual,
Microsoft.Extensions.ApiDescription.Client.Tests (23)
GetCurrentOpenApiReferenceTest.cs (2)
45var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata());
GetOpenApiReferenceMetadataTest.cs (18)
59var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 119var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 179var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 239var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 392var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 456var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 557var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 571var metadata = Assert.IsAssignableFrom<IDictionary<string, string>>(output.CloneCustomMetadata()); 584var 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.Compliance.Abstractions.Tests (1)
Classification\DataClassificationTypeConverterTests.cs (1)
180public IDictionary<string, DataClassification> Facts { get; set; } = new Dictionary<string, DataClassification>();
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)
474Type? dictionaryInterface = FindOpenGenericInterface(typeof(IDictionary<,>), type); 743(dictionaryType.GetGenericTypeDefinition() == typeof(IDictionary<,>) || dictionaryType.GetGenericTypeDefinition() == typeof(Dictionary<,>))); 1050return 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.Diagnostics.ResourceMonitoring (2)
Windows\Disk\WindowsDiskIoRatePerfCounter.cs (1)
40internal IDictionary<string, long> TotalCountDict { get; } = new ConcurrentDictionary<string, long>();
Windows\Disk\WindowsDiskIoTimePerfCounter.cs (1)
38internal IDictionary<string, double> TotalSeconds { get; } = new ConcurrentDictionary<string, double>();
Microsoft.Extensions.Features (1)
FeatureCollection.cs (1)
23private IDictionary<Type, object>? _features;
Microsoft.Extensions.Hosting (3)
HostApplicationBuilder.cs (2)
190IDictionary<object, object> IHostApplicationBuilder.Properties => _hostBuilderContext.Properties; 342public 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)
591 void ApplyQueryAttributes(IDictionary<string, object> query);
Shell\Shell.cs (2)
1021 public Task GoToAsync(ShellNavigationState state, IDictionary<string, object> parameters) 1029 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)
288 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)
56IDictionary<string, ReportDiagnostic>? ruleSetSpecificDiagnosticOptions;
Microsoft.VisualStudio.LanguageServices.Xaml (1)
Features\Formatting\XamlFormattingOptions.cs (1)
15public IDictionary<string, object> OtherOptions { get; set; }
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)
138IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope ( XmlNamespaceScope scope )
PresentationCore (48)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
680ushort IDictionary<int, ushort>.this[int i]
MS\Internal\FontFace\FontDifferentiator.cs (1)
23internal static IDictionary<XmlLanguage, string> ConstructFaceNamesByStyleWeightStretch(
MS\Internal\FontFace\IFontFamily.cs (1)
24IDictionary<XmlLanguage, string> Names
MS\Internal\FontFace\ITypefaceMetrics.cs (1)
72IDictionary<XmlLanguage, string> AdjustedFaceNames { get; }
MS\Internal\FontFace\PhysicalFontFamily.cs (4)
26private IDictionary<XmlLanguage, string> _familyNames; 39private static IDictionary<XmlLanguage, string> ConvertDictionary(IDictionary<CultureInfo, string> dictionary) 90IDictionary<XmlLanguage,string> IFontFamily.Names
MS\Internal\Shaping\CompositeFontFamily.cs (1)
94IDictionary<XmlLanguage, string> IFontFamily.Names
MS\Internal\Shaping\CompositeTypefaceMetrics.cs (1)
184public IDictionary<XmlLanguage, string> AdjustedFaceNames
MS\Internal\Shaping\TypefaceMap.cs (1)
38private IDictionary<CultureInfo, IntMap> _intMaps = new Dictionary<CultureInfo, IntMap>();
System\Windows\Media\CultureSpecificStringDictionary.cs (10)
15private IDictionary<XmlLanguage, string> _innerDictionary; 20internal LanguageSpecificStringDictionary(IDictionary<XmlLanguage, string> innerDictionary) 351protected IDictionary<XmlLanguage, string> _innerDictionary; 354internal EntryEnumerator(IDictionary<XmlLanguage, string> names) 429protected IDictionary<XmlLanguage, string> _innerDictionary; 431internal BaseCollection(IDictionary<XmlLanguage, string> names) 469internal KeyCollection(IDictionary<XmlLanguage, string> names) : base(names) 483internal KeyEnumerator(IDictionary<XmlLanguage, string> names) : base(names) 502internal ValueCollection(IDictionary<XmlLanguage, string> names) 517internal ValueEnumerator(IDictionary<XmlLanguage, string> names) : base(names)
System\Windows\Media\FamilyTypeface.cs (1)
193public IDictionary<XmlLanguage, string> AdjustedFaceNames
System\Windows\Media\GlyphTypeface.cs (26)
306public IDictionary<CultureInfo,string> FamilyNames 334public IDictionary<CultureInfo, string> FaceNames 363public IDictionary<CultureInfo, string> Win32FamilyNames 379IDictionary<XmlLanguage, string> ITypefaceMetrics.AdjustedFaceNames 385IDictionary<CultureInfo, string> adjustedFaceNames = _font.FaceNames; 386IDictionary<XmlLanguage, string> adjustedLanguageFaceNames = new Dictionary<XmlLanguage, string>(adjustedFaceNames.Count); 405public IDictionary<CultureInfo, string> Win32FaceNames 421public IDictionary<CultureInfo, string> VersionStrings 434public IDictionary<CultureInfo, string> Copyrights 447public IDictionary<CultureInfo, string> ManufacturerNames 462public IDictionary<CultureInfo, string> Trademarks 475public IDictionary<CultureInfo, string> DesignerNames 489public IDictionary<CultureInfo, string> Descriptions 504public IDictionary<CultureInfo, string> VendorUrls 517public IDictionary<CultureInfo, string> DesignerUrls 532public IDictionary<CultureInfo, string> LicenseDescriptions 546public IDictionary<CultureInfo, string> SampleTexts 823public IDictionary<ushort, double> AdvanceWidths 835public IDictionary<ushort, double> AdvanceHeights 850public IDictionary<ushort, double> LeftSideBearings 865public IDictionary<ushort, double> RightSideBearings 881public IDictionary<ushort, double> TopSideBearings 897public IDictionary<ushort, double> BottomSideBearings 909public IDictionary<ushort, double> DistancesFromHorizontalBaselineToBlackBoxBottom 921public IDictionary<int, ushort> CharacterToGlyphMap 1628private IDictionary<CultureInfo, string> GetFontInfo(MS.Internal.Text.TextInterface.InformationalStringID informationalStringID)
PresentationFramework (13)
MS\Internal\Data\CommitManager.cs (1)
157public Set(IDictionary<T, object> other)
System\Windows\Annotations\LocatorPart.cs (1)
171public IDictionary<string, string> NameValuePairs
System\Windows\Annotations\Storage\XmlStreamStore.cs (5)
89public XmlStreamStore(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces) 719private void LoadStream(IDictionary<Uri, IList<Uri>> knownNamespaces) 764private void CheckKnownNamespaces(IDictionary<Uri, IList<Uri>> knownNamespaces) 818private XmlCompatibilityReader SetupReader(IDictionary<Uri, IList<Uri>> knownNamespaces) 989private void SetStream(Stream stream, IDictionary<Uri, IList<Uri>> knownNamespaces)
System\Windows\Controls\DatePicker.cs (1)
44private IDictionary<DependencyProperty, bool> _isHandlerSuspended;
System\Windows\Documents\DocumentSequence.cs (1)
944private 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)
696if (genericTypeDefinition == typeof(System.Collections.Generic.IDictionary<,>))
System\Windows\Markup\XamlTypeMapperSchemaContext.cs (2)
381private bool SyncContainsKey<K,V>(IDictionary<K, V> dict, K key) 389private bool SyncTryGetValue(IDictionary<string, string> dict, string key, out string value)
PresentationUI (19)
MS\Internal\Documents\DigitalSignatureProvider.cs (2)
331IDictionary<X509Certificate2, CertificatePriorityStatus> IDigitalSignatureProvider.GetCertificateStatus( 390IDictionary<Guid, XpsSignatureDefinition> signatureDefinitionMap =
MS\Internal\Documents\DocumentSignatureManager.cs (2)
1335private IDictionary<SignatureResources, DigitalSignature> _digSigSigResources; 1347private IDictionary<X509Certificate2, CertificatePriorityStatus> _certificateStatusTable;
MS\Internal\Documents\IDigitalSignatureProvider.cs (1)
44IDictionary<X509Certificate2, CertificatePriorityStatus> GetCertificateStatus(IList<X509Certificate2> certificates);
MS\Internal\Documents\IRightsManagementProvider.cs (1)
120IDictionary<RightsManagementUser, RightsManagementLicense> GetAllAccessRights();
MS\Internal\Documents\RightsManagementManager.cs (3)
431IDictionary<RightsManagementUser, RightsManagementLicense> allRights = null; 1087IDictionary<RightsManagementUser, RightsManagementLicense> allRights = 1494private IDictionary<string, RightsManagementUser> _userMap;
MS\Internal\Documents\RightsManagementProvider.cs (7)
490IDictionary<RightsManagementUser, RightsManagementLicense> 501IDictionary<RightsManagementUser, IList<ContentGrant>> grantDictionary = 545IDictionary<RightsManagementUser, RightsManagementLicense> dictionary = 558(IDictionary<RightsManagementUser, RightsManagementLicense>)dictionary; 1504private IDictionary<RightsManagementUser, RightsManagementLicense> _rightsDictionary; 1509private IDictionary<RightsManagementUser, RightsManagementLicense> _lastSavedRightsDictionary; 1515private IDictionary<RightsManagementUser, RightsManagementLicense> _temporaryRightsDictionary;
MS\Internal\Documents\RMPublishingDialog.cs (1)
38IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (2)
195IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary) 205private void InitializeRightsTableContent(string ownerName, IDictionary<RightsManagementUser, RightsManagementLicense> grantDictionary)
ReachFramework (16)
MS\Internal\Printing\MostFrequentlyUsedCache.cs (1)
90private readonly IDictionary<K, Entry> _dictionary;
PrintConfig\PrintSchemaShim.cs (13)
519private static readonly IDictionary<DevModeCollate, Collation> dmCollateToQResolution = new Dictionary<DevModeCollate, Collation>(2) { 544private static readonly IDictionary<DevModeColor, OutputColor> dmColorToOutputColor = new Dictionary<DevModeColor, OutputColor>(2) { 577private static readonly IDictionary<DevModeDuplex, Duplexing> dmDuplexToDuplexing = new Dictionary<DevModeDuplex, Duplexing>(3) { 674private static readonly IDictionary<short, InputBin> dmPaperSourceToInputBin = new Dictionary<short, InputBin>(4) { 681private static IDictionary<short, PaperSourceOption> paperSourceOptions = new Dictionary<short, PaperSourceOption>() { 781private static readonly IDictionary<short, PageMediaSizeName> dmPaperSizeToPageMediaSize = new Dictionary<short, PageMediaSizeName>(101) { 910private static readonly IDictionary<uint, PageMediaType> dmMediaTypeToMediaType = new Dictionary<uint, PageMediaType>(3) { 916private static IDictionary<uint, MediaTypeOption> mediaTypeOptions = new Dictionary<uint, MediaTypeOption>() { 960private static readonly IDictionary<DevModeOrientation, PageOrientation> dmOrientationToOrientation = new Dictionary<DevModeOrientation, PageOrientation>(2) { 1028private static readonly IDictionary<short, PageQualitativeResolution> dmResToQResolution = new Dictionary<short, PageQualitativeResolution>(4) { 1035private static IDictionary<short, OutputQualityOption> outputQualityOptions = new Dictionary<short, OutputQualityOption>() { 1145private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TKey key, Action<TValue> setter) 1157private static bool TrySet<TKey, TValue>(IDictionary<TKey, TValue> dictionary, TValue value, Action<TKey> setter)
Serialization\TreeWalkProgress.cs (1)
43private IDictionary<ICyclicBrush, EmptyStruct> _cyclicBrushes = new Dictionary<ICyclicBrush, EmptyStruct>();
Serialization\XpsFontSubsetter.cs (1)
371private IDictionary<Uri, FEMCacheItem> _fontEmbeddingManagerCache;
Roslyn.Diagnostics.Analyzers (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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
Roslyn.Diagnostics.CSharp.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
640IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
Roslyn.VisualStudio.Next.UnitTests (1)
Services\ServiceHubServicesTests.cs (1)
1625var properties = endEvent.Properties;
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) 67ConstructorInfo 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)
141/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the default equality comparer for the key type. 144/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 148public OrderedDictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) 154/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the specified <see cref="IEqualityComparer{TKey}"/>. 157/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 165public OrderedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) : 266ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 278ICollection<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)
1534/// cref="IDictionary{TKey,TValue}"/>. 1545void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 1555/// cref="IDictionary{TKey,TValue}"/>. 1561/// cref="IDictionary{TKey,TValue}"/>. 1565bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _); 1602void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) => ((IDictionary<TKey, TValue>)this).Add(keyValuePair.Key, keyValuePair.Value); 1690((IDictionary<TKey, TValue>)this).Add((TKey)key, (TValue)value!); 2701private readonly IDictionary<TKey, TValue> _dictionary; 2703public 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)
334ICollection<TKey> IDictionary<TKey, TValue>.Keys => 339((IDictionary<TKey, TValue>)this).Keys; 355ICollection<TValue> IDictionary<TKey, TValue>.Values => 363((IDictionary<TKey, TValue>)this).Values; 577TValue IDictionary<TKey, TValue>.this[TKey key] 648void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 657bool 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)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys 226ICollection<TValue> IDictionary<TKey, TValue>.Values 263TValue IDictionary<TKey, TValue>.this[TKey key] 563/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 570/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>. 573/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 575void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 581/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 585/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>. 590/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 592bool IDictionary<TKey, TValue>.Remove(TKey key) 652/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 655/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 663/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 666/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (20)
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 (10)
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 (4)
65public ValidationContext(object instance, IDictionary<object, object?>? items) 87public ValidationContext(object instance, IServiceProvider? serviceProvider, IDictionary<object, object?>? items) 122public ValidationContext(object instance, string displayName, IServiceProvider? serviceProvider, IDictionary<object, object?>? items) 208public 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() 288IDictionary<string, object?> metadata = TranslateImportMetadata(productImport); 402Lazy<IDictionary<string, object?>> lazyMetadata = new Lazy<IDictionary<string, object?>>(() => TranslateExportMetadata(capturedReflectionExport)); 432private IDictionary<string, object?> TranslateImportMetadata(ContractBasedImportDefinition originalImport) 541public 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) 24public 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) 172internal static bool ConstraintEqual(IDictionary<string, object> first, IDictionary<string, object> second) 214private 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)
229public ContainerConfiguration WithExport<TExport>(TExport exportedInstance, string contractName = null, IDictionary<string, object> metadata = null) 258public 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)
32IDictionary<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 (10)
System\Diagnostics\Metrics\MetricsEventSource.cs (10)
534private bool ParseMetrics(IDictionary<string, string> arguments, out string? metricsSpecs) 546private bool ParseBase2ExponentialHistogramSpecs(IDictionary<string, string> arguments, out string? base2ExponentialHistogramSpec) 589private bool SetSharedMaxTimeSeries(IDictionary<string, string> arguments, int sharedValue, out int maxTimeSeries) 594private void SetUniqueMaxTimeSeries(IDictionary<string, string> arguments, int defaultValue, out int maxTimeSeries) 599private bool SetSharedMaxHistograms(IDictionary<string, string> arguments, int sharedValue, out int maxHistograms) 604private void SetUniqueMaxHistograms(IDictionary<string, string> arguments, int defaultValue, out int maxHistograms) 609private bool SetMaxValue(IDictionary<string, string> arguments, string argumentsKey, string valueDescriptor, int defaultValue, out int maxValue) 635private void SetRefreshIntervalSecs(IDictionary<string, string> arguments, double minValue, double defaultValue, out double refreshIntervalSeconds) 645private bool SetSharedRefreshIntervalSecs(IDictionary<string, string> arguments, double sharedValue, out double refreshIntervalSeconds) 656private bool GetRefreshIntervalSecs(IDictionary<string, string> arguments, string valueDescriptor, double defaultValue, out double refreshIntervalSeconds)
System.Diagnostics.Process (1)
artifacts\obj\System.Diagnostics.Process\Debug\net10.0\System.Diagnostics.Process.notsupported.cs (1)
228public System.Collections.Generic.IDictionary<string, string?> Environment { get { throw new System.PlatformNotSupportedException(System.SR.Process_PlatformNotSupported); } }
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 (10)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (10)
139public System.Collections.Generic.IDictionary<string, object?> Properties { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 296public System.Collections.Generic.IDictionary<string, object?> Properties { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 309object? System.Collections.Generic.IDictionary<string, object?>.this[string key] { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 310System.Collections.Generic.ICollection<string> System.Collections.Generic.IDictionary<string, object?>.Keys { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 311System.Collections.Generic.ICollection<object?> System.Collections.Generic.IDictionary<string, object?>.Values { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 322void System.Collections.Generic.IDictionary<string, object?>.Add(string key, object? value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 323bool System.Collections.Generic.IDictionary<string, object?>.ContainsKey(string key) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 324bool System.Collections.Generic.IDictionary<string, object?>.Remove(string key) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 325bool System.Collections.Generic.IDictionary<string, object?>.TryGetValue(string key, out object value) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 448public System.Collections.Generic.IDictionary<string, object?> Properties { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
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) { } 1320protected static IDictionary<string, string?>? ParseFilterData(byte[]? data)
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (6)
495public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string?>? commandArguments) 2482internal override void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments, 2604IDictionary<string, string?>? commandArguments) 4223public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary<string, string?>? arguments) 4692public IDictionary<string, string?>? Arguments { get; internal set; } 4720internal 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)
773public override IDictionary<string, object> GetValues(IEnumerable<string> keys, string regionName = null)
System\Runtime\Caching\ObjectCache.cs (2)
96public abstract IDictionary<string, object> GetValues(IEnumerable<string> keys, string regionName = null); 98public 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 (21)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (5)
162((IDictionary<string, JsonNode?>)Dictionary).Contains(item); 182((IDictionary<string, JsonNode?>)Dictionary).CopyTo(array, index); 206ICollection<string> IDictionary<string, JsonNode?>.Keys => Dictionary.Keys; 211ICollection<JsonNode?> IDictionary<string, JsonNode?>.Values => Dictionary.Values; 227bool 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 (3)
241if (extDictionary is IDictionary<string, JsonElement> dict) 254IDictionary<string, object> objDict = (IDictionary<string, object>)extDictionary;
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)
97/// Creates serialization metadata for types assignable to <see cref="IDictionary{TKey, TValue}"/>. 109where TCollection : IDictionary<TKey, TValue>
System\Text\Json\Serialization\Metadata\JsonPropertyInfo.cs (3)
852if (propValue is IDictionary<string, object?> dictionaryObjectValue) 866else if (propValue is IDictionary<string, JsonElement> dictionaryElementValue) 894void AddProperty<TValue>(ref readonly ReadStackFrame current, IDictionary<string, TValue> d, TValue value)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
1326return typeof(IDictionary<string, object>).IsAssignableFrom(propertyType) || 1327typeof(IDictionary<string, JsonElement>).IsAssignableFrom(propertyType) ||
System.Text.Json.SourceGeneration (2)
Helpers\KnownTypeSymbols.cs (1)
46public INamedTypeSymbol? IDictionaryOfTKeyTValueType => GetOrResolveType(typeof(IDictionary<,>), ref _IDictionaryOfTKeyTValueType);
src\libraries\System.Text.Json\Common\JsonHelpers.cs (1)
32public static bool TryAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TValue value) where TKey : notnull
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 (4)
ButtonBaseDesignerTests.cs (4)
18public static TheoryData<IDictionary<string, object>?> IDictionary_TheoryData => new() 20(IDictionary<string, object>?)null, 26public void ButtonBaseDesigner_InitializeNewComponent_WithDefaultButton(IDictionary<string, object>? defaultValues) 38public void ButtonBaseDesigner_InitializeNewComponent_NotInitialized(IDictionary<string, object>? defaultValues)
System.Xaml (13)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\XmlWrappingReader.cs (1)
138IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope ( XmlNamespaceScope scope )
System\Xaml\InfosetObjects\XamlXmlReader.cs (1)
203IDictionary<string, string> rootNamespaces = myXmlReaderNS.GetNamespacesInScope(XmlNamespaceScope.Local);
System\Xaml\MS\Impl\XmlNsInfo.cs (2)
437private void MakeListsImmutable(IDictionary<string, IList<string>> dict) 451private IDictionary<string, int> _subsumeCount;
System\Xaml\NameScopeDictionary.cs (7)
288object IDictionary<string, object>.this[string key] 300void IDictionary<string, object>.Add(string key, object value) 305bool IDictionary<string, object>.ContainsKey(string key) 310bool IDictionary<string, object>.Remove(string key) 315bool IDictionary<string, object>.TryGetValue(string key, out object value) 320ICollection<string> IDictionary<string, object>.Keys 328ICollection<object> IDictionary<string, object>.Values
System\Xaml\Schema\CollectionReflector.cs (1)
178Type genericIDictionary = GetGenericInterface(type, typeof(IDictionary<,>), out hasMoreThanOneIDictionary);
System\Xaml\XamlSchemaContext.cs (1)
438IDictionary<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)
Test.Utilities (38)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Text.Analyzers (50)
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\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (5)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 100ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 122TValue IDictionary<TKey, TValue>.this[TKey key] 350void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 353bool IDictionary<TKey, TValue>.Remove(TKey key)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (2)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException(); 68readonly ICollection<TValue> IDictionary<TKey, TValue>.Values => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (4)
118public SegmentedDictionary(IDictionary<TKey, TValue> dictionary) 123public SegmentedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) 234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 240ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public 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\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
827IDictionary<TType1, TType2> mapping, 838IDictionary<TType1, TType2> mapping,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
491IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public 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
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)