11 interfaces inheriting from IDictionary
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\ITempData.cs (1)
11public interface ITempData : IDictionary<string, object?>
Microsoft.AspNetCore.Http.Features (1)
IHeaderDictionary.cs (1)
11public partial interface IHeaderDictionary : IDictionary<string, StringValues>
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ITempDataDictionary.cs (1)
11public interface ITempDataDictionary : IDictionary<string, object?>
Microsoft.Build (3)
Collections\IConstrainableDictionary.cs (1)
15internal interface IConstrainableDictionary<TValue> : IDictionary<string, TValue>
Collections\ICopyOnWritePropertyDictionary.cs (1)
28internal interface ICopyOnWritePropertyDictionary<T> : IEnumerable<T>, IEquatable<ICopyOnWritePropertyDictionary<T>>, IDictionary<string, T>
Collections\RetrievableEntryHashSet\IRetrievableEntryHashSet.cs (1)
21IDictionary<string, T>
Microsoft.Maui (1)
IPersistedState.cs (1)
5 public interface IPersistedState : IDictionary<string, string?>
Microsoft.ML.GenAI.Core (1)
Utility\Cache.cs (1)
15public interface IKVCache : IDictionary<int, (Tensor, Tensor)>, IDisposable
Microsoft.TemplateEngine.Abstractions (1)
IVariableCollection.cs (1)
11public interface IVariableCollection : IDictionary<string, object>
System.ServiceModel.Primitives (1)
System\ServiceModel\Dispatcher\IMessageFilterTable.cs (1)
10public interface IMessageFilterTable<TFilterData> : IDictionary<MessageFilter, TFilterData>
System.Xaml (1)
System\Windows\Markup\INameScopeDictionary.cs (1)
8public interface INameScopeDictionary : INameScope, IDictionary<string, object>
125 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\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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\aspnetcore\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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
19internal 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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
16internal sealed class CopyOnWriteDictionary<TKey, TValue> : IDictionary<TKey, TValue> where TKey : notnull
Microsoft.Build (8)
Collections\ArrayDictionary.cs (1)
20internal class ArrayDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
Collections\PropertyDictionary.cs (1)
39internal sealed class PropertyDictionary<T> : IEnumerable<T>, ICollection<T>, IEquatable<PropertyDictionary<T>>, IPropertyProvider<T>, IDictionary<string, T>, IConstrainableDictionary<T>
Collections\ReadOnlyConvertingDictionary.cs (1)
20internal class ReadOnlyConvertingDictionary<K, V, N> : IDictionary<K, N>
src\5057ed6cf5d6323b\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\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\8b3a4ac2431f87ea\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.Build.Framework (2)
Collections\CopyOnWriteDictionary.cs (1)
29internal class CopyOnWriteDictionary<V> : IDictionary<string, V>, IDictionary, ISerializable
Collections\ReadOnlyEmptyDictionary.cs (1)
18internal class ReadOnlyEmptyDictionary<K, V> : IDictionary<K, V>, IReadOnlyDictionary<K, V>, IDictionary
Microsoft.CodeAnalysis (5)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
16public sealed class DictionaryAnalysisData<TKey, TValue> : AbstractAnalysisData, IDictionary<TKey, TValue>
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.Extensions.Package (5)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
21: Collection<KeyValuePair<TKey, TValue>>, IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
15public sealed class DictionaryAnalysisData<TKey, TValue> : AbstractAnalysisData, IDictionary<TKey, TValue>
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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)
22public class AdditionalPropertiesDictionary<TValue> : IDictionary<string, TValue>, IReadOnlyDictionary<string, TValue>
Functions\AIFunctionArguments.cs (1)
27public 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.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.BuildMetadata.Unit.Tests (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\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
17public sealed partial class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
16private struct ValueBuilder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
36internal sealed partial class SegmentedDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue>
src\roslyn\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.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)
310public 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)
32public 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)
30public sealed class Builder : IDictionary<TKey, TValue>, IReadOnlyDictionary<TKey, TValue>, IDictionary
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
19public sealed partial class ImmutableSortedDictionary<TKey, TValue> : IImmutableDictionary<TKey, TValue>, IDictionary<TKey, TValue>, IDictionary
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
9internal sealed class CycleBreakingMetadataDictionary : IDictionary<string, object>
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityTagsCollection.cs (1)
22public class ActivityTagsCollection : IDictionary<string, object?>
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
8internal sealed class DictionaryWrapper : IDictionary<string, string?>, IDictionary
System.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
20public sealed class ExpandoObject : IDynamicMetaObjectProvider, IDictionary<string, object?>, INotifyPropertyChanged
System.Net.Http (1)
System\Net\Http\HttpRequestOptions.cs (1)
15public sealed class HttpRequestOptions : IDictionary<string, object?>, IReadOnlyDictionary<string, object?>
System.Private.CoreLib (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
22public class ConcurrentDictionary<TKey, TValue> : IDictionary<TKey, TValue>, IDictionary, IReadOnlyDictionary<TKey, TValue> where TKey : notnull
src\runtime\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\runtime\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\runtime\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)
System\ServiceModel\Channels\MessageProperties.cs (1)
13public sealed class MessageProperties : IDictionary<string, object>, IDisposable
System.Speech (1)
Result\SemanticValue.cs (1)
15public sealed class SemanticValue : IDictionary<string, SemanticValue>
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
11public partial class JsonObject : IDictionary<string, JsonNode?>
3990 references to IDictionary
aspire (22)
Backchannel\ResourceSnapshotMapper.cs (1)
187public static string GetResourceName(ResourceSnapshot resource, IDictionary<string, ResourceSnapshot> allResources)
Certificates\CertificateService.cs (1)
23public required IDictionary<string, string> EnvironmentVariables { get; init; }
Commands\SettingsSchemaBuilder.cs (1)
168.Where(i => i.IsGenericType && i.GetGenericTypeDefinition() == typeof(IDictionary<,>))
DotNet\DotNetCliExecutionFactory.cs (1)
26public IDotNetCliExecution CreateExecution(string[] args, IDictionary<string, string>? env, DirectoryInfo workingDirectory, DotNetCliRunnerInvocationOptions options)
DotNet\DotNetCliRunner.cs (3)
31Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken); 101IDictionary<string, string>? env, 415public async Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
DotNet\IDotNetCliExecutionFactory.cs (1)
22IDictionary<string, string>? env,
Layout\LayoutProcessRunner.cs (3)
39IDictionary<string, string>? environmentVariables = null, 62IDictionary<string, string>? environmentVariables = null, 78IDictionary<string, string>? environmentVariables,
Program.cs (1)
827public bool Enabled(IDictionary<string, string> environmentVariables)
Projects\AppHostProjectContext.cs (1)
59public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Projects\ExtensionGuestLauncher.cs (1)
33IDictionary<string, string> environmentVariables,
Projects\GuestAppHostProject.cs (2)
1334IDictionary<string, string> environmentVariables, 1357IDictionary<string, string> environmentVariables,
Projects\GuestRuntime.cs (3)
96IDictionary<string, string> environmentVariables, 121IDictionary<string, string> environmentVariables, 135IDictionary<string, string> environmentVariables,
Projects\IAppHostProject.cs (1)
96public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Projects\IGuestProcessLauncher.cs (1)
20IDictionary<string, string> environmentVariables,
Projects\ProcessGuestLauncher.cs (1)
33IDictionary<string, string> environmentVariables,
Aspire.Cli.Tests (10)
Projects\GuestRuntimeTests.cs (2)
419public IDictionary<string, string> LastEnvironmentVariables { get; private set; } = new Dictionary<string, string>(); 425IDictionary<string, string> environmentVariables,
Templating\DotNetTemplateFactoryTests.cs (1)
534public Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
TestServices\TestDotNetCliExecutionFactory.cs (5)
24public Func<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions, IDotNetCliExecution>? CreateExecutionCallback { get; set; } 30public Action<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions>? AssertionCallback { get; set; } 54public IDotNetCliExecution CreateExecution(string[] args, IDictionary<string, string>? env, DirectoryInfo workingDirectory, DotNetCliRunnerInvocationOptions options) 82IDictionary<string, string>? env, 140Action<string[], IDictionary<string, string>?, DirectoryInfo, DotNetCliRunnerInvocationOptions> assertionCallback,
TestServices\TestDotNetCliRunner.cs (2)
23public Func<FileInfo, bool, bool, bool, string[], IDictionary<string, string>?, TaskCompletionSource<IAppHostCliBackchannel>?, DotNetCliRunnerInvocationOptions, CancellationToken, Task<int>>? RunAsyncCallback { get; set; } 102public Task<int> RunAsync(FileInfo projectFile, bool watch, bool noBuild, bool noRestore, string[] args, IDictionary<string, string>? env, TaskCompletionSource<IAppHostCliBackchannel>? backchannelCompletionSource, DotNetCliRunnerInvocationOptions options, CancellationToken cancellationToken)
Aspire.Dashboard (14)
Components\Pages\Resources.razor.cs (5)
165static bool IsKeyValueTrue(string key, IDictionary<string, bool> dictionary) => dictionary.TryGetValue(key, out var value) && value; 933public required IDictionary<string, bool> ResourceTypesToVisibility { get; set; } 934public required IDictionary<string, bool> ResourceStatesToVisibility { get; set; } 935public required IDictionary<string, bool> ResourceHealthStatusesToVisibility { get; set; } 965static string? SerializeFiltersToString(IDictionary<string, bool> filters)
Model\ExportHelpers.cs (2)
61public static ExportResult GetResourceAsJson(ResourceViewModel resource, IDictionary<string, ResourceViewModel> resourceByName) 74public static ExportResult GetEnvironmentVariablesAsEnvFile(ResourceViewModel resource, IDictionary<string, ResourceViewModel> resourceByName)
Model\ResourceGraph\ResourceGraphMapper.cs (1)
15public static ResourceDto MapResource(ResourceViewModel r, IDictionary<string, ResourceViewModel> resourcesByName, IStringLocalizer<Columns> columnsLoc, bool showHiddenResources, IconResolver iconResolver)
Model\ResourceMenuBuilder.cs (2)
76IDictionary<string, ResourceViewModel> resourceByName, 233private void AddTelemetryMenuItems(List<MenuButtonItem> menuItems, ResourceViewModel resource, IDictionary<string, ResourceViewModel> resourceByName)
Model\ResourceOutgoingPeerResolver.cs (2)
156internal static bool TryResolvePeerCore(IDictionary<string, ResourceViewModel> resources, KeyValuePair<string, string>[] attributes, [NotNullWhen(true)] out string? name, [NotNullWhen(true)] out ResourceViewModel? resourceMatch) 191private static bool TryMatchAgainstResources(string peerAddress, IDictionary<string, ResourceViewModel> resources, [NotNullWhen(true)] out string? name, [NotNullWhen(true)] out ResourceViewModel? resourceMatch)
Model\ResourceViewModel.cs (2)
157public static string GetResourceName(ResourceViewModel resource, IDictionary<string, ResourceViewModel> allResources) 182public static bool TryGetResourceByName(string resourceName, IDictionary<string, ResourceViewModel> resourceByName, [NotNullWhen(true)] out ResourceViewModel? resource)
Aspire.Dashboard.Tests (1)
ResourceOutgoingPeerResolverTests.cs (1)
223private 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 (18)
ApplicationModel\IResourceWithParameters.cs (1)
17IDictionary<string, object?> Parameters { get; }
Ats\CollectionExports.cs (9)
34public static object? DictGet(this IDictionary<string, object> dict, string key) 44public static void DictSet(this IDictionary<string, object> dict, string key, object value) 54public static bool DictRemove(this IDictionary<string, object> dict, string key) 63public static string[] DictKeys(this IDictionary<string, object> dict) 73public static bool DictHas(this IDictionary<string, object> dict, string key) 82public static int DictCount(this IDictionary<string, object> dict) 90public static void DictClear(this IDictionary<string, object> dict) 99public static object[] DictValues(this IDictionary<string, object> dict) 108public static Dictionary<string, object> DictToObject(this IDictionary<string, object> dict)
Dcp\Model\ExecutableReplicaSet.cs (2)
14public IDictionary<string, string>? Labels { get; set; } 18public IDictionary<string, string>? Annotations { get; set; }
Dcp\Model\ModelCommon.cs (5)
83internal static bool TryGetAnnotationAsObjectList<TValue>(IDictionary<string, string>? annotations, string annotationName, [NotNullWhen(true)] out List<TValue>? list) 111internal static void AnnotateAsObjectList<TValue>(IDictionary<string, string> annotations, string annotationName, TValue value) 307public IDictionary<string, string>? Annotations { get; set; } 361public IDictionary<string, string>? Labels { get; set; } 365public 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)
108IDictionary<string, object?> IResourceWithParameters.Parameters => Parameters;
AzureProvisioningResource.cs (1)
91var compilation = plan.Compile();
IResourceWithAzureFunctionsConfig.cs (1)
41void 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)
117void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureCosmosDBDatabaseResource.cs (1)
43void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureCosmosDBResource.cs (3)
132void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) 144internal void SetConnectionString(IDictionary<string, object> target, string connectionName, ReferenceExpression connectionStringExpression) 155internal void SetAccountEndpoint(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.EventHubs (4)
AzureEventHubConsumerGroupResource.cs (1)
39void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureEventHubResource.cs (1)
55void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureEventHubsResource.cs (2)
130void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) => 133internal void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName, string? eventHub = null, string? consumerGroup = null)
Aspire.Hosting.Azure.ServiceBus (5)
AzureServiceBusQueueResource.cs (1)
106void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureServiceBusResource.cs (2)
89void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName) 153internal void ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName, string? queueOrTopicName = null, string? subscriptionName = null)
AzureServiceBusSubscriptionResource.cs (1)
100void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureServiceBusTopicResource.cs (1)
76void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.Storage (5)
AzureBlobStorageResource.cs (1)
63void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureDataLakeStorageResource.cs (1)
59IDictionary<string, object> target,
AzureQueueStorageResource.cs (1)
63void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureStorageResource.cs (1)
139void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
AzureTableStorageResource.cs (1)
42void IResourceWithAzureFunctionsConfig.ApplyAzureFunctionsConfiguration(IDictionary<string, object> target, string connectionName)
Aspire.Hosting.Azure.Tests (1)
AzureEnvironmentResourceTests.cs (1)
313public IDictionary<string, object?> Parameters { get; } = new Dictionary<string, object?>();
Aspire.Hosting.Docker (3)
DockerComposeEnvironmentExtensions.cs (1)
107public static IResourceBuilder<DockerComposeEnvironmentResource> ConfigureEnvFile(this IResourceBuilder<DockerComposeEnvironmentResource> builder, Action<IDictionary<string, CapturedEnvironmentVariable>> configure)
DockerComposeEnvironmentResource.cs (1)
43internal Action<IDictionary<string, CapturedEnvironmentVariable>>? ConfigureEnvFile { get; set; }
src\Aspire.Hosting\Dcp\Process\ProcessSpec.cs (1)
10public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
Aspire.Hosting.Foundry (4)
HostedAgent\AzurePromptAgentResource.cs (1)
82public IDictionary<string, string> Metadata { get; init; } = new Dictionary<string, string>()
HostedAgent\HostedAgentConfiguration.cs (2)
29public IDictionary<string, string> Metadata { get; init; } = new Dictionary<string, string>() 105public IDictionary<string, string> EnvironmentVariables { get; init; } = new Dictionary<string, string>();
HostedAgent\PromptAgentConfiguration.cs (1)
35public IDictionary<string, string> Metadata { get; init; } = new Dictionary<string, string>()
Aspire.Hosting.RemoteHost (3)
Ats\AtsMarshaller.cs (1)
441if (genericDef == typeof(Dictionary<,>) || genericDef == typeof(IDictionary<,>) || genericDef == typeof(IReadOnlyDictionary<,>))
AtsCapabilityScanner.cs (2)
1817if (genericDef == typeof(Dictionary<,>) || genericDef == typeof(IDictionary<,>)) 2086if (genericDef == typeof(Dictionary<,>) || genericDef == typeof(IDictionary<,>))
Aspire.Hosting.RemoteHost.Tests (3)
AtsMarshallerTests.cs (3)
574var result = marshaller.UnmarshalFromJson(json, typeof(IDictionary<string, int>), context); 577var dict = Assert.IsAssignableFrom<IDictionary<string, int>>(result);
Aspire.Hosting.Tests (2)
Dcp\DcpExecutorTests.cs (1)
1383var annotations = container.Metadata.EnsureAnnotations();
Utils\Grpc\TestServerCallContext.cs (1)
55protected override IDictionary<object, object> UserStateCore => _userState;
Aspire.Hosting.Yarp (1)
ConfigurationBuilder\YarpRoute.cs (1)
198public 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)
Aspire.TypeSystem (2)
AtsConstants.cs (1)
540genericDef == typeof(IDictionary<,>) ||
AtsContext.cs (1)
130if (genericDef == typeof(Dictionary<,>) || genericDef == typeof(IDictionary<,>) ||
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>();
crossgen2 (4)
src\runtime\src\coreclr\tools\Common\CommandLineHelpers.cs (4)
248if (val is IEnumerable<string> || val is IDictionary<string, string>) 251values = ((IDictionary<string, string>)val).Values; 303if (val is IEnumerable<string> || val is IDictionary<string, string>) 306values = ((IDictionary<string, string>)val).Values;
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; } }
datacollector (1)
DataCollectorMain.cs (1)
79var argsDictionary = CommandLineArgumentsHelper.GetArgumentsDictionary(args);
datacollector.arm64 (1)
src\vstest\src\datacollector\DataCollectorMain.cs (1)
79var argsDictionary = CommandLineArgumentsHelper.GetArgumentsDictionary(args);
dotnet (21)
CommandFactory\CommandResolution\LockFileTargetExtensions.cs (2)
32IDictionary<string, LockFileTargetLibrary> libraryLookup) 84IDictionary<string, LockFileTargetLibrary> libraryLookup,
CommandFactory\CommandResolution\MuxerCommandSpecMaker.cs (1)
10internal static CommandSpec CreatePackageCommandSpecUsingMuxer(string commandPath, IEnumerable<string> commandArguments, IDictionary<string, string>? environment = null)
CommandFactory\CommandSpec.cs (2)
10public class CommandSpec(string path, string? args, IDictionary<string, string>? environmentVariables = null) 16public IDictionary<string, string> EnvironmentVariables { get; } = environmentVariables ?? new Dictionary<string, string>();
Commands\Hidden\InternalReportInstallSuccess\InternalReportInstallSuccessCommand.cs (1)
50public void TrackEvent(string eventName, IDictionary<string, string?>? properties)
Commands\MSBuild\MSBuildLogger.cs (1)
231private static void TrackEvent(ITelemetryClient? telemetry, string eventName, IDictionary<string, string?> eventProperties, string[]? toBeHashed = null)
Commands\New\BuiltInTemplatePackageProvider.cs (1)
92IDictionary<string, (string path, SemanticVersion version)> bestVersionsByBucket = new Dictionary<string, (string path, SemanticVersion version)>();
Commands\Run\RunCommandSelector.cs (1)
368out var targetOutputs);
Commands\Run\VirtualProjectBuildingCommand.cs (2)
404static Action<IDictionary<string, string>> AddRestoreGlobalProperties(ReadOnlyDictionary<string, string>? restoreProperties) 1203public ProjectInstance CreateProjectInstance(ProjectCollection projectCollection, Action<IDictionary<string, string>>? addGlobalProperties)
Commands\Workload\Restore\WorkloadRestoreCommand.cs (1)
94targetOutputs: out var targetOutputs);
Telemetry\ITelemetryClient.cs (1)
10void TrackEvent(string eventName, IDictionary<string, string?>? properties);
Telemetry\TelemetryClient.cs (4)
276public void TrackEvent(string eventName, IDictionary<string, string?>? properties) 289public void ThreadBlockingTrackEvent(string eventName, IDictionary<string, string?>? properties) 299private static void TrackEventTask(string eventName, IDictionary<string, string?>? properties) 314private static ActivityTagsCollection MakeTags(IDictionary<string, string?> eventProperties)
ToolPackage\ILocalToolsResolverCache.cs (1)
11IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap);
ToolPackage\LocalToolsResolverCache.cs (1)
33IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap)
ToolPackage\ToolConfiguration.cs (2)
15IDictionary<string, PackageIdentity>? ridSpecificPackages = null, 71public IDictionary<string, PackageIdentity>? RidSpecificPackages { get; }
dotnet-aot (10)
src\sdk\src\Cli\dotnet\CommandFactory\CommandResolution\MuxerCommandSpecMaker.cs (1)
10internal static CommandSpec CreatePackageCommandSpecUsingMuxer(string commandPath, IEnumerable<string> commandArguments, IDictionary<string, string>? environment = null)
src\sdk\src\Cli\dotnet\CommandFactory\CommandSpec.cs (2)
10public class CommandSpec(string path, string? args, IDictionary<string, string>? environmentVariables = null) 16public IDictionary<string, string> EnvironmentVariables { get; } = environmentVariables ?? new Dictionary<string, string>();
src\sdk\src\Cli\dotnet\Telemetry\ITelemetryClient.cs (1)
10void TrackEvent(string eventName, IDictionary<string, string?>? properties);
src\sdk\src\Cli\dotnet\Telemetry\TelemetryClient.cs (4)
276public void TrackEvent(string eventName, IDictionary<string, string?>? properties) 289public void ThreadBlockingTrackEvent(string eventName, IDictionary<string, string?>? properties) 299private static void TrackEventTask(string eventName, IDictionary<string, string?>? properties) 314private static ActivityTagsCollection MakeTags(IDictionary<string, string?> eventProperties)
src\sdk\src\Cli\dotnet\ToolPackage\ILocalToolsResolverCache.cs (1)
11IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap);
src\sdk\src\Cli\dotnet\ToolPackage\LocalToolsResolverCache.cs (1)
33IDictionary<RestoredCommandIdentifier, ToolCommand> restoredCommandMap)
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 (70)
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.CodeDom\Microsoft\VBCodeProvider.cs (3)
38public VBCodeProvider(IDictionary<string, string> providerOptions) 156private IDictionary<string, string> _provOptions; 358internal VBCodeGenerator(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 (29)
_generated\1\JwtSerializerContext.Jwt.g.cs (3)
253var info10 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 268AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt).GetProperty("CustomClaims", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 271properties[10] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info10);
_generated\13\JwtSerializerContext.GetJsonTypeInfo.g.cs (2)
38if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>)) 42if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
_generated\5\JwtSerializerContext.IDictionaryStringJwt.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>? _IDictionaryStringJwt; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> IDictionaryStringJwt 22get => _IDictionaryStringJwt ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> Create_IDictionaryStringJwt(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>, string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>(options, info); 47private void IDictionaryStringJwtSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.Authentication.JwtBearer.Tools.Jwt>? value)
_generated\6\JwtSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
Helpers\Jwt.cs (2)
15public IDictionary<string, string> CustomClaims { get; set; } = new Dictionary<string, string>(); 25IDictionary<string, string> customClaims = null)
Helpers\JwtSerializerOptions.cs (1)
21[JsonSerializable(typeof(IDictionary<string, Jwt>))]
Helpers\JwtStore.cs (1)
24public IDictionary<string, Jwt> Jwts { get; private set; } = new Dictionary<string, Jwt>();
dotnet-user-secrets (16)
_generated\0\SecretManagerJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\3\SecretManagerJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
22if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
Internal\ReadableJsonConfigurationSource.cs (1)
20public IDictionary<string, string> CurrentData => Data;
Internal\SecretsStore.cs (4)
25private readonly IDictionary<string, string> _secrets; 86protected virtual IDictionary<string, string> Load(string userSecretsId) 96internal static string Serialize(IDictionary<string, string> secrets) 103[JsonSerializable(typeof(IDictionary<string, string>))]
GenerateDocumentationAndConfigFiles (49)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
516IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
12internal sealed class WorkspaceServiceMetadata(IDictionary<string, object> data) : ILayeredServiceMetadata
GetDocument.Insider (3)
src\d0e903376af13807\HostFactoryResolver.cs (3)
67IDictionary<string, Action<object?>>? arbitraryActions = null) 208private readonly IDictionary<string, Action<object?>>? _arbitraryActions; 218IDictionary<string, Action<object?>>? arbitraryActions)
ilc (4)
src\runtime\src\coreclr\tools\Common\CommandLineHelpers.cs (4)
248if (val is IEnumerable<string> || val is IDictionary<string, string>) 251values = ((IDictionary<string, string>)val).Values; 303if (val is IEnumerable<string> || val is IDictionary<string, string>) 306values = ((IDictionary<string, string>)val).Values;
ILCompiler.Compiler (12)
Compiler\Logger.cs (2)
56IDictionary<int, bool> warningsAsErrors, 72public Logger(TextWriter writer, ILProvider ilProvider, bool isVerbose, IEnumerable<int> suppressedWarnings, bool singleWarn, IEnumerable<string> singleWarnEnabledModules, IEnumerable<string> singleWarnDisabledModules, IEnumerable<string> suppressedCategories, bool treatWarningsAsErrors, IDictionary<int, bool> warningsAsErrors, bool disableGeneratedCodeHeuristics)
Compiler\ObjectWriter\CoffObjectWriter.Aot.cs (1)
262private protected override void EmitDebugSections(IDictionary<Utf8String, SymbolDefinition> definedSymbols)
Compiler\ObjectWriter\MachObjectWriter.Aot.cs (1)
70partial void EmitCompactUnwindTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols)
Compiler\ObjectWriter\ObjectWriter.Aot.cs (1)
71private protected abstract void EmitDebugSections(IDictionary<Utf8String, SymbolDefinition> definedSymbols);
Compiler\ObjectWriter\UnixObjectWriter.Aot.cs (1)
283private protected override void EmitDebugSections(IDictionary<Utf8String, SymbolDefinition> definedSymbols)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\CoffObjectWriter.cs (1)
218IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\ElfObjectWriter.cs (1)
273IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
521IDictionary<Utf8String, SymbolDefinition> definedSymbols, 884partial void EmitCompactUnwindTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\ObjectWriter.cs (1)
281IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
372private protected override void EmitSymbolTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols, SortedSet<Utf8String> undefinedSymbols)
ILCompiler.ReadyToRun (7)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\CoffObjectWriter.cs (1)
218IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\ElfObjectWriter.cs (1)
273IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\MachObjectWriter.cs (2)
521IDictionary<Utf8String, SymbolDefinition> definedSymbols, 884partial void EmitCompactUnwindTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols);
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\ObjectWriter.cs (1)
281IDictionary<Utf8String, SymbolDefinition> definedSymbols,
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
372private protected override void EmitSymbolTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols, SortedSet<Utf8String> undefinedSymbols)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (1)
1164private protected override void EmitSymbolTable(IDictionary<Utf8String, SymbolDefinition> definedSymbols, SortedSet<Utf8String> undefinedSymbols)
illink (2)
Microsoft.Analyzers.Local (1)
ApiLifecycle\Json\JsonObject.cs (1)
19private readonly IDictionary<string, JsonValue> _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)
391IDictionary<object, object> IHostApplicationBuilder.Properties => ((IHostApplicationBuilder)_hostApplicationBuilder).Properties;
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.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.Components (25)
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 (5)
16private IDictionary<string, byte[]>? _existingState; 17private readonly IDictionary<string, byte[]> _currentState; 23IDictionary<string, byte[]> currentState, 36internal void InitializeExistingState(IDictionary<string, byte[]> existingState, RestoreContext context) 243internal void UpdateExistingState(IDictionary<string, byte[]> state, RestoreContext context)
PersistentState\ComponentStatePersistenceManager.cs (1)
72var data = await store.GetPersistedStateAsync();
src\aspnetcore\src\Http\Routing\src\DefaultInlineConstraintResolver.cs (1)
21private readonly IDictionary<string, Type> _inlineConstraintMap;
src\aspnetcore\src\Http\Routing\src\ParameterPolicyActivator.cs (2)
18IDictionary<string, Type> inlineParameterPolicyMap, 70IDictionary<string, Type> inlineParameterPolicyMap,
src\aspnetcore\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\aspnetcore\src\Http\Routing\src\RouteConstraintMatcher.cs (1)
45IDictionary<string, IRouteConstraint> constraints,
src\aspnetcore\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\aspnetcore\src\Http\Routing\src\Tree\InboundRouteEntry.cs (1)
30public IDictionary<string, IRouteConstraint> Constraints { get; set; }
src\aspnetcore\src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
Microsoft.AspNetCore.Components.Endpoints (194)
_generated\20\BrowserOptionsJsonContext.InteractiveServerBrowserOptions.g.cs (3)
113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> 128AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.InteractiveServerBrowserOptions).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>(options, info3);
_generated\22\BrowserOptionsJsonContext.WebAssemblyBrowserOptions.g.cs (4)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 108AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Components.WebAssemblyBrowserOptions).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info2); 139global::System.Collections.Generic.IDictionary<string, string> __value_EnvironmentVariables = ((global::Microsoft.AspNetCore.Components.WebAssemblyBrowserOptions)value).EnvironmentVariables;
_generated\25\BrowserOptionsJsonContext.IDictionaryStringJsonElement.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>? _IDictionaryStringJsonElement; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> IDictionaryStringJsonElement 22get => _IDictionaryStringJsonElement ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> Create_IDictionaryStringJsonElement(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>, string, global::System.Text.Json.JsonElement>(options, info); 47private void IDictionaryStringJsonElementSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>? value)
_generated\26\BrowserOptionsJsonContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\34\BrowserOptionsJsonContext.GetJsonTypeInfo.g.cs (2)
54if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Text.Json.JsonElement>)) 58if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
_generated\48\JsonTempDataSerializerContext.IDictionaryStringNullableBoolean.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>>? _IDictionaryStringNullableBoolean; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> IDictionaryStringNullableBoolean 22get => _IDictionaryStringNullableBoolean ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, bool?>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> Create_IDictionaryStringNullableBoolean(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, bool?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool?>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, bool?>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, bool?>, string, bool?>(options, info); 47private void IDictionaryStringNullableBooleanSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, bool?>? value)
_generated\49\JsonTempDataSerializerContext.IDictionaryStringBoolean.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>>? _IDictionaryStringBoolean; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> IDictionaryStringBoolean 22get => _IDictionaryStringBoolean ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, bool>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> Create_IDictionaryStringBoolean(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, bool>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, bool>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, bool>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, bool>, string, bool>(options, info); 47private void IDictionaryStringBooleanSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, bool>? value)
_generated\50\JsonTempDataSerializerContext.IDictionaryStringNullableDateTime.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>? _IDictionaryStringNullableDateTime; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> IDictionaryStringNullableDateTime 22get => _IDictionaryStringNullableDateTime ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> Create_IDictionaryStringNullableDateTime(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>, string, global::System.DateTime?>(options, info); 47private void IDictionaryStringNullableDateTimeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>? value)
_generated\51\JsonTempDataSerializerContext.IDictionaryStringDateTime.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>? _IDictionaryStringDateTime; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> IDictionaryStringDateTime 22get => _IDictionaryStringDateTime ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> Create_IDictionaryStringDateTime(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.DateTime>, string, global::System.DateTime>(options, info); 47private void IDictionaryStringDateTimeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.DateTime>? value)
_generated\52\JsonTempDataSerializerContext.IDictionaryStringNullableGuid.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>? _IDictionaryStringNullableGuid; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> IDictionaryStringNullableGuid 22get => _IDictionaryStringNullableGuid ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid?>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> Create_IDictionaryStringNullableGuid(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid?>, string, global::System.Guid?>(options, info); 47private void IDictionaryStringNullableGuidSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Guid?>? value)
_generated\53\JsonTempDataSerializerContext.IDictionaryStringGuid.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>? _IDictionaryStringGuid; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> IDictionaryStringGuid 22get => _IDictionaryStringGuid ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> Create_IDictionaryStringGuid(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::System.Guid>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::System.Guid>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::System.Guid>, string, global::System.Guid>(options, info); 47private void IDictionaryStringGuidSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::System.Guid>? value)
_generated\54\JsonTempDataSerializerContext.IDictionaryStringNullableInt32.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>>? _IDictionaryStringNullableInt32; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> IDictionaryStringNullableInt32 22get => _IDictionaryStringNullableInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, int?>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> Create_IDictionaryStringNullableInt32(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, int?>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int?>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, int?>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, int?>, string, int?>(options, info); 47private void IDictionaryStringNullableInt32SerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, int?>? value)
_generated\55\JsonTempDataSerializerContext.IDictionaryStringInt32.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>>? _IDictionaryStringInt32; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> IDictionaryStringInt32 22get => _IDictionaryStringInt32 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, int>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> Create_IDictionaryStringInt32(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, int>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, int>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, int>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, int>, string, int>(options, info); 47private void IDictionaryStringInt32SerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, int>? value)
_generated\56\JsonTempDataSerializerContext.IDictionaryStringObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>? _IDictionaryStringObject; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> IDictionaryStringObject 22get => _IDictionaryStringObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, object>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> Create_IDictionaryStringObject(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, object>, string, object>(options, info);
_generated\57\JsonTempDataSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\68\JsonTempDataSerializerContext.GetJsonTypeInfo.g.cs (10)
70if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool?>)) 74if (type == typeof(global::System.Collections.Generic.IDictionary<string, bool>)) 78if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime?>)) 82if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.DateTime>)) 86if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid?>)) 90if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::System.Guid>)) 94if (type == typeof(global::System.Collections.Generic.IDictionary<string, int?>)) 98if (type == typeof(global::System.Collections.Generic.IDictionary<string, int>)) 102if (type == typeof(global::System.Collections.Generic.IDictionary<string, object>)) 106if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
BrowserConfiguration\InteractiveServerBrowserOptions.cs (1)
44public IDictionary<string, JsonElement> Extensions { get; } = new Dictionary<string, JsonElement>();
BrowserConfiguration\WebAssemblyBrowserOptions.cs (1)
29public IDictionary<string, string> EnvironmentVariables { get; } = new Dictionary<string, string>();
DependencyInjection\ITempDataProvider.cs (2)
16IDictionary<string, object?> LoadTempData(HttpContext context); 21void SaveTempData(HttpContext context, IDictionary<string, object?> values);
DependencyInjection\TempDataService.cs (1)
24public IDictionary<string, object?> Load(HttpContext httpContext)
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();
src\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
src\aspnetcore\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)
TempData\CookieTempDataProvider.cs (3)
41public IDictionary<string, object?> LoadTempData(HttpContext context) 92var convertedData = _tempDataSerializer.DeserializeData(dataFromCookie); 115public void SaveTempData(HttpContext context, IDictionary<string, object?> values)
TempData\ITempDataSerializer.cs (3)
10public IDictionary<string, object?> DeserializeData(IDictionary<string, JsonElement> data); 12public byte[] SerializeData(IDictionary<string, object?> data);
TempData\JsonTempDataSerializer.cs (15)
12public IDictionary<string, object?> DeserializeData(IDictionary<string, JsonElement> data) 117var dictionaryInterface = type.GetInterface(typeof(IDictionary<,>).Name); 142public byte[] SerializeData(IDictionary<string, object?> data) 151return JsonSerializer.SerializeToUtf8Bytes<IDictionary<string, object?>>(normalizedData, JsonTempDataSerializerContext.Default.Options); 178[JsonSerializable(typeof(IDictionary<string, int>))] 179[JsonSerializable(typeof(IDictionary<string, bool>))] 180[JsonSerializable(typeof(IDictionary<string, string>))] 181[JsonSerializable(typeof(IDictionary<string, Guid>))] 182[JsonSerializable(typeof(IDictionary<string, DateTime>))] 184[JsonSerializable(typeof(IDictionary<string, int?>))] 185[JsonSerializable(typeof(IDictionary<string, bool?>))] 186[JsonSerializable(typeof(IDictionary<string, Guid?>))] 187[JsonSerializable(typeof(IDictionary<string, DateTime?>))] 192[JsonSerializable(typeof(IDictionary<string, object?>))]
TempData\SessionStorageTempDataProvider.cs (3)
24public IDictionary<string, object?> LoadTempData(HttpContext context) 40var convertedData = _tempDataSerializer.DeserializeData(dataFromSession); 55public void SaveTempData(HttpContext context, IDictionary<string, object?> values)
TempData\TempData.cs (10)
14private Func<IDictionary<string, object?>>? _loadFunc; 17internal TempData(Func<IDictionary<string, object?>> loadFunc) 28var dataToLoad = _loadFunc(); 87public IDictionary<string, object?> Save() 97public void Load(IDictionary<string, object?> data) 115ICollection<string> IDictionary<string, object?>.Keys => Data.Keys; 117ICollection<object?> IDictionary<string, object?>.Values => Data.Values; 122void IDictionary<string, object?>.Add(string key, object? value) 127bool IDictionary<string, object?>.TryGetValue(string key, out object? value) 139((IDictionary<string, object?>)this).Add(item.Key, item.Value);
Microsoft.AspNetCore.Components.Server (11)
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)
237Task<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\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
src\aspnetcore\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.Web (1)
Forms\InputFile.cs (1)
32public IDictionary<string, object>? AdditionalAttributes { get; set; }
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\aspnetcore\src\Shared\Components\PrerenderComponentApplicationStore.cs (2)
46public Task<IDictionary<string, byte[]>> GetPersistedStateAsync() 48return Task.FromResult((IDictionary<string, byte[]>)ExistingState);
Microsoft.AspNetCore.Components.WebAssembly.Authentication (2)
Models\RemoteUserAccount.cs (1)
20public IDictionary<string, object> AdditionalProperties { get; set; } = default!;
Options\OidcProviderOptions.cs (1)
68public IDictionary<string, string> AdditionalProviderParameters { get; } = new Dictionary<string, string>();
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
103private static void RemoveUnwantedEnvironmentVariables(IDictionary<string, string?> environment)
Microsoft.AspNetCore.Components.WebView (20)
_generated\12\SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
48if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>))
_generated\7\SourceGenerationContext.IDictionaryStringStaticWebAssetNode.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>? _IDictionaryStringStaticWebAssetNode; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> IDictionaryStringStaticWebAssetNode 24get => _IDictionaryStringStaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> Create_IDictionaryStringStaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>, string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>(options, info); 49private void IDictionaryStringStaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>? value)
FileExtensionContentTypeProvider.cs (2)
422public FileExtensionContentTypeProvider(IDictionary<string, string> mapping) 431public IDictionary<string, string> Mappings { get; private set; }
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (4)
327[JsonSerializable(typeof(IDictionary<string, StaticWebAssetNode>))] 379var parsed = JsonSerializer.Deserialize(ref reader, SourceGenerationContext.DefaultWithConverter.IDictionaryStringStaticWebAssetNode)!; 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)
213protected 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.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.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\aspnetcore\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)
58public IDictionary<string, DataClassification> RouteParameterDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase); 67public IDictionary<string, DataClassification> RequestHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase); 76public IDictionary<string, DataClassification> ResponseHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(StringComparer.OrdinalIgnoreCase);
Logging\RequestHeadersLogEnricherOptions.cs (1)
26public 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.HeaderParsing (2)
HeaderParsingOptions.cs (2)
22public IDictionary<string, StringValues> DefaultValues { get; set; } = new Dictionary<string, StringValues>(StringComparer.OrdinalIgnoreCase); 40public 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.Hosting (15)
_generated\12\SourceGenerationContext.GetJsonTypeInfo.g.cs (1)
48if (type == typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>))
_generated\7\SourceGenerationContext.IDictionaryStringStaticWebAssetNode.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>? _IDictionaryStringStaticWebAssetNode; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> IDictionaryStringStaticWebAssetNode 24get => _IDictionaryStringStaticWebAssetNode ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> Create_IDictionaryStringStaticWebAssetNode(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>, string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>(options, info); 49private void IDictionaryStringStaticWebAssetNodeSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, global::Microsoft.AspNetCore.StaticWebAssets.ManifestStaticWebAssetFileProvider.StaticWebAssetNode>? value)
src\aspnetcore\src\Shared\StaticWebAssets\ManifestStaticWebAssetFileProvider.cs (4)
327[JsonSerializable(typeof(IDictionary<string, StaticWebAssetNode>))] 379var parsed = JsonSerializer.Deserialize(ref reader, SourceGenerationContext.DefaultWithConverter.IDictionaryStringStaticWebAssetNode)!; 385IDictionary<string, StaticWebAssetNode> newChildren, 386IDictionary<string, StaticWebAssetNode> existing)
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\aspnetcore\src\Http\Shared\CookieHeaderParserShared.cs (1)
18public static bool TryParseValues(StringValues values, IDictionary<string, string> store, bool supportsMultipleValues)
src\aspnetcore\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\aspnetcore\src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
15/// 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)
60/// Gets the <see cref="IDictionary{TKey, TValue}"/> for extension members. 71public 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\aspnetcore\src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\aspnetcore\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.Connections (2)
Internal\HttpConnectionContext.cs (2)
47private IDictionary<object, object?>? _items; 178public override IDictionary<object, object?> Items
Microsoft.AspNetCore.Http.Connections.Client (3)
HttpConnection.cs (1)
95public 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 (40)
_generated\1\ProblemDetailsJsonContext.HttpValidationProblemDetails.g.cs (6)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string[]>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Http.HttpValidationProblemDetails).GetProperty("Errors", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string[]>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string[]>>(options, info0); 180var info6 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 195AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 198properties[6] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info6);
_generated\12\ProblemDetailsJsonContext.GetJsonTypeInfo.g.cs (2)
30if (type == typeof(global::System.Collections.Generic.IDictionary<string, object>)) 34if (type == typeof(global::System.Collections.Generic.IDictionary<string, string[]>))
_generated\2\ProblemDetailsJsonContext.ProblemDetails.g.cs (3)
158var info5 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 173AttributeProviderFactory = static () => typeof(global::Microsoft.AspNetCore.Mvc.ProblemDetails).GetProperty("Extensions", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 176properties[5] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info5);
_generated\3\ProblemDetailsJsonContext.IDictionaryStringObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>? _IDictionaryStringObject; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> IDictionaryStringObject 22get => _IDictionaryStringObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, object>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> Create_IDictionaryStringObject(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, object>, string, object>(options, info);
_generated\4\ProblemDetailsJsonContext.IDictionaryStringStringArray.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>>? _IDictionaryStringStringArray; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> IDictionaryStringStringArray 22get => _IDictionaryStringStringArray ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string[]>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> Create_IDictionaryStringStringArray(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string[]>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string[]>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string[]>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string[]>, string, string[]>(options, info); 47private void IDictionaryStringStringArraySerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string[]>? value)
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Converters\DictionaryAdapters\DictionaryBufferAdapter.cs (1)
9where TDictionaryType : IDictionary<TKey, TValue>, new()
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\ConcreteTypeDictionaryConverterFactory.cs (1)
45where TCustomDictionary : TDictionary, IDictionary<TKey, TValue>, new()
src\aspnetcore\src\Components\Endpoints\src\FormMapping\Factories\Dictionary\TypedDictionaryConverterFactory.cs (6)
35var _ when type == (typeof(IDictionary<TKey, TValue>)) => true, 61var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null => true, 92var _ when type == (typeof(IDictionary<TKey, TValue>)) => 93new DictionaryConverter<IDictionary<TKey, TValue>, 95IDictionary<TKey, TValue>, 143var _ when type.IsAssignableTo(typeof(IDictionary<TKey, TValue>)) && type.GetConstructor(Type.EmptyTypes) != null =>
src\aspnetcore\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.Identity (1)
SignInManager.cs (1)
1093var items = auth?.Properties?.Items;
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.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)
39public 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\aspnetcore\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) 1986IDictionary<string, object?>? extensions = null)
Formatters\TextOutputFormatter.cs (2)
18private IDictionary<string, string>? _outputMediaTypeCache; 35private IDictionary<string, string> OutputMediaTypeCache
Infrastructure\ControllerActionInvoker.cs (2)
530IDictionary<string, object?>? actionParameters, 578public 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)
92if (values is IDictionary<string, object> dictionaryValues)
src\aspnetcore\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\aspnetcore\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.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.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.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.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.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.Testing (17)
_generated\0\CustomJsonSerializerContext.IDictionaryStringString.g.cs (10)
15private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 21public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 24get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 27private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 29if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 31var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 39jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 49private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\3\CustomJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
24if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
DeferredHostBuilder.cs (1)
13public IDictionary<object, object> Properties { get; } = new Dictionary<object, object>();
src\d0e903376af13807\HostFactoryResolver.cs (3)
67IDictionary<string, Action<object?>>? arbitraryActions = null) 208private readonly IDictionary<string, Action<object?>>? _arbitraryActions; 218IDictionary<string, Action<object?>>? arbitraryActions)
WebApplicationFactory.cs (2)
437var data = JsonSerializer.Deserialize(File.ReadAllBytes(file), CustomJsonSerializerContext.Default.IDictionaryStringString)!; 450[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)
169private static IDictionary<string, object> CreateHtmlAttributes( 193private static IDictionary<string, object> MergeHtmlAttributes( 198var htmlAttributes = HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributesObject); 408var htmlAttributes = 443var 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.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; 345internal 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.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\aspnetcore\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\aspnetcore\src\Shared\Debugger\DictionaryDebugView.cs (2)
11private readonly IDictionary<TKey, TValue> _dict; 13public DictionaryDebugView(IDictionary<TKey, TValue> dictionary)
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.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.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\aspnetcore\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\aspnetcore\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.Server.HttpSys (17)
src\aspnetcore\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\aspnetcore\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\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (11)
18private IDictionary<string, StringValues>? _extra; 30private IDictionary<string, StringValues> Extra 44StringValues IDictionary<string, StringValues>.this[string key] 66private void GetUnknownHeaders(IDictionary<string, StringValues> extra) 71void IDictionary<string, StringValues>.Add(string key, StringValues value) 110ICollection<StringValues> IDictionary<string, StringValues>.Values 147((IDictionary<string, StringValues>)this).Add(item.Key, item.Value); 161return ((IDictionary<string, StringValues>)this).TryGetValue(item.Key, out var value) && Equals(value, item.Value); 241return ((IDictionary<string, StringValues>)this).Contains(item) && 242((IDictionary<string, StringValues>)this).Remove(item.Key); 252return ((IDictionary<string, StringValues>)this).GetEnumerator();
UrlPrefixCollection.cs (1)
17private readonly IDictionary<int, UrlPrefix> _prefixes = new Dictionary<int, UrlPrefix>(1);
Microsoft.AspNetCore.Server.IIS (16)
src\aspnetcore\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\aspnetcore\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\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (11)
18private IDictionary<string, StringValues>? _extra; 30private IDictionary<string, StringValues> Extra 44StringValues IDictionary<string, StringValues>.this[string key] 66private void GetUnknownHeaders(IDictionary<string, StringValues> extra) 71void IDictionary<string, StringValues>.Add(string key, StringValues value) 110ICollection<StringValues> IDictionary<string, StringValues>.Values 147((IDictionary<string, StringValues>)this).Add(item.Key, item.Value); 161return ((IDictionary<string, StringValues>)this).TryGetValue(item.Key, out var value) && Equals(value, item.Value); 241return ((IDictionary<string, StringValues>)this).Contains(item) && 242((IDictionary<string, StringValues>)this).Remove(item.Key); 252return ((IDictionary<string, StringValues>)this).GetEnumerator();
Microsoft.AspNetCore.Server.IntegrationTesting (8)
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\aspnetcore\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.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.Transport.NamedPipes (3)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<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\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
src\aspnetcore\src\Servers\Kestrel\shared\TransportMultiplexedConnection.cs (2)
13private IDictionary<object, object?>? _items; 36public override IDictionary<object, object?> Items
src\aspnetcore\src\Servers\Kestrel\shared\TransportMultiplexedConnection.FeatureCollection.cs (1)
19IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (3)
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.cs (2)
16private IDictionary<object, object?>? _items; 44public override IDictionary<object, object?> Items
src\aspnetcore\src\Servers\Kestrel\shared\TransportConnection.FeatureCollection.cs (1)
28IDictionary<object, object?> IConnectionItemsFeature.Items
Microsoft.AspNetCore.SignalR.Common (1)
Protocol\HubInvocationMessage.cs (1)
16public IDictionary<string, string>? Headers { get; set; }
Microsoft.AspNetCore.SignalR.Core (6)
HubCallerContext.cs (1)
32public abstract IDictionary<object, object?> Items { get; }
HubConnectionContext.cs (1)
167public virtual IDictionary<object, object?> Items => _connectionContext.Items;
Internal\DefaultHubCallerContext.cs (1)
33public override IDictionary<object, object?> Items => _connection.Items;
Internal\DefaultHubDispatcher.cs (3)
933private static Activity? StartActivity(string operationName, ActivityKind kind, Activity? linkedActivity, IServiceProvider serviceProvider, string methodName, IDictionary<string, string>? headers, ILogger logger, HubConnectionContext? connection = null) 975var headers = (IDictionary<string, string>)carrier!;
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\aspnetcore\src\SignalR\common\testassets\Tests.Utils\TestClient.cs (4)
102public async Task<IList<HubMessage>> StreamAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args) 194public Task<string> SendInvocationAsync(string methodName, IDictionary<string, string> headers, params object[] args) 204public Task<string> SendInvocationAsync(string methodName, bool nonBlocking, IDictionary<string, string> headers, params object[] args) 220public Task<string> SendStreamInvocationAsync(string methodName, string[] streamIds, IDictionary<string, string> headers, params object[] args)
Microsoft.AspNetCore.SpaServices.Extensions (2)
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.TestHost (3)
src\d0e903376af13807\HostFactoryResolver.cs (3)
67IDictionary<string, Action<object?>>? arbitraryActions = null) 208private readonly IDictionary<string, Action<object?>>? _arbitraryActions; 218IDictionary<string, Action<object?>>? arbitraryActions)
Microsoft.AspNetCore.WebUtilities (1)
QueryHelpers.cs (1)
44public static string AddQueryString(string uri, IDictionary<string, string?> queryString)
Microsoft.Build (336)
BackEnd\BuildManager\BuildParameters.cs (3)
363public IDictionary<string, string> BuildProcessEnvironment => BuildProcessEnvironmentInternal; 465public IDictionary<string, string> EnvironmentProperties 500public IDictionary<string, string> GlobalProperties
BackEnd\BuildManager\BuildRequestData.cs (3)
109public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices) 124public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, 143public BuildRequestData(string projectFullPath, IDictionary<string, string?> globalProperties, string? toolsVersion, string[] targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
BackEnd\BuildManager\GlobalPropertiesLookup.cs (2)
25private GlobalPropertiesLookup(IDictionary<string, ProjectPropertyInstance> backingProperties) 30private readonly IDictionary<string, ProjectPropertyInstance> _backingProperties;
BackEnd\BuildManager\LegacyThreadingData.cs (1)
28private readonly IDictionary<int, Tuple<AutoResetEvent, ManualResetEvent>> _legacyThreadingEventsById = new Dictionary<int, Tuple<AutoResetEvent, ManualResetEvent>>();
BackEnd\BuildManager\RequestedProjectState.cs (3)
19private IDictionary<string, List<string>> _itemFilters; 33public IDictionary<string, List<string>> ItemFilters 133private static IDictionary<string, List<string>> CreateItemMetadataDictionary(int capacity)
BackEnd\Client\MSBuildClient.cs (2)
540IDictionary<string, string?>? baseOverrides = DotnetHostEnvironmentHelper.CreateDotnetRootEnvironmentOverrides(); 541IDictionary<string, string?>? environmentOverrides = baseOverrides;
BackEnd\Components\BuildRequestEngine\BuildRequestEntry.cs (2)
409public IDictionary<int, BuildResult> Continue() 417IDictionary<int, BuildResult> ret = _outstandingResults;
BackEnd\Components\Caching\ConfigCache.cs (1)
367IDictionary<int, BuildRequestConfiguration> configurationsById = _byId;
BackEnd\Components\Caching\ResultsCache.cs (2)
50internal IDictionary<int, BuildResult> ResultsDictionary 242IDictionary<int, BuildResult> localReference = _resultsByConfiguration;
BackEnd\Components\Communications\INodeLauncher.cs (1)
28IDictionary<string, string?>? EnvironmentOverrides = null);
BackEnd\Components\Communications\LogMessagePacket.cs (3)
372var metadata = ReadMetadata(reader); 381private static IDictionary<string, string> ReadMetadata(BinaryReader reader) 389var list = ArrayDictionary<string, string>.Create(count);
BackEnd\Components\Communications\NodeProviderOutOfProcTaskHost.cs (1)
818var dotnetOverrides = DotnetHostEnvironmentHelper.CreateDotnetRootEnvironmentOverrides(dotnetHostPath);
BackEnd\Components\Logging\BuildEventArgTransportSink.cs (2)
88public IDictionary<int, ISet<string>> WarningsAsErrorsByProject 106public IDictionary<int, ISet<string>> WarningsAsMessagesByProject
BackEnd\Components\Logging\ILoggingService.cs (1)
672void LogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties);
BackEnd\Components\Logging\LoggingService.cs (5)
239private IDictionary<WarningsConfigKey, ISet<string>> _warningsAsErrorsByProject; 244private IDictionary<WarningsConfigKey, ISet<string>> _warningsNotAsErrorsByProject; 249private IDictionary<WarningsConfigKey, ISet<string>> _warningsAsMessagesByProject; 731private ICollection<string> GetWarningsForProject(BuildEventContext context, IDictionary<WarningsConfigKey, ISet<string>> warningsByProject, ISet<string> warnings) 786private void AddWarningsAsMessagesOrErrors(ref IDictionary<WarningsConfigKey, ISet<string>> warningsByProject, BuildEventContext buildEventContext, ISet<string> codes)
BackEnd\Components\Logging\LoggingServiceLogMethods.cs (3)
355IDictionary<string, string> environmentProperties = _componentHost?.BuildParameters?.BuildProcessEnvironment; 645IDictionary<string, string> globalProperties = buildRequestConfiguration.GlobalProperties.ToDictionary(); 864public void LogTelemetry(BuildEventContext buildEventContext, string eventName, IDictionary<string, string> properties)
BackEnd\Components\RequestBuilder\IntrinsicTasks\IntrinsicTaskFactory.cs (1)
50public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
BackEnd\Components\RequestBuilder\IntrinsicTasks\ItemGroupLoggingHelper.cs (1)
209if (customMetadata is IDictionary<string, string> customMetadataDictionary)
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
657IList<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = result.TargetOutputsPerProject;
BackEnd\Components\RequestBuilder\RequestBuilder.cs (3)
57private IDictionary<int, BuildResult> _continueResults; 1027IDictionary<int, BuildResult> results = _continueResults; 1478private void SetEnvironmentVariableBlock(IDictionary<string, string> savedEnvironment)
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (8)
922private static void DiffHashtables<K, V>(IDictionary<K, V> h1, IDictionary<K, V> h2, out List<K> commonKeys, out List<K> uniqueKeysInH1, out List<K> uniqueKeysInH2) where K : class, IEquatable<K> where V : class 1260private IDictionary<string, object> _uniqueTargetInputs = 1261(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase)); 1266private IDictionary<string, object> _uniqueTargetOutputs = 1267(s_sortInputsOutputs ? (IDictionary<string, object>)new SortedDictionary<string, object>(StringComparer.OrdinalIgnoreCase) : (IDictionary<string, object>)new Dictionary<string, object>(StringComparer.OrdinalIgnoreCase));
BackEnd\Components\RequestBuilder\TaskHost.cs (6)
651public void LogTelemetry(string eventName, IDictionary<string, string> properties) 979List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = null; 986targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(1); 1148List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = null; 1163targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(1) 1221targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(results.Length);
BackEnd\Components\SdkResolution\SdkResult.cs (6)
34IDictionary<string, string> propertiesToAdd = null, IDictionary<string, SdkResultItem> itemsToAdd = null, IDictionary<string, string> environmentVariablesToAdd = null) 50public SdkResult(SdkReference sdkReference, IEnumerable<string> paths, string version, IDictionary<string, string> propertiesToAdd, 51IDictionary<string, SdkResultItem> itemsToAdd, IEnumerable<string> warnings, IDictionary<string, string> environmentVariablesToAdd = null)
BackEnd\Components\SdkResolution\SdkResultFactory.cs (10)
38IDictionary<string, string> propertiesToAdd, 39IDictionary<string, SdkResultItem> itemsToAdd, 47IDictionary<string, string> propertiesToAdd, 48IDictionary<string, SdkResultItem> itemsToAdd, 56IDictionary<string, string> propertiesToAdd, 57IDictionary<string, SdkResultItem> itemsToAdd, 59IDictionary<string, string> environmentVariablesToAdd = null) 66IDictionary<string, string> propertiesToAdd = null, 67IDictionary<string, SdkResultItem> itemsToAdd = null, 69IDictionary<string, string> environmentVariablesToAdd = null)
BackEnd\Shared\BuildAbortedException.cs (2)
77protected override IDictionary<string, string> FlushCustomState() 85protected override void InitializeCustomState(IDictionary<string, string> state)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1074private HashSet<string> GetProjectTargets(IDictionary<string, ProjectTargetInstance> projectTargets) => projectTargets.Keys.ToHashSet();
BackEnd\Shared\BuildResult.cs (2)
406public IDictionary<string, TargetResult> ResultsByTarget 673IDictionary<string, string>? savedEnvironmentVariables = _savedEnvironmentVariables;
BackEnd\Shared\IBuildResults.cs (1)
31IDictionary<string, TargetResult> ResultsByTarget { get; }
BackEnd\TaskExecutionHost\TaskExecutionHost.cs (1)
560public bool SetTaskParameters(IDictionary<string, (string, ElementLocation)> parameters)
BuildCheck\Infrastructure\CheckContext\CheckLoggingContext.cs (1)
53foreach ((string, IDictionary<string, string>) telemetryTransportData in KnownTelemetry.BuildCheckTelemetry.ProcessBuildCheckTracingData(data))
Collections\ArrayDictionary.cs (1)
33public static IDictionary<TKey, TValue> Create(int capacity)
Collections\CopyOnWritePropertyDictionary.cs (9)
67ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys; 72ICollection<T> IDictionary<string, T>.Values => ((IDictionary<string, T>)_backing).Values; 215IDictionary<string, T> otherDict = other; 254void IDictionary<string, T>.Add(string key, T value) 264bool IDictionary<string, T>.ContainsKey(string key) => _backing.ContainsKey(key); 269bool IDictionary<string, T>.TryGetValue(string key, out T value) => _backing.TryGetValue(key, out value); 280((IDictionary<string, T>)this).Add(item.Key, item.Value);
Collections\IConstrainableDictionary.cs (1)
10/// Represents an <see cref="IDictionary{String, TValue}"/> that supports use of an
Collections\IValueDictionaryConverter.cs (1)
17IDictionary<string, string> ToReadOnlyDictionary();
Collections\PropertyDictionary.cs (12)
114ICollection<string> IDictionary<string, T>.Keys 121ICollection<T> IDictionary<string, T>.Values 169T IDictionary<string, T>.this[string name] 221return ((IDictionary<string, T>)this).ContainsKey(name); 368void IDictionary<string, T>.Add(string key, T value) 379bool IDictionary<string, T>.ContainsKey(string key) 390bool IDictionary<string, T>.Remove(string key) 398bool IDictionary<string, T>.TryGetValue(string key, out T value) 414((IDictionary<string, T>)this).Add(item.Key, item.Value); 455return ((IDictionary<string, T>)this).Remove(item.Key); 464return ((IDictionary<string, T>)this).TryGetValue(item.Key, out T existingItem) && 577internal IDictionary<string, string> ToReadOnlyDictionary()
Collections\ReadOnlyConvertingDictionary.cs (2)
25private readonly IDictionary<K, V> _backing; 35internal ReadOnlyConvertingDictionary(IDictionary<K, V> backing, Func<V, N> converter)
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (2)
293T IDictionary<string, T>.this[string name] 592void IDictionary<string, T>.Add(string key, T item)
Construction\ProjectRootElement.cs (1)
1789internal static ProjectRootElement OpenProjectOrSolution(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion, ProjectRootElementCacheBase projectRootElementCache, bool isExplicitlyLoaded)
Construction\ProjectTaskElement.cs (1)
136public IDictionary<string, string> Parameters
Construction\Solution\SolutionProjectGenerator.cs (6)
127private readonly IDictionary<string, string> _globalProperties; 174IDictionary<string, string> globalProperties, 213IDictionary<string, string> globalProperties, 357internal static string PredictActiveSolutionConfigurationName(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 677private static string DetermineLikelyActiveSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 2136private IDictionary<string, string> GetMetaprojectGlobalProperties(ProjectInstance traversalProject)
Definition\Project.cs (31)
172public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 186public Project(IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, NewProjectFileOptions newProjectFileOptions) 214public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion) 230public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 247public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 265public Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 270private Project(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 308public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion) 324public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 341public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 359public Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 364private Project(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 401public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion) 418public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 436public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 455public Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings) 460private Project(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, ProjectLoadSettings loadSettings, 628public IDictionary<string, string> GlobalProperties => implementation.GlobalProperties; 677public IDictionary<string, List<string>> ConditionedProperties => implementation.ConditionedProperties; 683public IDictionary<string, ProjectItemDefinition> ItemDefinitions => implementation.ItemDefinitions; 723public IDictionary<string, ProjectTargetInstance> Targets => implementation.Targets; 1915public ProjectImpl(Project owner, ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings) 1939public ProjectImpl(Project owner, XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) 1974public ProjectImpl(Project owner, string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext) 2177public override IDictionary<string, string> GlobalProperties 2229public override IDictionary<string, List<string>> ConditionedProperties 2247public override IDictionary<string, ProjectItemDefinition> ItemDefinitions 2345public override IDictionary<string, ProjectTargetInstance> Targets 3818internal void Initialize(IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectLoadSettings loadSettings, EvaluationContext evaluationContext, bool interactive) 4135public IDictionary<string, List<TargetSpecification>> BeforeTargets { get; set; } 4140public IDictionary<string, List<TargetSpecification>> AfterTargets { get; set; }
Definition\ProjectCollection.cs (13)
240public ProjectCollection(IDictionary<string, string> globalProperties) 253public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, ToolsetDefinitionLocations toolsetDefinitionLocations) 272public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents) 292public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly) 314/// This constructor disables target output logging, so TerminalLogger and other loggers may not work well. Prefer <see cref="ProjectCollection(IDictionary{string, string}, IEnumerable{ILogger}, IEnumerable{ForwardingLoggerRecord}, ToolsetDefinitionLocations, int, bool, bool, bool, bool, bool)"/> instead to control this behavior. 317public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache) : 340public ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache, bool enableTargetOutputLogging) 363private ProjectCollection(IDictionary<string, string> globalProperties, IEnumerable<ILogger> loggers, ToolsetDefinitionLocations toolsetDefinitionLocations, int maxNodeCount, bool onlyLogCriticalEvents, bool loadProjectsReadOnly, bool useAsynchronousLogging, bool reuseProjectRootElementCache, bool enableTargetOutputLogging) 622public IDictionary<string, string> GlobalProperties 1253public Project LoadProject(string fileName, IDictionary<string, string> globalProperties, string toolsVersion) 1364public Project LoadProject(XmlReader xmlReader, IDictionary<string, string> globalProperties, string toolsVersion) 2031internal Project GetMatchingProjectIfAny(string fullPath, IDictionary<string, string> globalProperties, string toolsVersion) 2131private static bool HasEquivalentGlobalPropertiesAndToolsVersion(Project project, IDictionary<string, string> globalProperties, string toolsVersion)
Definition\ProjectOptions.cs (1)
22public IDictionary<string, string> GlobalProperties { get; set; }
Definition\SubToolset.cs (1)
67public IDictionary<string, ProjectPropertyInstance> Properties
Definition\Toolset.cs (8)
176public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, string msbuildOverrideTasksPath) 193public Toolset(string toolsVersion, string toolsPath, IDictionary<string, string> buildProperties, ProjectCollection projectCollection, IDictionary<string, SubToolset> subToolsets, string msbuildOverrideTasksPath) 252IDictionary<string, SubToolset> subToolsets, 389public IDictionary<string, ProjectPropertyInstance> Properties 405public IDictionary<string, SubToolset> SubToolsets 545public string GenerateSubToolsetVersion(IDictionary<string, string> overrideGlobalProperties, int solutionVersion) 724internal string GenerateSubToolsetVersionUsingVisualStudioVersion(IDictionary<string, string> overrideGlobalProperties, int visualStudioVersionFromSolution)
Errors\InternalLoggerException.cs (2)
146protected override IDictionary<string, string> FlushCustomState() 156protected override void InitializeCustomState(IDictionary<string, string> state)
Errors\InvalidProjectFileException.cs (2)
132protected override IDictionary<string, string> FlushCustomState() 148protected override void InitializeCustomState(IDictionary<string, string> state)
Errors\InvalidToolsetDefinitionException.cs (2)
113protected override IDictionary<string, string> FlushCustomState() 121protected override void InitializeCustomState(IDictionary<string, string> state)
Evaluation\Evaluator.cs (2)
1348((IDictionary<string, ProjectPropertyInstance>)_data.GlobalPropertiesDictionary).ContainsKey(propertyElement.Name) && 1938if (sdkResult?.EnvironmentVariablesToAdd is IDictionary<string, string> sdkEnvironmentVariablesToAdd && sdkEnvironmentVariablesToAdd.Count > 0)
Evaluation\IEvaluatorData.cs (2)
124IDictionary<string, List<TargetSpecification>> BeforeTargets 133IDictionary<string, List<TargetSpecification>> AfterTargets
Evaluation\LazyItemEvaluator.cs (1)
491private void AddReferencedItemList(string itemType, IDictionary<string, LazyItemList> referencedItemLists)
Evaluation\LazyItemEvaluator.EvaluatorData.cs (2)
44public IDictionary<string, List<TargetSpecification>> AfterTargets 57public IDictionary<string, List<TargetSpecification>> BeforeTargets
Evaluation\PropertyTrackingEvaluatorDataWrapper.cs (2)
148public IDictionary<string, List<TargetSpecification>> BeforeTargets { get => _wrapped.BeforeTargets; set => _wrapped.BeforeTargets = value; } 149public IDictionary<string, List<TargetSpecification>> AfterTargets { get => _wrapped.AfterTargets; set => _wrapped.AfterTargets = value; }
Graph\GraphBuilder.cs (3)
388SolutionConfigurationInSolution SelectSolutionConfiguration(SolutionFile solutionFile, IDictionary<string, string> globalProperties) 474IDictionary<ProjectGraphNode, NodeVisitationState> nodeState) 674private static PropertyDictionary<ProjectPropertyInstance> CreatePropertyDictionary(IDictionary<string, string> properties)
Graph\GraphBuildRequestData.cs (2)
71public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild, HostServices? hostServices) 84public GraphBuildRequestData(string projectFullPath, IDictionary<string, string> globalProperties, ICollection<string> targetsToBuild, HostServices? hostServices, BuildRequestDataFlags flags)
Graph\ProjectGraph.cs (4)
205public ProjectGraph(string entryProjectFile, IDictionary<string, string> globalProperties) 222public ProjectGraph(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties) 243public ProjectGraph(string entryProjectFile, IDictionary<string, string> globalProperties, ProjectCollection projectCollection) 264public ProjectGraph(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties, ProjectCollection projectCollection)
Graph\ProjectGraphEntryPoint.cs (3)
31public ProjectGraphEntryPoint(string projectFile, IDictionary<string, string> globalProperties) 47public IDictionary<string, string> GlobalProperties { get; } 57internal static IEnumerable<ProjectGraphEntryPoint> CreateEnumerable(IEnumerable<string> entryProjectFiles, IDictionary<string, string> globalProperties)
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (7)
21protected readonly IDictionary<string, TCached> _projectElements; 25IDictionary<string, TCached> projectElements, 26IDictionary<(string, int, int), TCached> constrainedProjectElements, 107private readonly IDictionary<string, TCached> _projectElements; 108private readonly IDictionary<(string, int, int), TCached> _constrainedProjectElements; 112IDictionary<string, TCached> projectElements, 113IDictionary<(string, int, int), TCached> constrainedProjectElements,
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (3)
31private readonly IDictionary<string, string> _globalProperties; 36IDictionary<string, string> globalProperties, 133public IDictionary<string, string> ToReadOnlyDictionary() => new System.Collections.ObjectModel.ReadOnlyDictionary<string, string>(_globalProperties);
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (2)
21private readonly IDictionary<string, ICollection<TCached>> _itemsByType; 27IDictionary<string, ICollection<TCached>> itemsByType,
Instance\ImmutableProjectCollections\ImmutableProjectMetadataCollectionConverter.cs (2)
27private readonly IDictionary<string, ProjectMetadata> _properties; 36IDictionary<string, ProjectMetadata> properties)
Instance\ImmutableProjectCollections\ImmutableProjectPropertyCollectionConverter.cs (2)
25IDictionary<string, ProjectProperty> projectElements, 26IDictionary<(string, int, int), ProjectProperty> constrainedProjectElements,
Instance\ProjectInstance.cs (53)
93private IDictionary<string, ProjectTargetInstance> _targets; 189private IDictionary<string, List<TargetSpecification>> _beforeTargets; 190private IDictionary<string, List<TargetSpecification>> _afterTargets; 233public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion) 250public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 268public ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection) 285internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, EvaluationContext context, bool interactive = false) 309private ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, 357public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ProjectCollection projectCollection) 376public ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection) 553private ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, string subToolsetVersion, ProjectCollection projectCollection, 573/// <param name="globalProperties">An <see cref="IDictionary{String,String}"/> containing global properties.</param> 574internal ProjectInstance(string projectFile, ProjectInstance projectToInheritFrom, IDictionary<string, string> globalProperties) 630internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId) 645internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, ILoggingService loggingService, int visualStudioVersionFromSolution, ProjectCollection projectCollection, ISdkResolverService sdkResolverService, int submissionId) 656internal ProjectInstance(string projectFile, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId, ProjectLoadSettings? projectLoadSettings) 672internal ProjectInstance(ProjectRootElement xml, IDictionary<string, string> globalProperties, string toolsVersion, BuildParameters buildParameters, ILoggingService loggingService, BuildEventContext buildEventContext, ISdkResolverService sdkResolverService, int submissionId) 977IDictionary<string, ProjectItemDefinition> linkedProjectItemDefinitions = linkedProject.ItemDefinitions; 980out IDictionary<string, ProjectItemDefinition> elementsDictionary, 981out IDictionary<(string, int, int), ProjectItemDefinition> constrainedElementsDictionary); 995var itemsByType = linkedProject.Items as IDictionary<string, ICollection<ProjectItem>>; 1046if (projectItemDefinition.Metadata is IDictionary<string, ProjectMetadata> linkedMetadataDict) 1068out IDictionary<string, ProjectProperty> elementsDictionary, 1069out IDictionary<(string, int, int), ProjectProperty> constrainedElementsDictionary); 1098out IDictionary<string, TCached> elementsDictionary, 1099out IDictionary<(string, int, int), TCached> constrainedElementsDictionary) 1110if (elementsCollection is not IDictionary<string, TCached> elementsDict || 1111elementsCollection is not IDictionary<(string, int, int), TCached> constrainedElementsDict) 1128public IDictionary<string, string> GlobalProperties 1281public IDictionary<string, ProjectItemDefinitionInstance> ItemDefinitions 1339public IDictionary<string, ProjectTargetInstance> Targets 1582IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.BeforeTargets 1592IDictionary<string, List<TargetSpecification>> IEvaluatorData<ProjectPropertyInstance, ProjectItemInstance, ProjectMetadataInstance, ProjectItemDefinitionInstance>.AfterTargets 1983if (sdkResult?.EnvironmentVariablesToAdd is IDictionary<string, string> sdkEnvironmentVariablesToAdd && sdkEnvironmentVariablesToAdd.Count > 0) 2342IDictionary<string, TargetResult> targetOutputs; 2359public bool Build(string[] targets, IEnumerable<ILogger> loggers, out IDictionary<string, TargetResult> targetOutputs) 2377public bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, out IDictionary<string, TargetResult> targetOutputs) 2846internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, int maxNodeCount, out IDictionary<string, TargetResult> targetOutputs) 2902internal bool Build(string[] targets, IEnumerable<ILogger> loggers, IEnumerable<ForwardingLoggerRecord> remoteLoggers, ILoggingService loggingService, out IDictionary<string, TargetResult> targetOutputs) 3048IDictionary<string, string> globalProperties, 3101IDictionary<string, string> globalProperties, 3185private static ObjectModel.ReadOnlyDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary, StringComparer strComparer) 3205private static IDictionary<string, TValue> CreateCloneDictionary<TValue>(IDictionary<string, TValue> dictionary) where TValue : class, IKeyed 3244IDictionary<string, string> globalProperties, 3383IDictionary<string, ProjectTargetInstance> targets, 3386IDictionary<string, List<TargetSpecification>> beforeTargets, 3387IDictionary<string, List<TargetSpecification>> afterTargets) 3397IDictionary<string, List<TargetSpecification>> beforeTargets, 3398IDictionary<string, List<TargetSpecification>> afterTargets) 3573if (item.DirectMetadata is IDictionary<string, ProjectMetadata> metadataDict) 3607private void CreateItemDefinitionsSnapshot(IDictionary<string, ProjectItemDefinition> itemDefinitions)
Instance\ProjectTaskInstance.cs (3)
233public IDictionary<string, string> Parameters 247internal IDictionary<string, (string, ElementLocation)> TestGetParameters => _parameters; 377IDictionary<string, (string, ElementLocation)> localParameters = _parameters;
Instance\TaskFactories\AssemblyTaskFactory.cs (6)
115public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) 138public bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) 181public ITask CreateTask(IBuildEngine taskFactoryLoggingHost, IDictionary<string, string> taskIdentityParameters) 240IDictionary<string, TaskPropertyInfo> taskParameters, 759public bool Initialize(string taskName, TaskHostParameters factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Instance\TaskFactories\RegisteredTaskFactory.cs (1)
65public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) => true;
Instance\TaskFactories\TaskHostTask.cs (2)
132private IDictionary<string, object> _setParameters; 332(IDictionary<string, string>)_taskEnvironment.GetEnvironmentVariables(),
Instance\TaskRegistry.cs (4)
223internal IDictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>> TaskRegistrations 1616private IDictionary<string, TaskPropertyInfo> _usingTaskParameters; 1652internal IDictionary<string, TaskPropertyInfo> UsingTaskParameters 1927IDictionary<RegisteredTaskIdentity, List<RegisteredTaskRecord>> copy = _taskRegistrations;
Logging\BaseConsoleLogger.cs (2)
474internal void WriteEnvironment(IDictionary<string, string> environment) 508internal virtual void OutputEnvironment(IDictionary<string, string> environment)
Logging\BinaryLogger\BuildEventArgsReader.cs (12)
484private IDictionary<string, string> GetNameValueList(int id) 494var dictionary = ArrayDictionary<string, string>.Create(list.Length); 613var environment = ReadStringDictionary(); 641IDictionary<string, string>? globalProperties = null; 749IDictionary<string, string>? globalProperties = null; 1289var rawTracingData = ReadStringDictionary() ?? new Dictionary<string, string>(); 1372IDictionary<string, string?>? extendedMetadata = ReadStringDictionary()!; 1505IDictionary<string, string>? properties = ReadStringDictionary(); 1550private IDictionary<string, string>? ReadStringDictionary() 1563var record = GetNameValueList(index); 1567private IDictionary<string, string>? ReadLegacyStringDictionary() 1590var metadata = ReadStringDictionary();
Logging\BinaryLogger\ExtendedDataFields.cs (2)
10public ExtendedDataFields(string extendedType, IDictionary<string, string?>? extendedMetadata, string? extendedData) 18public IDictionary<string, string?>? ExtendedMetadata { get; }
Logging\ParallelLogger\ParallelConsoleLogger.cs (1)
790internal override void OutputEnvironment(IDictionary<string, string> environment)
Logging\ProfilerLogger.cs (5)
174IDictionary<EvaluationLocation, EvaluationLocation> originalLocations, 175IDictionary<long, long> mergeMap, 176IDictionary<EvaluationLocation, ProfiledLocation> aggregatedLocations, 216IDictionary<EvaluationLocation, ProfiledLocation> aggregatedLocations) 240private static long? FindBigEnoughParentId(IDictionary<long, KeyValuePair<EvaluationLocation, ProfiledLocation>> idTable,
ObjectModelRemoting\ConstructionObjectLinks\ProjectTaskElementLink.cs (1)
18public abstract IDictionary<string, string> Parameters { get; }
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (4)
40public abstract IDictionary<string, string> GlobalProperties { get; } 55public abstract IDictionary<string, List<string>> ConditionedProperties { get; } 60public abstract IDictionary<string, ProjectItemDefinition> ItemDefinitions { get; } 85public abstract IDictionary<string, ProjectTargetInstance> Targets { get; }
src\5057ed6cf5d6323b\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\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\5057ed6cf5d6323b\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\5057ed6cf5d6323b\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\697a1c9088572269\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\8b3a4ac2431f87ea\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\msbuild\src\Shared\OutOfProcTaskHostTaskResult.cs (3)
30internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams) 57internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams, Exception taskException, string exceptionMessage, string[] exceptionMessageArgs) 101public IDictionary<string, Object> FinalParameterValues
src\msbuild\src\Shared\TaskHostBuildResponse.cs (3)
56List<IDictionary<string, ITaskItem[]>>? result = null; 60result = new List<IDictionary<string, ITaskItem[]>>(_targetOutputsPerProject.Count); 93foreach (IDictionary<string, ITaskItem[]> projectOutputs in engineResult.TargetOutputsPerProject)
src\msbuild\src\Shared\TaskHostConfiguration.cs (2)
174IDictionary<string, string> buildProcessEnvironment, 190IDictionary<string, object> taskParameters,
src\msbuild\src\Shared\TaskHostTaskComplete.cs (1)
112IDictionary<string, string> buildProcessEnvironment)
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
1424public void LogTelemetry(string eventName, IDictionary<string, string> properties)
src\msbuild\src\Shared\TaskParameter.cs (1)
842IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(MSBuildNameIgnoreCaseComparer.Default);
Utilities\Utilities.cs (1)
487IDictionary<string, string> environmentVariablesBag = CommunicationsUtilities.GetEnvironmentVariables();
Microsoft.Build.Framework (119)
BackEnd\CommunicationsUtilities.cs (3)
314internal static void SetEnvironment(IDictionary<string, string> newEnvironment) 346internal static bool AreDictionariesEquivalent(IDictionary<string, string>? left, IDictionary<string, string>? right)
BackEnd\TranslatorHelpers.cs (7)
99IDictionary<string, string> localDict = dictionary; 115IDictionary<string, T> localDict = dictionary; 130IDictionary<string, string> localDict = dictionary; 148IDictionary<string, T> localDict = dictionary; 162where D : IDictionary<string, T>, new() 173where D : IDictionary<string, T> 184IDictionary<string, string> localDict = dictionary;
BinaryTranslator.cs (21)
597IDictionary<string, string> copy = dictionary; 617public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys) 653public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 674ref IDictionary<K, V> dictionary, 677NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator) 699ref IDictionary<K, V> dictionary, 703NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator) 747where D : IDictionary<string, T>, new() 770where D : IDictionary<string, T> 1438IDictionary<string, string> copy = dictionary; 1439TranslateDictionary(ref copy, (NodePacketCollectionCreator<IDictionary<string, string>>)null); 1453public void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys) 1508public void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> dictionaryCreator) 1528ref IDictionary<K, V> dictionary, 1531NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator) 1552ref IDictionary<K, V> dictionary, 1556NodePacketCollectionCreator<IDictionary<K, V>> collectionCreator) 1598where D : IDictionary<string, T>, new() 1620where D : IDictionary<string, T>
BuildCheck\EnumerableExtensions.cs (2)
85this IDictionary<TKey, TValue> dict, 112this IDictionary<TKey, TValue> dict,
BuildEngineResult.cs (4)
25private List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject; 30public BuildEngineResult(bool result, List<IDictionary<string, ITaskItem[]>> targetOutputsPerProject) 36this.targetOutputsPerProject = new List<IDictionary<string, ITaskItem[]>>(); 54public IList<IDictionary<string, ITaskItem[]>> TargetOutputsPerProject
BuildException\BuildExceptionBase.cs (4)
47protected virtual void InitializeCustomState(IDictionary<string, string?>? customKeyedSerializedData) 54protected virtual IDictionary<string, string?>? FlushCustomState() 95IDictionary<string, string?>? customKeyedSerializedData = (exception as BuildExceptionBase)?.FlushCustomState(); 131IDictionary<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
Collections\CopyOnWriteDictionary.cs (5)
99public CopyOnWriteDictionary(IDictionary<string, V> dictionary) 109public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys; 114public ICollection<V> Values => ((IDictionary<string, V>)_backing).Values; 124public bool IsReadOnly => ((IDictionary<string, V>)_backing).IsReadOnly; 282((IDictionary<string, V>)_backing).CopyTo(array, arrayIndex);
Collections\ReadOnlyEmptyDictionary.cs (7)
108get { return (ICollection)((IDictionary<K, V>)this).Keys; } 116get { return (ICollection)((IDictionary<K, V>)this).Values; } 142return ((IDictionary<K, V>)this)[(K)key]; 147((IDictionary<K, V>)this)[(K)key] = (V)value; 262((IDictionary<K, V>)this).Add((K)key, (V)value); 270return ((IDictionary<K, V>)this).ContainsKey((K)key); 286((IDictionary<K, V>)this).Remove((K)key);
DotnetHostEnvironmentHelper.cs (6)
23private static IDictionary<string, string?>? _cachedOverrides; 49internal static void ClearBootstrapDotnetRootEnvironment(IDictionary<string, string> buildProcessEnvironment) 72internal static IDictionary<string, string?>? CreateDotnetRootEnvironmentOverrides(string? dotnetHostPath = null) 79IDictionary<string, string?>? cachedResult = _cachedOverrides; 117internal static void ApplyEnvironmentOverrides(IDictionary<string, string> environment, IDictionary<string, string?>? overrides)
IBuildEngine5.cs (1)
20void LogTelemetry(string eventName, IDictionary<string, string> properties);
ITaskEnvironmentDriver.cs (1)
55void SetEnvironment(IDictionary<string, string> newEnvironment);
ITaskFactory.cs (1)
45bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
ITaskFactory2.cs (3)
40bool Initialize(string taskName, IDictionary<string, string> factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost); 64ITask CreateTask(IBuildEngine taskFactoryLoggingHost, IDictionary<string, string> taskIdentityParameters);
ITaskFactory3.cs (1)
52bool Initialize(string taskName, TaskHostParameters factoryIdentityParameters, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost);
ITranslator.cs (9)
364void TranslateDictionary(ref IDictionary<string, string> dictionary, IEqualityComparer<string> comparer, ref Dictionary<string, string> additionalEntries, HashSet<string> additionalEntriesKeys); 366void TranslateDictionary(ref IDictionary<string, string> dictionary, NodePacketCollectionCreator<IDictionary<string, string>> collectionCreator); 370void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslator<V> valueTranslator, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator); 372void TranslateDictionary<K, V>(ref IDictionary<K, V> dictionary, ObjectTranslator<K> keyTranslator, ObjectTranslatorWithValueFactory<V> valueTranslator, NodePacketValueFactory<V> valueFactory, NodePacketCollectionCreator<IDictionary<K, V>> dictionaryCreator); 394where D : IDictionary<string, T>, new() 407where D : IDictionary<string, T>
LoggerException.cs (2)
114protected override IDictionary<string, string?> FlushCustomState() 123protected override void InitializeCustomState(IDictionary<string, string?>? state)
MultiProcessTaskEnvironmentDriver.cs (1)
64public void SetEnvironment(IDictionary<string, string> newEnvironment)
MultiThreadedTaskEnvironmentDriver.cs (2)
33IDictionary<string, string> environmentVariables) 101public void SetEnvironment(IDictionary<string, string> newEnvironment)
Profiler\ProfilerResult.cs (1)
23public ProfilerResult(IDictionary<EvaluationLocation, ProfiledLocation> profiledLocations)
ProjectStartedEventArgs.cs (4)
101/// <param name="globalProperties">An <see cref="IDictionary{String, String}"/> containing global properties.</param> 112IDictionary<string, string>? globalProperties, 244private IDictionary<string, string>? globalProperties; 249public 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)
TaskEnvironment.cs (2)
56public static TaskEnvironment CreateWithProjectDirectoryAndEnvironment(string projectDirectory, IDictionary<string, string>? environmentVariables = null) 107internal void SetEnvironment(IDictionary<string, string> newEnvironment) => _driver.SetEnvironment(newEnvironment);
TaskItemData.cs (2)
22public IDictionary<string, string> Metadata { get; } 24public TaskItemData(string itemSpec, IDictionary<string, string> metadata)
TaskParameterEventArgs.cs (2)
125internal static Func<int, IDictionary<string, string>> DictionaryFactory = capacity => new Dictionary<string, string>(capacity); 163var metadata = DictionaryFactory(metadataCount);
Telemetry\BuildCheckTelemetry.cs (2)
22internal (string, IDictionary<string, string>) ProcessCustomCheckLoadingFailure(string assemblyName, 46internal IEnumerable<(string, IDictionary<string, string>)> ProcessBuildCheckTracingData(BuildCheckTracingData data)
Telemetry\BuildTelemetry.cs (1)
210public override IDictionary<string, string> GetProperties()
Telemetry\CrashTelemetry.cs (1)
564public override IDictionary<string, string> GetProperties()
Telemetry\LoggingConfigurationTelemetry.cs (1)
84public override IDictionary<string, string> GetProperties()
Telemetry\TelemetryBase.cs (1)
18public abstract IDictionary<string, string> GetProperties();
TelemetryEventArgs.cs (1)
24public IDictionary<string, string?> Properties { get; set; } = new Dictionary<string, string?>();
Microsoft.Build.Tasks.CodeAnalysis (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
Microsoft.Build.Tasks.Core (25)
AssemblyDependency\GenerateBindingRedirects.cs (3)
68var redirects = ParseSuggestedRedirects(); 198private void UpdateExistingBindingRedirects(XElement runtimeNode, IDictionary<AssemblyName, string> redirects) 372private IDictionary<AssemblyName, string> ParseSuggestedRedirects()
AssemblyDependency\Node\RarNodeBuildEngine.cs (1)
179public void LogTelemetry(string eventName, IDictionary<string, string> properties) => throw new NotImplementedException();
AssignProjectConfiguration.cs (3)
161private IDictionary<string, string> _vcxToDefaultMap; 162private IDictionary<string, string> _defaultToVcxMap; 391private void PopulateMappingDictionary(IDictionary<string, string> map, string mappingList)
CodeTaskFactory.cs (1)
1144public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
GetInstalledSDKLocations.cs (1)
145IDictionary<string, Tuple<string, string>> installedSDKs = null;
GetSDKReferenceFiles.cs (6)
1219private IDictionary<string, SdkReferenceInfo> _pathToReferenceMetadata; 1220private IDictionary<string, List<string>> _directoryToFileList; 1235public SDKInfo(IDictionary<string, SdkReferenceInfo> pathToReferenceMetadata, IDictionary<string, List<string>> directoryToFileList, int cacheHash) 1245public IDictionary<string, SdkReferenceInfo> PathToReferenceMetadata { get { return _pathToReferenceMetadata; } } 1247public IDictionary<string, List<string>> DirectoryToFileList { get { return _directoryToFileList; } }
MSBuild.cs (1)
599IList<IDictionary<string, ITaskItem[]>> targetOutputsPerProject = result.TargetOutputsPerProject;
ResGenDependencies.cs (2)
32internal IDictionary<string, ResXFile> resXFiles = new Dictionary<string, ResXFile>(); 37internal IDictionary<string, PortableLibraryFile> portableLibraries = new Dictionary<string, PortableLibraryFile>();
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (4)
47internal static readonly IDictionary<string, IEnumerable<string>> DefaultReferences = new Dictionary<string, IEnumerable<string>>(StringComparer.OrdinalIgnoreCase) 72internal static readonly IDictionary<string, ISet<string>> ValidCodeLanguages = new Dictionary<string, ISet<string>>(StringComparer.OrdinalIgnoreCase) 179public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost) 219private bool TryResolveCompiledTaskType(Assembly assembly, IDictionary<string, TaskPropertyInfo> parameterGroup, RoslynCodeTaskFactoryTaskInfo taskInfo, string taskName)
src\msbuild\src\Shared\TaskParameter.cs (1)
842IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(MSBuildNameIgnoreCaseComparer.Default);
Telemetry.cs (1)
35IDictionary<string, string> properties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
XamlTaskFactory\XamlTaskFactory.cs (1)
278public bool Initialize(string taskName, IDictionary<string, TaskPropertyInfo> parameterGroup, string taskBody, IBuildEngine taskFactoryLoggingHost)
Microsoft.Build.Utilities.Core (13)
SDKManifest.cs (4)
78private IDictionary<string, string> _appxLocations; 83private IDictionary<string, string> _frameworkIdentities; 124public IDictionary<string, string> FrameworkIdentities => _frameworkIdentities != null ? new ReadOnlyDictionary<string, string>(_frameworkIdentities) : null; 129public IDictionary<string, string> AppxLocations => _appxLocations != null ? new ReadOnlyDictionary<string, string>(_appxLocations) : null;
src\msbuild\src\Shared\TaskLoggingHelper.cs (1)
1424public void LogTelemetry(string eventName, IDictionary<string, string> properties)
ToolLocationHelper.cs (8)
377public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string targetPlatformIdentifier, Version targetPlatformVersion) 389public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 402public static IDictionary<string, string> GetPlatformExtensionSDKLocations(string[] diskRoots, string[] extensionDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 423public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string targetPlatformIdentifier, Version targetPlatformVersion) 435public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 448public static IDictionary<string, Tuple<string, string>> GetPlatformExtensionSDKLocationsAndVersions(string[] diskRoots, string[] multiPlatformDiskRoots, string registryRoot, string targetPlatformIdentifier, Version targetPlatformVersion) 622public static IDictionary<string, string> FilterPlatformExtensionSDKs(Version targetPlatformVersion, IDictionary<string, string> extensionSdks)
Microsoft.CodeAnalysis (36)
Collections\CachingDictionary.cs (10)
41private IDictionary<TKey, ImmutableArray<TElement>>? _map; 137private IDictionary<TKey, ImmutableArray<TElement>> CreateDictionaryForFullyPopulatedMap(int capacity) 153var localMap = _map; 204private static bool IsNotFullyPopulatedMap([NotNullWhen(returnValue: false)] IDictionary<TKey, ImmutableArray<TElement>>? existingMap) 214private IDictionary<TKey, ImmutableArray<TElement>> CreateFullyPopulatedMap(ConcurrentDictionary<TKey, ImmutableArray<TElement>>? existingMap) 222var fullyPopulatedMap = CreateDictionaryForFullyPopulatedMap(capacity: allKeys.Count); 249private IDictionary<TKey, ImmutableArray<TElement>> EnsureFullyPopulated() 251var currentMap = _map; 254IDictionary<TKey, ImmutableArray<TElement>> fullyPopulatedMap = CreateFullyPopulatedMap((ConcurrentDictionary<TKey, ImmutableArray<TElement>>?)currentMap); 256var replacedMap = Interlocked.CompareExchange(ref _map, fullyPopulatedMap, currentMap);
Compilation\Compilation.cs (1)
738internal abstract IDictionary<(string path, string content), MetadataReference> ReferenceDirectiveMap { get; }
DiagnosticAnalyzer\SuppressMessageAttributeState.cs (1)
329private static void AddOrUpdate(SuppressMessageInfo info, IDictionary<string, SuppressMessageInfo> builder)
InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private 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\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Microsoft.CodeAnalysis.Analyzers (49)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
516IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
12internal sealed class WorkspaceServiceMetadata(IDictionary<string, object> data) : ILayeredServiceMetadata
Microsoft.CodeAnalysis.AnalyzerUtilities (70)
src\66dd3055a1c91c38\PointsToAnalysis.PointsToDataFlowOperationVisitor.cs (3)
613IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 614IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 615IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\97c55a67c449f67c\GlobalFlowStateDataFlowOperationVisitor.cs (3)
150IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 151IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 152IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysis.CopyDataFlowOperationVisitor.cs (3)
577IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 578IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 579IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (2)
26internal CopyAnalysisData(IDictionary<AnalysisEntity, CopyAbstractValue> fromData) 200IDictionary<AnalysisEntity, CopyAbstractValue> map,
src\roslyn\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\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\TaintedDataAnalysis\TaintedDataAnalysisData.cs (1)
19public TaintedDataAnalysisData(IDictionary<AnalysisEntity, TaintedDataAbstractValue> fromData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Analysis\ValueContentAnalysis\ValueContentAnalysisData.cs (1)
22internal ValueContentAnalysisData(IDictionary<AnalysisEntity, ValueContentAbstractValue> fromData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AbstractLocationDataFlowOperationVisitor.cs (1)
131protected static DictionaryAnalysisData<AbstractLocation, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AbstractLocation, TAbstractAnalysisValue> analysisData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityBasedPredicateAnalysisData.cs (1)
26protected AnalysisEntityBasedPredicateAnalysisData(IDictionary<AnalysisEntity, TValue> fromData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\AnalysisEntityDataFlowOperationVisitor.cs (6)
469IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 470IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 471IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues, 643IDictionary<AnalysisEntity, TAbstractAnalysisValue> existingValues, 672protected void ApplyInterproceduralAnalysisResultHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> resultToApply) 730protected DictionaryAnalysisData<AnalysisEntity, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> analysisData)
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (5)
2092protected static bool EqualsHelper<TKey, TValue>(IDictionary<TKey, TValue> dict1, IDictionary<TKey, TValue> dict2) 2131IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 2132IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 2133IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\roslyn\src\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.CodeStyle (39)
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
207IDictionary<string, IEnumerable<int>> tagIndices,
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.CodeStyle.Fixes (15)
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
33private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 148var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 158private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 164private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
516IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\WorkspaceServiceMetadata.cs (1)
12internal sealed class WorkspaceServiceMetadata(IDictionary<string, object> data) : ILayeredServiceMetadata
Microsoft.CodeAnalysis.CSharp (24)
Compilation\CSharpCompilation.cs (1)
1252internal 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_Minimal.cs (3)
172private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> CreateAliasMap() 305private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol> AliasMap 309var map = _lazyAliasMap;
SymbolDisplay\SymbolDisplayVisitor.cs (2)
23private IDictionary<INamespaceOrTypeSymbol, IAliasSymbol>? _lazyAliasMap; 47IDictionary<INamespaceOrTypeSymbol, IAliasSymbol>? aliasMap,
Symbols\ReferenceManager.cs (1)
350IDictionary<(string, string), MetadataReference>? boundReferenceDirectiveMap;
Symbols\Source\SourceAssemblySymbol.cs (2)
75private IDictionary<string, NamedTypeSymbol> _lazyForwardedTypesFromSource; 2849IDictionary<string, NamedTypeSymbol> forwardedTypesFromSource;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
644IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Rename\CSharpRenameRewriterLanguageService.cs (2)
787IDictionary<Location, Location> reverseMappedLocations, 929IDictionary<Location, Location> reverseMappedLocations)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
644IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
Microsoft.CodeAnalysis.Extensions.Package (20)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.Features (34)
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)
42public static ImmutableArray<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)
6682IDictionary<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)
36var groups = await symbolDisplayService.ToDescriptionGroupsAsync(
LanguageServices\AnonymousTypeDisplayService\StructuralTypeDisplayInfo.cs (4)
10IDictionary<INamedTypeSymbol, string> structuralTypeToName, 13public IDictionary<INamedTypeSymbol, string> StructuralTypeToName { get; } = structuralTypeToName; 21IDictionary<INamedTypeSymbol, string> structuralTypeToName, 37IDictionary<INamedTypeSymbol, string> structuralTypeToName,
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.AbstractSymbolDescriptionBuilder.cs (1)
382public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> BuildDescriptionSectionsAsync(ImmutableArray<ISymbol> symbolGroup)
LanguageServices\SymbolDisplayService\AbstractSymbolDisplayService.cs (1)
30public async Task<IDictionary<SymbolDescriptionGroups, ImmutableArray<TaggedText>>> ToDescriptionGroupsAsync(
LanguageServices\SymbolDisplayService\ISymbolDisplayService.cs (1)
16Task<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)
38var groups = await descriptionService.ToDescriptionGroupsAsync(semanticModel, span.Start, symbols, options, cancellationToken).ConfigureAwait(false);
ReplacePropertyWithMethods\ReplacePropertyWithMethodsCodeRefactoringProvider.cs (2)
235IDictionary<IPropertySymbol, IFieldSymbol?> propertyToBackingField, 347IDictionary<IPropertySymbol, IFieldSymbol?> definitionToBackingField,
src\roslyn\src\Analyzers\Core\Analyzers\Helpers\DiagnosticHelper.cs (1)
207IDictionary<string, IEnumerable<int>> tagIndices,
src\roslyn\src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateParameterizedMemberService.SignatureInfo.cs (4)
33private IDictionary<ITypeSymbol, ITypeParameterSymbol> _typeArgumentToTypeParameterMap; 148var typeArgumentToTypeParameterMap = GetTypeArgumentToTypeParameterMap(cancellationToken); 158private IDictionary<ITypeSymbol, ITypeParameterSymbol> GetTypeArgumentToTypeParameterMap( 164private IDictionary<ITypeSymbol, ITypeParameterSymbol> CreateTypeArgumentToTypeParameterMap(
Microsoft.CodeAnalysis.NetAnalyzers (41)
Microsoft.CodeQuality.Analyzers\ApiDesignGuidelines\DefineAccessorsForAttributeArguments.cs (3)
93IDictionary<string, IPropertySymbol> propertiesMap = GetAllPropertiesInTypeChain(symbol); 123private static IDictionary<string, IPropertySymbol> GetAllPropertiesInTypeChain(INamedTypeSymbol attributeType) 140private static void AnalyzeParameters(Compilation compilation, IEnumerable<IParameterSymbol> parameters, IDictionary<string, IPropertySymbol> propertiesMap, INamedTypeSymbol attributeType, Action<Diagnostic> addDiagnostic)
Microsoft.NetCore.Analyzers\Performance\PreferDictionaryTryMethodsOverContainsKeyGuardAnalyzer.cs (4)
23internal const string Add = nameof(IDictionary<dynamic, dynamic>.Add); 25private const string ContainsKey = nameof(IDictionary<dynamic, dynamic>.ContainsKey); 26private const string Remove = nameof(IDictionary<dynamic, dynamic>.Remove); 27private const string Clear = nameof(IDictionary<dynamic, dynamic>.Clear);
src\0437c1690f5501bd\CopyAnalysis.CopyDataFlowOperationVisitor.cs (3)
577IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 578IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 579IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\40daf5e1cab76dff\TaintedDataAnalysisData.cs (1)
18public TaintedDataAnalysisData(IDictionary<AnalysisEntity, TaintedDataAbstractValue> fromData)
src\440320f3f10733a8\ValueContentAnalysisData.cs (1)
21internal ValueContentAnalysisData(IDictionary<AnalysisEntity, ValueContentAbstractValue> fromData)
src\8ce1f4f68b646e6d\GlobalFlowStateDataFlowOperationVisitor.cs (3)
149IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 150IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 151IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\9382845807600969\AbstractLocationDataFlowOperationVisitor.cs (1)
130protected static DictionaryAnalysisData<AbstractLocation, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AbstractLocation, TAbstractAnalysisValue> analysisData)
src\9382845807600969\AnalysisEntityBasedPredicateAnalysisData.cs (1)
25protected AnalysisEntityBasedPredicateAnalysisData(IDictionary<AnalysisEntity, TValue> fromData)
src\9382845807600969\AnalysisEntityDataFlowOperationVisitor.cs (6)
468IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 469IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 470IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues, 642IDictionary<AnalysisEntity, TAbstractAnalysisValue> existingValues, 671protected void ApplyInterproceduralAnalysisResultHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> resultToApply) 729protected DictionaryAnalysisData<AnalysisEntity, TAbstractAnalysisValue> GetClonedAnalysisDataHelper(IDictionary<AnalysisEntity, TAbstractAnalysisValue> analysisData)
src\ffd9070534249528\PointsToAnalysis.PointsToDataFlowOperationVisitor.cs (3)
610IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 611IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 612IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\Compiler\Extensions\IDictionaryExtensions.cs (2)
12this IDictionary<TKey, TValue> dictionary, 25this IDictionary<TKey, TValue> dictionary,
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\CopyAnalysis\CopyAnalysisData.cs (2)
25internal CopyAnalysisData(IDictionary<AnalysisEntity, CopyAbstractValue> fromData) 199IDictionary<AnalysisEntity, CopyAbstractValue> map,
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PointsToAnalysis\PointsToAnalysisData.cs (2)
26internal PointsToAnalysisData(IDictionary<AnalysisEntity, PointsToAbstractValue> fromData, Func<ITypeSymbol?, bool> isDisposable) 121internal static void AssertValidPointsToAnalysisData(IDictionary<AnalysisEntity, PointsToAbstractValue> map, Func<ITypeSymbol?, bool> isDisposable)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (5)
2089protected static bool EqualsHelper<TKey, TValue>(IDictionary<TKey, TValue> dict1, IDictionary<TKey, TValue> dict2) 2128IDictionary<AnalysisEntity, PointsToAbstractValue>? pointsToValues, 2129IDictionary<AnalysisEntity, CopyAbstractValue>? copyValues, 2130IDictionary<AnalysisEntity, ValueContentAbstractValue>? valueContentValues,
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (4)
27public DictionaryAnalysisData(IDictionary<TKey, TValue> initializer) 80return ((IDictionary<TKey, TValue>)_coreAnalysisData).IsReadOnly; 105return ((IDictionary<TKey, TValue>)_coreAnalysisData).Contains(item); 117((IDictionary<TKey, TValue>)_coreAnalysisData).CopyTo(array, arrayIndex);
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Components\ComponentGenericTypePass.cs (1)
320private void RewriteTypeNames(TypeNameRewriter rewriter, ComponentIntermediateNode node, bool? hasTypeArgumentSpecified = null, IDictionary<string, Binding>? bindings = null)
Microsoft.CodeAnalysis.ResxSourceGenerator (38)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
Microsoft.CodeAnalysis.Workspaces (58)
Diagnostics\HostDiagnosticAnalyzers.cs (2)
255IDictionary<object, AnalyzerReference> analyzerReferencesMap, string? language = null) 274static IEnumerable<KeyValuePair<object, AnalyzerReference>> Shuffle(IDictionary<object, AnalyzerReference> source)
Log\StatisticResult.cs (1)
77public void WriteTelemetryPropertiesTo(IDictionary<string, object?> properties, string prefix)
Remote\RemoteServiceCallbackDispatchers.cs (1)
21public ExportMetadata(IDictionary<string, object> data)
Rename\ConflictEngine\ConflictResolver.cs (2)
227IDictionary<Location, Location> reverseMappedLocations, 321private 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\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
516IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\roslyn\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)
58public static MSBuildWorkspace Create(IDictionary<string, string> properties) 78public static MSBuildWorkspace Create(IDictionary<string, string> properties, HostServices hostServices)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (2)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
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.Diagnostics.NETCore.Client (3)
DiagnosticsClient\EventPipeProvider.cs (3)
35public EventPipeProvider(string name, EventLevel eventLevel, long keywords = 0xF00000000000, IDictionary<string, string> arguments = null) 49public EventPipeProvider(string name, EventLevel eventLevel, long keywords, IDictionary<string, string> arguments, EventPipeProviderEventFilter eventFilter) 64public IDictionary<string, string> Arguments { get; }
Microsoft.DotNet.Build.Manifest (11)
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)
77IDictionary<string, string> values = MSBuildListSplitter.GetNamedProperties(Properties, Log); 138public string Replace(string template, IDictionary<string, string> values)
MSBuildListSplitter.cs (1)
12public static IDictionary<string, string> GetNamedProperties(string[] input, TaskLoggingHelper log)
Microsoft.DotNet.Cli.Utils (7)
Command.cs (1)
8public class Command(Process? process, bool trimTrailingNewlines = false, IDictionary<string, string?>? customEnvironmentVariables = null) : ICommand
TelemetryEventEntry.cs (6)
13public static void TrackEvent(string eventName, IDictionary<string, string?>? properties = null) 38public static void Subscribe(Action<string, IDictionary<string, string?>?> subscriber) 62public class InstrumentationEventArgs(string eventName, IDictionary<string, string?>? properties = null) : EventArgs 65public IDictionary<string, string?>? Properties { get; } = properties; 68public class TelemetryEntryFormat(string eventName, IDictionary<string, string?>? properties = null) 71public IDictionary<string, string?>? Properties { get; } = properties;
Microsoft.DotNet.HotReload.Watch (10)
Process\ProjectLauncher.cs (1)
100private static IReadOnlyList<string> GetProcessArguments(ProjectOptions projectOptions, IDictionary<string, string> environmentBuilder)
src\sdk\src\Dotnet.Watch\HotReloadClient\ClientTransport.cs (1)
24public abstract void ConfigureEnvironment(IDictionary<string, string> env);
src\sdk\src\Dotnet.Watch\HotReloadClient\DefaultHotReloadClient.cs (1)
148public override void ConfigureLaunchEnvironment(IDictionary<string, string> environmentBuilder)
src\sdk\src\Dotnet.Watch\HotReloadClient\HotReloadClient.cs (1)
51public abstract void ConfigureLaunchEnvironment(IDictionary<string, string> environmentBuilder);
src\sdk\src\Dotnet.Watch\HotReloadClient\HotReloadClients.cs (1)
85internal void ConfigureLaunchEnvironment(IDictionary<string, string> environmentBuilder)
src\sdk\src\Dotnet.Watch\HotReloadClient\NamedPipeClientTransport.cs (1)
45public override void ConfigureEnvironment(IDictionary<string, string> env)
src\sdk\src\Dotnet.Watch\HotReloadClient\Utilities\EnvironmentUtilities.cs (1)
13public static void InsertListItem(this IDictionary<string, string> environment, string key, string value, char separator)
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\AbstractBrowserRefreshServer.cs (1)
78public void ConfigureLaunchEnvironment(IDictionary<string, string> builder, bool enableHotReload)
src\sdk\src\Dotnet.Watch\HotReloadClient\Web\WebAssemblyHotReloadClient.cs (1)
80public override void ConfigureLaunchEnvironment(IDictionary<string, string> environmentBuilder)
src\sdk\src\Dotnet.Watch\HotReloadClient\WebSocketClientTransport.cs (1)
64public override void ConfigureEnvironment(IDictionary<string, string> env)
Microsoft.DotNet.ProjectTools (3)
VirtualProjectBuilder.cs (3)
298Action<IDictionary<string, string>>? addGlobalProperties = null, 452Action<IDictionary<string, string>>? addGlobalProperties = null) 475var globalProperties = projectCollection.GlobalProperties;
Microsoft.DotNet.TemplateLocator (13)
_generated\1\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\4\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSet.cs (1)
29public static WorkloadSet FromDictionaryForJson(IDictionary<string, string?> dictionary, SdkFeatureBand defaultFeatureBand)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSetJsonSerializerContext.cs (1)
13[JsonSerializable(typeof(IDictionary<string, string>))]
Microsoft.DotNet.XliffTasks (1)
Tasks\TransformTemplates.cs (1)
53private ITaskItem TransformTemplate(ITaskItem template, string language, IDictionary<string, ITaskItem> resourceMap)
Microsoft.Extensions.AI (6)
ChatCompletion\OpenTelemetryChatClient.cs (1)
861public IDictionary<string, object?>? Arguments { get; set; }
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (5)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>(); 31ICollection<TValue> IDictionary<TKey, TValue>.Values => Array.Empty<TValue>(); 33TValue IDictionary<TKey, TValue>.this[TKey key] 58void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 59bool IDictionary<TKey, TValue>.Remove(TKey key) => false;
Microsoft.Extensions.AI.Abstractions (17)
AdditionalPropertiesDictionary.cs (1)
17public AdditionalPropertiesDictionary(IDictionary<string, object?> dictionary)
AdditionalPropertiesDictionary{TValue}.cs (2)
34public AdditionalPropertiesDictionary(IDictionary<string, TValue> dictionary) 196bool 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; } 86Func<TEncoding, IDictionary<string, object?>?> argumentParser) 93IDictionary<string, object?>? arguments = null;
Functions\AIFunctionArguments.cs (3)
53public AIFunctionArguments(IDictionary<string, object?>? arguments) 78public AIFunctionArguments(IDictionary<string, object?>? arguments, IEqualityComparer<string>? comparer) 95public 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;
Tools\HostedMcpServerTool.cs (1)
181public IDictionary<string, string> Headers => _headers ??= new Dictionary<string, string>();
Utilities\AIJsonUtilities.Defaults.cs (1)
121[JsonSerializable(typeof(IDictionary<string, object?>))]
Microsoft.Extensions.AI.Abstractions.Tests (3)
AssertExtensions.cs (2)
57IDictionary<string, object?>? expected, 58IDictionary<string, object?>? actual,
Functions\AIFunctionArgumentsTests.cs (1)
109IDictionary<string, object?> args = new AIFunctionArguments(new Dictionary<string, object?>
Microsoft.Extensions.AI.Evaluation (6)
EvaluationMetric.cs (2)
45public IDictionary<string, EvaluationContext>? Context { get; set; } 57public IDictionary<string, string>? Metadata { get; set; }
EvaluationMetricExtensions.cs (1)
128public static void AddOrUpdateMetadata(this EvaluationMetric metric, IDictionary<string, string> metadata)
EvaluationResult.cs (2)
23public IDictionary<string, EvaluationMetric> Metrics { get; set; } 38public EvaluationResult(IDictionary<string, EvaluationMetric> metrics)
EvaluationResultExtensions.cs (1)
156IDictionary<string, string> metadata)
Microsoft.Extensions.AI.Evaluation.Console (23)
Telemetry\TelemetryExtensions.cs (16)
32IDictionary<string, string>? properties = null, 33IDictionary<string, double>? metrics = null, 52IDictionary<string, string>? properties = null, 53IDictionary<string, double>? metrics = null, 74IDictionary<string, string>? properties = null, 75IDictionary<string, double>? metrics = null, 94IDictionary<string, string>? properties = null, 95IDictionary<string, double>? metrics = null, 114IDictionary<string, string>? properties = null, 115IDictionary<string, double>? metrics = null, 137IDictionary<string, string>? properties = null, 138IDictionary<string, double>? metrics = null, 160IDictionary<string, string>? properties = null, 161IDictionary<string, double>? metrics = null, 197IDictionary<string, string>? properties = null, 198IDictionary<string, double>? metrics = null,
Telemetry\TelemetryHelper.cs (7)
97IDictionary<string, string>? properties = null, 98IDictionary<string, double>? metrics = null) 107IDictionary<string, string>? combinedProperties = GetCombinedProperties(properties); 122IDictionary<string, string>? properties = null, 123IDictionary<string, double>? metrics = null) 132IDictionary<string, string>? combinedProperties = GetCombinedProperties(properties); 161private Dictionary<string, string>? GetCombinedProperties(IDictionary<string, string>? properties)
Microsoft.Extensions.AI.Evaluation.Safety (2)
ContentHarmEvaluator.cs (1)
34public class ContentHarmEvaluator(IDictionary<string, string>? metricNames = null)
ContentSafetyEvaluator.cs (1)
30IDictionary<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.OpenAI (7)
MicrosoftExtensionsAIChatExtensions.cs (2)
75new BinaryData(JsonSerializer.SerializeToUtf8Bytes(c.Arguments, AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object?>)))))); 160functionArgumentsUpdate: new(JsonSerializer.SerializeToUtf8Bytes(fcc.Arguments, AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object?>))))))
OpenAIChatClient.cs (1)
215fc.Arguments, AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object?>))))));
OpenAIImageGenerator.cs (2)
117var additionalRawData = typeof(GeneratedImageCollection) 119?.GetValue(generatedImages) as IDictionary<string, BinaryData>;
OpenAIJsonContext.cs (1)
19[JsonSerializable(typeof(IDictionary<string, object?>))]
OpenAIResponsesChatClient.cs (1)
1165AIJsonUtilities.DefaultOptions.GetTypeInfo(typeof(IDictionary<string, object?>)))));
Microsoft.Extensions.AI.OpenAI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
57IDictionary<string, object?>? expected, 58IDictionary<string, object?>? actual,
Microsoft.Extensions.AI.Tests (2)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\AssertExtensions.cs (2)
57IDictionary<string, object?>? expected, 58IDictionary<string, object?>? actual,
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)
476Type? dictionaryInterface = FindOpenGenericInterface(typeof(IDictionary<,>), type); 749(dictionaryType.GetGenericTypeDefinition() == typeof(IDictionary<,>) || dictionaryType.GetGenericTypeDefinition() == typeof(Dictionary<,>))); 1054return genericTypeDefinition == typeof(IDictionary<,>)
Microsoft.Extensions.Configuration.Binder.SourceGeneration (1)
Parser\KnownTypeSymbols.cs (1)
110GenericIDictionary = compilation.GetBestTypeByMetadataName(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.DataIngestion.Abstractions (2)
IngestionChunk.cs (1)
70public IDictionary<string, object> Metadata => _metadata ??= [];
IngestionDocumentElement.cs (1)
65public IDictionary<string, object?> Metadata => _metadata ??= [];
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)
325LocalBuilder 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 (9)
Logging\LoggingOptions.cs (4)
51public IDictionary<string, DataClassification> RequestQueryParametersDataClasses { get; set; } = new Dictionary<string, DataClassification>(); 111public IDictionary<string, DataClassification> RequestHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(); 124public IDictionary<string, DataClassification> ResponseHeadersDataClasses { get; set; } = new Dictionary<string, DataClassification>(); 151public 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.Logging.MSBuild (1)
MSBuildLogger.cs (1)
114if (scope is IDictionary<string, object?> dict)
Microsoft.Gen.BuildMetadata.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.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_T_.cs (2)
99private global::System.Collections.Generic.IDictionary<string, object> sessionField; 161public 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\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 (8)
ApprovalTests\ConsoleCodeGeneratorTests.cs (6)
295(var pipeline, var columnInference, var mapping) = GetMockedAzurePipelineAndInference(); 332(var pipelineSanitized, var columnInferenceSanitized, var mappingSanitized) = this.GetMockedAzurePipelineAndInference(); 334(var pipelineUnsatinized, var columnInferenceUnsatinized, var mappingUnsatinized) = this.GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames(); 340IDictionary<string, CodeGeneratorSettings.ColumnMapping> mapping, string info) 808private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInference() 978private (Pipeline, ColumnInferenceResults, IDictionary<string, CodeGeneratorSettings.ColumnMapping>) GetMockedAzurePipelineAndInferenceUnsanitizedColumnNames()
UtilTest.cs (2)
139var sampleData = Utils.GenerateSampleData(dataView, columnInference); 174var sampleData = Utils.GenerateSampleData(dataView, columnInference);
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)
109IDictionary<string, int[]> shapeDictionary, 148IDictionary<string, int[]> shapeDictionary, 278IDictionary<string, int[]> shapeDictionary, 319IDictionary<string, int[]> shapeDictionary, 409IDictionary<string, int[]> shapeDictionary, 442IDictionary<string, int[]> shapeDictionary, 476IDictionary<string, int[]> shapeDictionary, 511IDictionary<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.Build.Containers (7)
Telemetry.cs (7)
64private IDictionary<string, string?> ContextProperties() => new Dictionary<string, string?> 79var props = ContextProperties(); 86var props = ContextProperties(); 94var props = ContextProperties(); 102var props = ContextProperties(); 111var props = ContextProperties(); 118var props = ContextProperties();
Microsoft.NET.Build.Tasks (27)
_generated\11\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\14\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
AllowEmptyTelemetry.cs (1)
39IDictionary<string, string> properties = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
FileGroup.cs (2)
10using PathAndPropertiesTuple = Tuple<string, IDictionary<string, string>>; 28private static readonly IDictionary<string, string> _emptyProperties = new Dictionary<string, string>();
GetAssemblyAttributes.cs (1)
42private ITaskItem[] FormatToAttributes(IDictionary<string, string> AssemblyAttributesNameByFieldInFileVersionInfo)
LockFileExtensions.cs (4)
166IDictionary<string, LockFileTargetLibrary> libraryLookup) 179IDictionary<string, LockFileTargetLibrary> libraryLookup) 190IDictionary<string, LockFileTargetLibrary> libraryLookup, 204IDictionary<string, LockFileTargetLibrary> libraryLookup,
ProjectContext.cs (3)
219IDictionary<string, LockFileTargetLibrary> libraryLookup) 284IDictionary<string, HashSet<PackageIdentity>> packagesToBeFiltered, 285IDictionary<string, LockFileTargetLibrary> packagesToBePublished)
ResolveAppHosts.cs (1)
232IDictionary<string, string> packagesToDownload,
ResolvePackageDependencies.cs (1)
373IDictionary<string, string> properties = entry.Item2;
RuntimeOptions.cs (1)
24public IDictionary<string, JsonNode> RawOptions { get; } = new Dictionary<string, JsonNode>();
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSet.cs (1)
29public static WorkloadSet FromDictionaryForJson(IDictionary<string, string?> dictionary, SdkFeatureBand defaultFeatureBand)
src\sdk\src\Resolvers\Microsoft.NET.Sdk.WorkloadManifestReader\WorkloadSetJsonSerializerContext.cs (1)
13[JsonSerializable(typeof(IDictionary<string, string>))]
Microsoft.Net.Http.Headers (1)
src\aspnetcore\src\Http\Shared\CookieHeaderParserShared.cs (1)
18public static bool TryParseValues(StringValues values, IDictionary<string, string> store, bool supportsMultipleValues)
Microsoft.NET.Sdk.Publish.Tasks (4)
AppSettingsModel.cs (2)
11public IDictionary<string, string>? ConnectionStrings { get; set; } 14public IDictionary<string, object>? ExtensionData { get; set; }
Tasks\MsDeploy\VsMsdeploy.cs (2)
298protected abstract void LogTrace(dynamic e, IDictionary<string, MessageImportance> customTypeLoging); 474protected override void LogTrace(dynamic args, IDictionary<string, MessageImportance> customTypeLoging)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (8)
ApplyCompressionNegotiation.cs (4)
32var endpointsByAsset = StaticWebAssetEndpoint.ToAssetFileDictionary(CandidateEndpoints); 195IDictionary<string, List<StaticWebAssetEndpoint>> endpointsByAsset) 326IDictionary<string, StaticWebAsset> assetsById, 327IDictionary<string, List<StaticWebAssetEndpoint>> endpointsByAsset,
Compression\DiscoverPrecompressedAssets.cs (1)
78private static StaticWebAsset FindRelatedAsset(StaticWebAsset candidate, IDictionary<string, StaticWebAsset> candidates)
Data\StaticWebAssetEndpoint.cs (1)
177internal static IDictionary<string, List<StaticWebAssetEndpoint>> ToAssetFileDictionary(ITaskItem[] candidateEndpoints)
DefineStaticWebAssets.Cache.cs (2)
75private IDictionary<string, ITaskItem>? _inputByHash; 162private void TotalUpdate(byte[] propertiesHash, byte[] fingerprintPatternsHash, byte[] propertyOverridesHash, IDictionary<string, ITaskItem> inputsByHash)
Microsoft.NET.Sdk.WorkloadManifestReader (13)
_generated\1\WorkloadSetJsonSerializerContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
_generated\4\WorkloadSetJsonSerializerContext.GetJsonTypeInfo.g.cs (1)
26if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
WorkloadSet.cs (1)
29public static WorkloadSet FromDictionaryForJson(IDictionary<string, string?> dictionary, SdkFeatureBand defaultFeatureBand)
WorkloadSetJsonSerializerContext.cs (1)
13[JsonSerializable(typeof(IDictionary<string, string>))]
Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver (2)
CachingWorkloadResolver.cs (2)
109IDictionary<string, string> propertiesToAdd, 110IDictionary<string, SdkResultItem> itemsToAdd
Microsoft.TemplateEngine.Abstractions (2)
IGenerator.cs (1)
70bool TryEvaluateFromString(ILogger logger, string text, IDictionary<string, object> variables, out bool result, out string evaluationError, HashSet<string>? referencedVariablesKeys = null);
IParameterSet.cs (1)
20IDictionary<ITemplateParameter, object?> ResolvedValues { get; }
Microsoft.TemplateEngine.Cli (5)
Commands\create\InvalidTemplateOptionResult.cs (2)
127private static IDictionary<string, ParameterChoice> GetValidValuesForChoiceParameter( 148private static StringBuilder AppendAllowedValues(StringBuilder text, IDictionary<string, ParameterChoice> possibleValues)
NuGet\NugetApiManager.cs (1)
17private readonly IDictionary<PackageSource, SourceRepository> _sourceRepositories;
TabularOutput\TabularOutput.cs (1)
364private readonly IDictionary<TextAlign, Func<string, int, StringBuilder, StringBuilder>> _alignRules = new Dictionary<TextAlign, Func<string, int, StringBuilder, StringBuilder>>()
TemplateResolution\TemplateGroupMatchInfo.cs (1)
260internal IDictionary<string, ParameterChoice> GetValidValuesForChoiceParameter(string parameter)
Microsoft.TemplateEngine.Core (4)
Util\EngineConfig.cs (1)
44public IDictionary<string, bool> Flags { get; }
VariableCollection.cs (3)
13private readonly IDictionary<string, object> _values; 26public VariableCollection(IVariableCollection? parent, IDictionary<string, object> values) 100public static VariableCollection Root(IDictionary<string, object> values) => new(null, values);
Microsoft.TemplateEngine.Core.Contracts (1)
IEngineConfig.cs (1)
21IDictionary<string, bool> Flags { get; }
Microsoft.TemplateEngine.Edge (7)
Installers\NuGet\NuGetManagedTemplatePackage.cs (1)
180private void UpdateOrRemoveValue<TKey, TValue>(IDictionary<TKey, TValue> dict, TKey key, TValue? value, Predicate<TValue> condition)
Settings\TemplateCache.cs (1)
173private void PrintOverlappingIdentityWarning(ILogger logger, IDictionary<string, IList<(IScanTemplateInfo Template, ITemplatePackage TemplatePackage, ILocalizationLocator? Localization, IMountPoint)>> templateDeduplicationDictionary)
Template\ParameterSetBuilder.cs (5)
74IDictionary<ITemplateParameter, object?> IParameterSet.ResolvedValues => 201IDictionary<string, object> variableCollection = 211IDictionary<string, object> variableCollection, 300IDictionary<string, object> variableCollection, 322IDictionary<string, object> variableCollection,
Microsoft.TemplateEngine.Orchestrator.RunnableProjects (2)
ParameterBasedVariableCollection.cs (1)
25IDictionary<string, object> values,
RunnableProjectGenerator.cs (1)
105bool IGenerator.TryEvaluateFromString(ILogger logger, string text, IDictionary<string, object> variables, out bool result, out string evaluationError, HashSet<string>? referencedVariablesKeys)
Microsoft.TemplateEngine.Utils (2)
DictionaryExtensions.cs (2)
57this IDictionary<TKey, TValue> dict, 84public static bool TryAdd<TKey, TValue>(this IDictionary<TKey, TValue> dict, TKey key, TValue value, Predicate<TValue> condition)
Microsoft.TemplateSearch.Common (5)
Abstractions\TemplatePackageSearchData.cs (2)
14public TemplatePackageSearchData(ITemplatePackageInfo packInfo, IEnumerable<TemplateSearchData> templates, IDictionary<string, object>? data = null) 70public IDictionary<string, object> AdditionalData { get; }
Abstractions\TemplateSearchData.cs (2)
16public TemplateSearchData(ITemplateInfo templateInfo, IDictionary<string, object>? data = null) 35public IDictionary<string, object> AdditionalData { get; }
TemplateSearchCache\TemplateSearchCache.Json.cs (1)
73internal static IDictionary<string, object> ReadAdditionalData(
Microsoft.TestPlatform.CommunicationUtilities (87)
_generated\104\TestPlatformJsonContext.GetJsonTypeInfo.g.cs (3)
306if (type == typeof(global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>)) 310if (type == typeof(global::System.Collections.Generic.IDictionary<string, object>)) 314if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
_generated\2\TestPlatformJsonContext.AfterTestRunEndResult.g.cs (3)
94var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 109AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.AfterTestRunEndResult).GetProperty("Metrics", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 112properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info2);
_generated\20\TestPlatformJsonContext.DiscoveryCompletePayload.g.cs (3)
113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 128AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.CommunicationUtilities.ObjectModel.DiscoveryCompletePayload).GetProperty("Metrics", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info3);
_generated\3\TestPlatformJsonContext.BeforeTestRunStartResult.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult((global::System.Collections.Generic.IDictionary<string, string>)args[0], (int)args[1]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.IDictionary<string, string>), typeof(int)}, modifiers: null), 53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.Common.DataCollection.BeforeTestRunStartResult).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info0); 121ParameterType = typeof(global::System.Collections.Generic.IDictionary<string, string>),
_generated\34\TestPlatformJsonContext.ITestRunStatistics.g.cs (3)
53var info0 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> 68AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.ITestRunStatistics).GetProperty("Stats", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>), global::System.Array.Empty<global::System.Type>(), null), 71properties[0] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>>(options, info0);
_generated\36\TestPlatformJsonContext.TestRunAttachmentsProcessingCompleteEventArgs.g.cs (3)
93var info2 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 108AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunAttachmentsProcessingCompleteEventArgs).GetProperty("Metrics", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 111properties[2] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info2);
_generated\40\TestPlatformJsonContext.TestRunCompleteEventArgs.g.cs (3)
195var info7 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 210AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunCompleteEventArgs).GetProperty("Metrics", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 213properties[7] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info7);
_generated\43\TestPlatformJsonContext.TestRunStatistics.g.cs (3)
73var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> 88AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.Client.TestRunStatistics).GetProperty("Stats", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>), global::System.Array.Empty<global::System.Type>(), null), 91properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>>(options, info1);
_generated\48\TestPlatformJsonContext.TelemetryEvent.g.cs (6)
32ObjectWithParameterizedConstructorCreator = static args => new global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent((string)args[0], (global::System.Collections.Generic.IDictionary<string, object>)args[1]), 35ConstructorAttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(string), typeof(global::System.Collections.Generic.IDictionary<string, object>)}, modifiers: null), 74var info1 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 89AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TelemetryEvent).GetProperty("Properties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, object>), global::System.Array.Empty<global::System.Type>(), null), 92properties[1] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, object>>(options, info1); 132ParameterType = typeof(global::System.Collections.Generic.IDictionary<string, object>),
_generated\54\TestPlatformJsonContext.TestProcessStartInfo.g.cs (6)
113var info3 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 128AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("EnvironmentVariables", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 131properties[3] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info3); 133var info4 = new global::System.Text.Json.Serialization.Metadata.JsonPropertyInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 148AttributeProviderFactory = static () => typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestProcessStartInfo).GetProperty("CustomProperties", InstanceMemberBindingFlags, null, typeof(global::System.Collections.Generic.IDictionary<string, string>), global::System.Array.Empty<global::System.Type>(), null), 151properties[4] = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreatePropertyInfo<global::System.Collections.Generic.IDictionary<string, string>>(options, info4);
_generated\71\TestPlatformJsonContext.IDictionaryTestOutcomeInt64.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>>? _IDictionaryTestOutcomeInt64; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> IDictionaryTestOutcomeInt64 22get => _IDictionaryTestOutcomeInt64 ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> Create_IDictionaryTestOutcomeInt64(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>, global::Microsoft.VisualStudio.TestPlatform.ObjectModel.TestOutcome, long>(options, info);
_generated\72\TestPlatformJsonContext.IDictionaryStringObject.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>? _IDictionaryStringObject; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> IDictionaryStringObject 22get => _IDictionaryStringObject ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, object>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> Create_IDictionaryStringObject(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, object>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, object>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, object>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, object>, string, object>(options, info);
_generated\73\TestPlatformJsonContext.IDictionaryStringString.g.cs (10)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info); 47private void IDictionaryStringStringSerializeHandler(global::System.Text.Json.Utf8JsonWriter writer, global::System.Collections.Generic.IDictionary<string, string>? value)
DataCollectionRequestHandler.cs (1)
319var envVariables = _dataCollectionManager.InitializeDataCollectors(payload.SettingsXml);
Json\Jsonite\Jsonite.cs (5)
1613/// The default implementation of <see cref="IJsonReflector"/> that allows to deserialize a JSON text to a generic <see cref="IDictionary{TKey,TValue}"/> <see cref="JsonObject"/> or <see cref="JsonArray"/>. 1635if (!typeof(IDictionary<string, object>).GetTypeInfo().IsAssignableFrom(expectedType.GetTypeInfo()) && expectedType != typeof(object)) 1655((IDictionary<string, object>)target)[(string)memberContext] = value; 1695if (typeof(IDictionary<string, object>).GetTypeInfo().IsAssignableFrom(typeInfo)) 1710return ((IDictionary<string, object>)obj);
JsonDataSerializer.Stj.cs (2)
139case IDictionary<string, object> d: 160private static void FixUpDictionary(IDictionary<string, object>? dict)
Messages\DiscoveryCompletePayload.cs (1)
33public IDictionary<string, object>? Metrics { get; set; }
Serialization\AfterTestRunEndResultConverter.cs (2)
36var metrics = DeserializeProperty<IDictionary<string, object>>(root, "Metrics", options) ?? new Dictionary<string, object>();
Serialization\ObjectConverter.cs (5)
82if (typeToConvert == typeof(IDictionary<string, object>) 84|| typeToConvert == typeof(IDictionary<string, object?>) 99internal class ObjectDictionaryConverter : JsonConverter<IDictionary<string, object>> 101public override IDictionary<string, object>? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) 119public override void Write(Utf8JsonWriter writer, IDictionary<string, object> value, JsonSerializerOptions options)
Serialization\TestRunCompleteEventArgsConverter.cs (1)
43result.Metrics = DeserializeProperty<IDictionary<string, object>>(root, "Metrics", options);
Serialization\TestRunStatisticsConverter.cs (1)
31IDictionary<TestOutcome, long>? stats = null;
TestPlatformJsonContext.cs (2)
83[JsonSerializable(typeof(IDictionary<string, object>))] 85[JsonSerializable(typeof(IDictionary<string, string>))]
Microsoft.TestPlatform.CoreUtilities (4)
Helpers\CommandLineArgumentsHelper.cs (4)
19public static IDictionary<string, string?> GetArgumentsDictionary(string[]? args) 53public static int GetIntArgFromDict(IDictionary<string, string?> argsDictionary, string fullname) 67public static bool TryGetIntArgFromDict(IDictionary<string, string?> argsDictionary, string fullname, out int value) 87public static string? GetStringArgFromDict(IDictionary<string, string?> argsDictionary, string fullname)
Microsoft.TestPlatform.CrossPlatEngine (35)
Adapter\FrameworkHandle.cs (1)
73public int LaunchProcessWithDebuggerAttached(string filePath, string? workingDirectory, string? arguments, IDictionary<string, string?>? environmentVariables)
AttachmentsProcessing\DataCollectorAttachmentsProcessorsFactory.cs (1)
36IDictionary<string, Tuple<string, IDataCollectorAttachmentProcessor>> datacollectorsAttachmentsProcessors = new Dictionary<string, Tuple<string, IDataCollectorAttachmentProcessor>>();
Client\MTP\MtpProxyExecutionManager.cs (1)
66public IDictionary<string, string?>? EnvironmentVariables { get; set; }
Client\MTP\MtpServerConnection.cs (1)
75public void Start(string source, IDictionary<string, string?>? environmentVariables, TimeSpan connectionTimeout)
Client\Parallel\DiscoveryDataAggregator.cs (2)
52public IDictionary<string, object> GetMetrics() 130public void AggregateMetrics(IDictionary<string, object>? metrics)
Client\Parallel\ParallelDiscoveryEventsHandler.cs (1)
123var aggregatedDiscoveryDataMetrics = _discoveryDataAggregator.GetMetrics();
Client\Parallel\ParallelRunDataAggregator.cs (2)
104public IDictionary<string, object> GetAggregatedRunDataMetrics() 188public void AggregateRunDataMetrics(IDictionary<string, object>? metrics)
Client\Parallel\ParallelRunEventsHandler.cs (1)
96var aggregatedRunDataMetrics = _runDataAggregator.GetAggregatedRunDataMetrics();
Client\ProxyExecutionManagerWithDataCollection.cs (1)
23private IDictionary<string, string?>? _dataCollectionEnvironmentVariables;
Client\ProxyOperationManagerWithDataCollection.cs (1)
20private IDictionary<string, string?>? _dataCollectionEnvironmentVariables;
DataCollection\DataCollectionLauncher.cs (1)
95IDictionary<string, string?>? environmentVariables,
DataCollection\DataCollectionParameters.cs (2)
27IDictionary<string, string?>? environmentVariables, 44public IDictionary<string, string?>? EnvironmentVariables { get; private set; }
DataCollection\DefaultDataCollectionLauncher.cs (1)
53public override int LaunchDataCollector(IDictionary<string, string?>? environmentVariables, IList<string> commandLineArguments)
DataCollection\DotnetDataCollectionLauncher.cs (1)
62public override int LaunchDataCollector(IDictionary<string, string?>? environmentVariables, IList<string> commandLineArguments)
DataCollection\InProcDataCollectionExtensionManager.cs (3)
34internal IDictionary<string, IInProcDataCollector> InProcDataCollectors; 262private static IDictionary<string, object?> GetSessionStartProperties(SessionStartEventArgs sessionStartEventArgs) 298var dataCollectionData = ((InProcDataCollectionSink)_inProcDataCollectionSink).GetDataCollectionDataSetForTestCase(testResult.TestCase.Id);
DataCollection\InProcDataCollectionSink.cs (3)
14private readonly IDictionary<Guid, TestCaseDataCollectionData> _testCaseDataCollectionDataMap; 40public IDictionary<string, string> GetDataCollectionDataSetForTestCase(Guid testCaseId) 71internal IDictionary<string, string> CollectionData { get; private set; }
DataCollection\Interfaces\IDataCollectionLauncher.cs (1)
30int LaunchDataCollector(IDictionary<string, string?>? environmentVariables, IList<string> commandLineArguments);
DataCollection\ProxyDataCollectionManager.cs (1)
191IDictionary<string, string?> environmentVariables = new Dictionary<string, string?>();
Discovery\DiscovererEnumerator.cs (3)
98public void LoadTests(IDictionary<string, IEnumerable<string>> testExtensionSourceMap, IRunSettings? settings, string? testCaseFilter, IMessageLogger logger) 371IDictionary<AssemblyType, IList<string>>? assemblyTypeToSoucesMap = null; 455private static IDictionary<AssemblyType, IList<string>> GetAssemblyTypeToSoucesMap(IEnumerable<string> sources, IAssemblyProperties assemblyProperties)
EventHandlers\TestCaseEventsHandler.cs (1)
56public void SendSessionStart(IDictionary<string, object?> properties)
Execution\MSTestV1TelemetryHelper.cs (1)
27internal static void AddTelemetry(TestResult testResult, IDictionary<string, int> adapterTelemetry)
Execution\TestRunCache.cs (1)
167public IDictionary<string, int> AdapterTelemetry { get; set; } = new Dictionary<string, int>();
Interfaces\ITestRunCache.cs (1)
24IDictionary<string, int> AdapterTelemetry { get; }
TestEngine.cs (3)
70IDictionary<string, SourceDetail> sourceToSourceDetailMap, 157IDictionary<string, SourceDetail> sourceToSourceDetailMap, 280IDictionary<string, SourceDetail> sourceToSourceDetailMap,
Microsoft.TestPlatform.PlatformAbstractions (5)
common\System\ProcessHelper.cs (3)
49internal static IDictionary<string, string?>? ExternalEnvironmentVariables { get; set; } 52public object LaunchProcess(string processPath, string? arguments, string? workingDirectory, IDictionary<string, string?>? envVariables, Action<object?, string?>? errorCallback, Action<object?>? exitCallBack, Action<object?, string?>? outputCallBack) 56public object LaunchProcess(string processPath, string? arguments, string? workingDirectory, IDictionary<string, string?>? envVariables, Action<object?, string?>? errorCallback, Action<object?>? exitCallBack, Action<object?, string?>? outputCallBack, bool createNoNewWindow)
Interfaces\System\IProcessHelper.cs (2)
25object LaunchProcess(string processPath, string? arguments, string? workingDirectory, IDictionary<string, string?>? envVariables, Action<object?, string?>? errorCallback, Action<object?>? exitCallBack, Action<object?, string?>? outputCallBack); 39object LaunchProcess(string processPath, string? arguments, string? workingDirectory, IDictionary<string, string?>? envVariables, Action<object?, string?>? errorCallback, Action<object?>? exitCallBack, Action<object?, string?>? outputCallBack, bool createNoNewWindow);
Microsoft.TestPlatform.TestHostRuntimeProvider (5)
Hosting\DefaultTestHostManager.cs (3)
117public IDictionary<string, string> Properties => new Dictionary<string, string>(); 173IDictionary<string, string?>? environmentVariables, 566internal static void AdjustProcessPriorityBasedOnSettings(Process testHostProcess, IDictionary<string, string?>? testHostEnvironmentVariables)
Hosting\DotnetTestHostManager.cs (1)
236IDictionary<string, string?>? environmentVariables,
Hosting\MtpTestRuntimeProvider.cs (1)
91TestProcessStartInfo ITestRuntimeProvider.GetTestHostProcessStartInfo(IEnumerable<string> sources, IDictionary<string, string?>? environmentVariables, TestRunnerConnectionInfo connectionInfo) => throw new NotSupportedException(NotSupportedMessage);
Microsoft.TestPlatform.Utilities (2)
InferRunSettingsHelper.cs (2)
673public static IEnumerable<string> FilterCompatibleSources(Architecture chosenPlatform, Architecture defaultArchitecture, Framework chosenFramework, IDictionary<string, Architecture> sourcePlatforms, IDictionary<string, Framework> sourceFrameworks, out string incompatibleSettingWarning)
Microsoft.VisualStudio.TestPlatform.Client (2)
Discovery\DiscoveryRequest.cs (1)
291var metrics = discoveryCompleteEventArgs.Metrics;
Execution\TestRunRequest.cs (1)
444var metrics = runCompleteArgs.Metrics;
Microsoft.VisualStudio.TestPlatform.Common (22)
DataCollection\AfterTestRunEndResult.cs (3)
27public AfterTestRunEndResult(Collection<AttachmentSet> attachmentSets, IDictionary<string, object> metrics) 45IDictionary<string, object> metrics) 59public IDictionary<string, object> Metrics { get; private set; }
DataCollection\BeforeTestRunStartResult.cs (2)
24public BeforeTestRunStartResult(IDictionary<string, string?> environmentVariables, int dataCollectionEventsPort) 34public IDictionary<string, string?> EnvironmentVariables { get; private set; }
DataCollection\DataCollectionManager.cs (1)
162public IDictionary<string, string?> InitializeDataCollectors(string settingsXml)
DataCollection\Interfaces\IDataCollectionManager.cs (1)
23IDictionary<string, string?> InitializeDataCollectors(string settingsXml);
ExtensionDecorators\SerialTestRunDecorator.cs (1)
118public int LaunchProcessWithDebuggerAttached(string filePath, string? workingDirectory, string? arguments, IDictionary<string, string?>? environmentVariables)
ExtensionDecorators\SerialTestRunDecoratorFrameworkHandle.cs (1)
28public int LaunchProcessWithDebuggerAttached(string filePath, string? workingDirectory, string? arguments, IDictionary<string, string?>? environmentVariables)
ExtensionFramework\Utilities\TestExtensions.cs (2)
161IDictionary<string, object> metrics, 490private static string SerializeExtensionDictionary(IDictionary<string, HashSet<string>> extensions)
Interfaces\Engine\ClientProtocol\ITestEngine.cs (2)
31IDictionary<string, SourceDetail> sourceToSourceDetailMap, 50IDictionary<string, SourceDetail> sourceToSourceDetailMap,
Interfaces\Engine\ITestCaseEventsHandler.cs (1)
37void SendSessionStart(IDictionary<string, object?> properties);
Telemetry\MetricsCollection.cs (1)
40public IDictionary<string, object> Metrics => _metricDictionary;
Telemetry\NoOpMetricsCollection.cs (1)
28public IDictionary<string, object> Metrics => new Dictionary<string, object>();
Utilities\FakesUtilities.cs (6)
104var sourceTfmMap = CreateDictionary(sources, framework); 143private static IDictionary<string, FrameworkVersion> CreateDictionary(IEnumerable<string> sources, FrameworkVersion framework) 176private static Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>? TryGetFakesCrossPlatformDataCollectorConfigurator() 182var method = type?.GetMethod(CrossPlatformConfiguratorMethodName, [typeof(IDictionary<string, FrameworkVersion>)]); 185return (Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>)method.CreateDelegate(typeof(Func<IDictionary<string, FrameworkVersion>, DataCollectorSettings>));
Microsoft.VisualStudio.TestPlatform.ObjectModel (30)
Adapter\Interfaces\IFrameworkHandle.cs (1)
32int LaunchProcessWithDebuggerAttached(string filePath, string? workingDirectory, string? arguments, IDictionary<string, string?>? environmentVariables);
Client\Events\DiscoveryCompleteEventArgs.cs (1)
45public IDictionary<string, object>? Metrics { get; set; }
Client\Events\TestRunAttachmentsProcessingCompleteEventArgs.cs (1)
40public IDictionary<string, object>? Metrics { get; set; }
Client\Events\TestRunCompleteEventArgs.cs (1)
130public IDictionary<string, object>? Metrics { get; set; }
Client\Interfaces\IMetricsCollection.cs (1)
24IDictionary<string, object> Metrics { get; }
Client\Interfaces\ITestRunStatistics.cs (1)
23IDictionary<TestOutcome, long>? Stats { get; }
Client\TestRunStatistics.cs (3)
30public TestRunStatistics(IDictionary<TestOutcome, long>? stats) 41public TestRunStatistics(long executedTests, IDictionary<TestOutcome, long>? stats) 57public IDictionary<TestOutcome, long>? Stats { get; private set; }
DataCollector\Events\SessionEvents.cs (3)
18private readonly IDictionary<string, object?> _properties; 40public SessionStartEventArgs(IDictionary<string, object?> properties) 53public SessionStartEventArgs(DataCollectionContext context, IDictionary<string, object?> properties)
DataCollector\InProcDataCollector\TestSessionStartArgs.cs (2)
15private readonly IDictionary<string, object?>? _properties; 31public TestSessionStartArgs(IDictionary<string, object?> properties)
Host\ITestRunTimeProvider.cs (1)
83TestProcessStartInfo GetTestHostProcessStartInfo(IEnumerable<string> sources, IDictionary<string, string?>? environmentVariables, TestRunnerConnectionInfo connectionInfo);
Nuget.Frameworks\FrameworkNameProvider.cs (3)
118private static bool TryConvertOrNormalize(string key, IDictionary<string, string> mappings, IDictionary<string, string> reverse, [NotNullWhen(true)] out string? value) 953public void AddFrameworkPrecedenceMappings(IDictionary<string, int> destination, IEnumerable<string> mappings)
Nuget.Frameworks\NoAllocEnumerateExtensions.cs (8)
276/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 310public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 320/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 321/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 327private readonly IDictionary<TKey, TValue> _dictionary; 330internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 336/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 346internal Enumerator(IDictionary<TKey, TValue> dictionary)
TelemetryEvent.cs (2)
16public TelemetryEvent(string name, IDictionary<string, object> properties) 32public IDictionary<string, object> Properties { get; private set; }
TestProcessStartInfo.cs (2)
37public IDictionary<string, string?>? EnvironmentVariables { get; set; } 44public IDictionary<string, string>? CustomProperties { get; set; }
Mono.Cecil (2)
Mono.Cecil.Cil\Symbols.cs (1)
778 public IDictionary<Instruction, SequencePoint> GetSequencePointMapping ()
Mono.Cecil\DefaultAssemblyResolver.cs (1)
18 readonly IDictionary<string, AssemblyDefinition> cache;
MSBuild (26)
OutOfProcTaskAppDomainWrapperBase.cs (3)
111IDictionary<string, TaskParameter> taskParams) 323IDictionary<string, TaskParameter> taskParams) 422IDictionary<string, Object> finalParameterValues = new Dictionary<string, Object>(StringComparer.OrdinalIgnoreCase);
OutOfProcTaskHostNode.cs (12)
61private static IDictionary<string, KeyValuePair<string, string>> s_mismatchedEnvironmentValues; 91private IDictionary<string, string> _savedEnvironment; 114private IDictionary<string, string> _lastAppliedConfigEnvironment; 685public void LogTelemetry(string eventName, IDictionary<string, string> properties) 1469IDictionary<string, TaskParameter> taskParams = taskConfiguration.TaskParameters; 1569IDictionary<string, string> currentEnvironment = CommunicationsUtilities.GetEnvironmentVariables(); 1654private void SetTaskHostEnvironment(IDictionary<string, string> environment) 1657IDictionary<string, string> updatedEnvironment = null; 1717private IDictionary<string, string> UpdateEnvironmentForMainNode(IDictionary<string, string> environment) 1720IDictionary<string, string> updatedEnvironment = null; 1770private void InitializeMismatchedEnvironmentTable(IDictionary<string, string> environment)
src\msbuild\src\Shared\OutOfProcTaskHostTaskResult.cs (3)
30internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams) 57internal OutOfProcTaskHostTaskResult(TaskCompleteType result, IDictionary<string, Object> finalParams, Exception taskException, string exceptionMessage, string[] exceptionMessageArgs) 101public IDictionary<string, Object> FinalParameterValues
src\msbuild\src\Shared\TaskHostBuildResponse.cs (3)
56List<IDictionary<string, ITaskItem[]>>? result = null; 60result = new List<IDictionary<string, ITaskItem[]>>(_targetOutputsPerProject.Count); 93foreach (IDictionary<string, ITaskItem[]> projectOutputs in engineResult.TargetOutputsPerProject)
src\msbuild\src\Shared\TaskHostConfiguration.cs (2)
174IDictionary<string, string> buildProcessEnvironment, 190IDictionary<string, object> taskParameters,
src\msbuild\src\Shared\TaskHostTaskComplete.cs (1)
112IDictionary<string, string> buildProcessEnvironment)
src\msbuild\src\Shared\TaskParameter.cs (1)
842IDictionary<string, string> clonedMetadata = new Dictionary<string, string>(MSBuildNameIgnoreCaseComparer.Default);
TaskExecutionContext.cs (1)
55public IDictionary<string, string>? SavedEnvironment { get; set; }
mscorlib (1)
src\runtime\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<,>))]
NuGet.Build.Tasks (4)
BuildTasksUtility.cs (4)
52public static void CopyPropertyIfExists(ITaskItem item, IDictionary<string, string> properties, string key) 57public static void CopyPropertyIfExists(ITaskItem item, IDictionary<string, string> properties, string key, string toKey) 94public static void AddPropertyIfExists(IDictionary<string, string> properties, string key, string value) 103public static void AddPropertyIfExists(IDictionary<string, string> properties, string key, string[] value)
NuGet.Build.Tasks.Console (17)
MSBuildStaticGraphRestore.cs (7)
106public async Task<bool> RestoreAsync(string entryProjectFilePath, IDictionary<string, string> globalProperties, IReadOnlyDictionary<string, string> options) 196public bool WriteDependencyGraphSpec(string entryProjectFilePath, IDictionary<string, string> globalProperties, IReadOnlyDictionary<string, string> options) 711/// <param name="globalProperties">An <see cref="IDictionary{String,String}" /> representing the global properties for the project.</param> 713private List<ProjectGraphEntryPoint> GetProjectGraphEntryPoints(string entryProjectPath, IDictionary<string, string> globalProperties) 813/// <param name="globalProperties">An <see cref="IDictionary{String,String}" /> containing the global properties to use when evaluation MSBuild projects.</param> 819private (DependencyGraphSpec DependencyGraphSpec, IReadOnlyList<IAssetsLogMessage> AdditionalMessages) GetDependencyGraphSpec(string entryProjectPath, IDictionary<string, string> globalProperties, bool interactive, string binaryLoggerParameters, IEnvironmentVariableReader environmentVariableReader) 955IDictionary<string, string> globalProperties,
RestoreProjectAdapter.cs (2)
16public RestoreProjectAdapter(string fullPath, IDictionary<string, string> globalProperties) 33private readonly IDictionary<string, string> _globalProperties;
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Build.Tasks.Pack (7)
PackTaskLogic.cs (7)
502private static IEnumerable<OutputLibFile> InitLibFiles(IMSBuildItem[] libFiles, IDictionary<string, string> targetAliasToNuGetFramework, Dictionary<string, List<string>> nuGetFrameworkToDuplicateAliases) 572private static ISet<NuGetFramework> ParseFrameworks(IPackTaskRequest<IMSBuildItem> request, IDictionary<string, string> targetAliasToNuGetFramework) 848private IDictionary<string, string> GetSourceFiles(IPackTaskRequest<IMSBuildItem> request, string currentProjectDirectory) 870IDictionary<string, string> projectRefToVersionMap, 906IDictionary<NuGetFramework, HashSet<LibraryDependency>> dependenciesByFramework, 907IDictionary<string, string> projectRefToVersionMap, 1144private static IDictionary<string, string> ParsePropertiesAsDictionary(string[] properties)
NuGet.CommandLine.XPlat (11)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
Utility\MSBuildAPIUtility.cs (3)
77private SaveableProject GetProject(string projectCSProjPath, IDictionary<string, string> globalProperties) 938newProject.Build(new[] { CollectPackageReferences, CollectCentralPackageVersions }, new List<Microsoft.Build.Framework.ILogger> { }, out var targetOutputs); 1125public SaveableProject WithGlobalProperties(IDictionary<string, string> globalProperties)
NuGet.Commands (31)
MSBuildPackTargetArgs.cs (1)
21public IDictionary<string, string> SourceFiles { get; set; }
PackCommand\Logging\PackageSpecificWarningProperties.cs (6)
22internal IDictionary<NuGetLogCode, IDictionary<string, ISet<NuGetFramework>>> Properties { get; private set; } 29public static PackageSpecificWarningProperties CreatePackageSpecificWarningProperties(IDictionary<string, HashSet<(NuGetLogCode, NuGetFramework)>> noWarnProperties) 60Properties ??= new Dictionary<NuGetLogCode, IDictionary<string, ISet<NuGetFramework>>>(); 62if (!Properties.TryGetValue(code, out IDictionary<string, ISet<NuGetFramework>> frameworksByLibraryId)) 87Properties.TryGetValue(code, out var libraryIdsAndFrameworks) &&
RestoreCommand\Logging\PackageSpecificWarningProperties.cs (5)
25public IDictionary<NuGetLogCode, IDictionary<string, ISet<string>>> Properties { get; private set; } 81Properties ??= new Dictionary<NuGetLogCode, IDictionary<string, ISet<string>>>(); 83if (!Properties.TryGetValue(code, out IDictionary<string, ISet<string>> frameworksByLibraryId)) 136Properties.TryGetValue(code, out var libraryIdsAndFrameworks) &&
RestoreCommand\Logging\TransitiveNoWarnUtils.cs (4)
446var libraryCollection = codePair.Value; 463var libraryCollection = codePair.Value; 548var libraryCollection = codePair.Value; 596var libraryCollection = codePair.Value;
RestoreCommand\ProjectRestoreCommand.cs (1)
47IDictionary<NuGetFramework, string> frameworkToAlias,
RestoreCommand\RequestFactory\MSBuildItem.cs (2)
17private readonly IDictionary<string, string> _metadata; 29public MSBuildItem(string identity, IDictionary<string, string> metadata)
RestoreCommand\Utility\MSBuildRestoreUtility.cs (2)
418NormalizePathCasings((IDictionary<string, string>)paths, graphSpec); 424public static void NormalizePathCasings(IDictionary<string, string> paths, DependencyGraphSpec graphSpec)
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Common (3)
Telemetry\TelemetryEvent.cs (3)
11private IDictionary<string, object?> _properties; 12private IDictionary<string, object?> _piiProperties; 58public IDictionary<string, object?> ComplexData { get; } = new Dictionary<string, object?>();
NuGet.Configuration (10)
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.DependencyResolver.Core (11)
Remote\RemoteWalkContext.cs (1)
42public IDictionary<LockFileCacheKey, IList<LibraryIdentity>> LockFileLibraries { get; }
ResolverUtility.cs (2)
163IDictionary<LockFileCacheKey, IList<LibraryIdentity>> lockFileLibraries, 190IDictionary<LockFileCacheKey, IList<LibraryIdentity>> lockFileLibraries,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Frameworks (11)
FrameworkNameProvider.cs (3)
119private static bool TryConvertOrNormalize(string key, IDictionary<string, string> mappings, IDictionary<string, string> reverse, [NotNullWhen(true)] out string? value) 965public void AddFrameworkPrecedenceMappings(IDictionary<string, int> destination, IEnumerable<string> mappings)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.LibraryModel (11)
Library.cs (1)
20public IDictionary<string, object> Items { get; set; } = new Dictionary<string, object>();
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.PackageManagement (29)
FileModifiers\XmlTransformer.cs (2)
23private readonly IDictionary<XName, Action<XElement, XElement>> _nodeActions; 31public XmlTransformer(IDictionary<XName, Action<XElement, XElement>> nodeActions)
Projects\MSBuildNuGetProject.cs (2)
35private readonly IDictionary<FileTransformExtensions, IPackageFileTransformer> FileTransformers = 629private static IDictionary<XName, Action<XElement, XElement>> GetConfigMappings()
Resolution\PrunePackageTree.cs (2)
77private static void WalkDependencies(IDictionary<string, SourcePackageDependencyInfo[]> packagesDict, SourcePackageDependencyInfo packageToInstall, HashSet<string> allowed, HashSet<SourcePackageDependencyInfo> visitedNodes) 107IDictionary<string, NuGetVersion> installed = new Dictionary<string, NuGetVersion>(StringComparer.OrdinalIgnoreCase);
Resolution\UninstallResolver.cs (7)
16public static IDictionary<PackageIdentity, HashSet<PackageIdentity>> GetPackageDependents(IEnumerable<PackageDependencyInfo> dependencyInfoEnumerable, 17IEnumerable<PackageIdentity> installedPackages, out IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict) 56IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDictionary; 57var dependentsDictionary = GetPackageDependents(dependencyInfoEnumerable, installedPackages, out dependenciesDictionary); 66IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict, 67IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependentsDict, 102IDictionary<PackageIdentity, HashSet<PackageIdentity>> dependenciesDict,
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
Utility\MSBuildNuGetProjectSystemUtility.cs (5)
142IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers, 218IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers, 518IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers, 538IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers, 556IDictionary<FileTransformExtensions, IPackageFileTransformer> fileTransformers,
Utility\XElementExtensions.cs (1)
113public static XElement MergeWith(this XElement source, XElement target, IDictionary<XName, Action<XElement, XElement>> nodeActions)
NuGet.Packaging (20)
ContentModel\ContentItemGroup.cs (2)
18internal ContentItemGroup(IDictionary<string, object> properties, IList<ContentItem> items) 24public IDictionary<string, object> Properties { get; }
ContentModel\SelectionCriteria.cs (1)
25public IDictionary<string, object> Properties { get; set; }
Core\Fingerprints.cs (2)
11private IDictionary<string, string> _keyValuePairs; 13public Fingerprints(IDictionary<string, string> fingerPrints)
Rules\ReferencesInNuspecMatchRefAssetsRule.cs (3)
26var nuspecReferences = GetReferencesFromNuspec(builder.GetNuspec()); 31internal IDictionary<string, IEnumerable<string>> GetReferencesFromNuspec(Stream nuspecStream) 49internal IEnumerable<MissingReference> Compare(IDictionary<string, IEnumerable<string>> nuspecReferences, IEnumerable<string> refFiles)
Signing\Signatures\Signature.cs (1)
40private IDictionary<HashAlgorithmName, string>? _signingCertificateFingerprintLookup;
Signing\Verification\AllowListVerificationProvider.cs (1)
160IDictionary<HashAlgorithmName, string> CertificateFingerprintLookUp)
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.ProjectModel (13)
JsonPackageSpecReader.Utf8JsonStreamReader.cs (2)
492IDictionary<string, CentralPackageVersion> centralPackageVersions, 520IDictionary<string, PrunePackageReference> packagesToPrune,
LockFile\LockFileItem.cs (1)
26public IDictionary<string, string> Properties
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Protocol (29)
_generated\147\RepositorySignatureJsonContext.Fingerprints.g.cs (3)
32ObjectWithParameterizedConstructorCreator = static args => new global::NuGet.Packaging.Core.Fingerprints((global::System.Collections.Generic.IDictionary<string, string>)args[0]), 35ConstructorAttributeProviderFactory = static () => typeof(global::NuGet.Packaging.Core.Fingerprints).GetConstructor(InstanceMemberBindingFlags, binder: null, new[] {typeof(global::System.Collections.Generic.IDictionary<string, string>)}, modifiers: null), 61ParameterType = typeof(global::System.Collections.Generic.IDictionary<string, string>),
_generated\151\RepositorySignatureJsonContext.IDictionaryStringString.g.cs (9)
13private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>? _IDictionaryStringString; 19public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> IDictionaryStringString 22get => _IDictionaryStringString ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>>)Options.GetTypeInfo(typeof(global::System.Collections.Generic.IDictionary<string, string>)); 25private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> Create_IDictionaryStringString(global::System.Text.Json.JsonSerializerOptions options) 27if (!TryGetTypeInfoForRuntimeCustomConverter<global::System.Collections.Generic.IDictionary<string, string>>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::System.Collections.Generic.IDictionary<string, string>> jsonTypeInfo)) 29var info = new global::System.Text.Json.Serialization.Metadata.JsonCollectionInfoValues<global::System.Collections.Generic.IDictionary<string, string>> 37jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateIDictionaryInfo<global::System.Collections.Generic.IDictionary<string, string>, string, string>(options, info);
_generated\155\RepositorySignatureJsonContext.GetJsonTypeInfo.g.cs (1)
46if (type == typeof(global::System.Collections.Generic.IDictionary<string, string>))
DependencyInfo\Trim.cs (1)
17public static void TrimByAllowedVersions(RegistrationInfo registrationInfo, IDictionary<string, VersionRange> allowedVersions)
HttpSource\HttpRequestMessageExtensions.cs (2)
41var clonedOptions = (IDictionary<string, object?>)clone.Options;
Resources\ServiceIndexResourceV3.cs (3)
29private readonly IDictionary<string, List<ServiceIndexEntry>> _index; 170private static IDictionary<string, List<ServiceIndexEntry>> MakeLookup(ServiceIndexModel index, PackageSource? packageSource) 235private static IDictionary<string, List<ServiceIndexEntry>> MakeLookup(JObject index, PackageSource? packageSource)
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Resolver (8)
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
NuGet.Versioning (10)
src\nuget-client\build\Shared\EqualityUtility.cs (2)
254IDictionary<TKey, TValue> self, 255IDictionary<TKey, TValue> other,
src\nuget-client\build\Shared\NoAllocEnumerateExtensions.cs (8)
287/// Avoids allocating an enumerator when enumerating an <see cref="IDictionary{TKey,TValue}"/> where the concrete type 321public static OptimisticallyNonAllocatingDictionaryEnumerable<TKey, TValue> NoAllocEnumerate<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) 331/// Provides a struct-based enumerator for use with <see cref="IDictionary{TKey,TValue}"/>. 332/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 338private readonly IDictionary<TKey, TValue> _dictionary; 341internal OptimisticallyNonAllocatingDictionaryEnumerable(IDictionary<TKey, TValue> dictionary) => _dictionary = dictionary; 347/// Do not use this type directly. Use <see cref="NoAllocEnumerate{TKey, TValue}(IDictionary{TKey, TValue})"/> instead. 357internal Enumerator(IDictionary<TKey, TValue> dictionary)
PresentationBuildTasks (1)
src\wpf\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; 1501private IDictionary<RightsManagementUser, RightsManagementLicense> _rightsDictionary; 1506private IDictionary<RightsManagementUser, RightsManagementLicense> _lastSavedRightsDictionary; 1512private 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 (49)
src\roslyn\src\Compilers\Core\Portable\InternalUtilities\CompilerOptionParseUtilities.cs (2)
29public static void ParseFeatures(IDictionary<string, string> builder, List<string> values) 56private static void ParseFeatureCore(IDictionary<string, string> builder, string feature)
src\roslyn\src\Dependencies\Collections\Internal\IDictionaryDebugView`2.cs (2)
22private readonly IDictionary<K, V> _dict; 24public IDictionaryDebugView(IDictionary<K, V> dictionary)
src\roslyn\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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (2)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 47ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
src\roslyn\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\roslyn\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\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.cs (1)
53public static IDictionary<TKey, TValue> EmptyDictionary<TKey, TValue>()
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
180public static void Serialize(IDictionary<string, string> builder, IOption2 option, string language, object? value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\IDictionaryExtensions.cs (15)
16public static V GetOrAdd<K, V>(this IDictionary<K, V> dictionary, K key, Func<K, V> function) 28public static V GetOrAdd<K, V, TArg>(this IDictionary<K, V> dictionary, K key, Func<K, TArg, V> function, TArg arg) 40public static TValue? GetValueOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key) 63public static void MultiAdd<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 76public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, TValue value) 88public static void MultiAddRange<TKey, TValue>(this IDictionary<TKey, ArrayBuilder<TValue>> dictionary, TKey key, IEnumerable<TValue> values) 100public static bool MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value, IEqualityComparer<TValue>? comparer = null) 119public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value) 131public static void MultiAdd<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value, ImmutableArray<TValue> defaultArray) 143public static void MultiRemove<TKey, TValue, TCollection>(this IDictionary<TKey, TCollection> dictionary, TKey key, TValue value) 180/// and would conflict with <see cref="MultiRemove{TKey, TValue, TCollection}(IDictionary{TKey, TCollection}, TKey, TValue)"/> 182private static void MultiRemoveSet<TKey, TValue, TSet>(this IDictionary<TKey, TSet> dictionary, TKey key, TValue value) 200public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableHashSet<TValue>> dictionary, TKey key, TValue value) 206public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableSortedSet<TValue>> dictionary, TKey key, TValue value) 212public static void MultiRemove<TKey, TValue>(this IDictionary<TKey, ImmutableArray<TValue>> dictionary, TKey key, TValue value)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.cs (2)
869IDictionary<TType1, TType2> mapping, 880IDictionary<TType1, TType2> mapping,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Extensions\Symbols\ITypeSymbolExtensions.SubstituteTypesVisitor.cs (2)
21private readonly IDictionary<TType1, TType2> _map; 25IDictionary<TType1, TType2> map,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions_CreateEqualsMethod.cs (1)
516IDictionary<string, ISymbol>? parameterToExistingFieldMap)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\SyntaxGeneratorExtensions.cs (4)
263private static bool TryGetValue(IDictionary<string, string>? dictionary, string key, [NotNullWhen(true)] out string? value) 271private static bool TryGetValue(IDictionary<string, ISymbol>? dictionary, string key, [NotNullWhen(true)] out string? value) 340IDictionary<string, ISymbol>? parameterToExistingFieldMap, 341IDictionary<string, string>? parameterToNewFieldMap,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\CodeChangeProviderMetadata.cs (1)
18public CodeChangeProviderMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageMetadata.cs (1)
12internal sealed class LanguageMetadata(IDictionary<string, object> data) : ILanguageMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\LanguageServiceMetadata.cs (1)
13internal sealed class LanguageServiceMetadata(IDictionary<string, object> data) : ILanguageMetadata, ILayeredServiceMetadata
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableLanguageMetadata.cs (1)
16public OrderableLanguageMetadata(IDictionary<string, object> data)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Workspace\Mef\OrderableMetadata.cs (1)
24public OrderableMetadata(IDictionary<string, object> data)
src\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\CSharp\LanguageServices\CSharpTypeInferenceService.TypeInferrer.cs (1)
644IDictionary<ITypeParameterSymbol, ITypeSymbol> bestMap = null;
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>;
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\runtime\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)
136/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the default equality comparer for the key type. 139/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 143public OrderedDictionary(IDictionary<TKey, TValue> dictionary) : this(dictionary, null) 149/// the specified <see cref="IDictionary{TKey, TValue}"/> and uses the specified <see cref="IEqualityComparer{TKey}"/>. 152/// The <see cref="IDictionary{TKey, TValue}"/> whose elements are copied to the new <see cref="OrderedDictionary{TKey, TValue}"/>. 160public OrderedDictionary(IDictionary<TKey, TValue> dictionary, IEqualityComparer<TKey>? comparer) : 261ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 273ICollection<TValue> IDictionary<TKey, TValue>.Values => Values;
System\Collections\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.Immutable (85)
src\runtime\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)
335ICollection<TKey> IDictionary<TKey, TValue>.Keys => 340((IDictionary<TKey, TValue>)this).Keys; 356ICollection<TValue> IDictionary<TKey, TValue>.Values => 364((IDictionary<TKey, TValue>)this).Values; 578TValue IDictionary<TKey, TValue>.this[TKey key] 649void IDictionary<TKey, TValue>.Add(TKey key, TValue value) => throw new NotSupportedException(); 658bool IDictionary<TKey, TValue>.Remove(TKey key) => throw new NotSupportedException();
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (21)
165/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 167/// <returns>An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns> 168ICollection<TKey> IDictionary<TKey, TValue>.Keys 188/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 190/// <returns>An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.</returns> 191ICollection<TValue> IDictionary<TKey, TValue>.Values 220/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 223/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 231/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 234/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>. 392/// <exception cref="NotSupportedException">The property is set and the <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 502/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 507/// <exception cref="ArgumentException">An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>.</exception> 508/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 516/// Determines whether the <see cref="IDictionary{TKey, TValue}"/> contains an element with the specified key. 518/// <param name="key">The key to locate in the <see cref="IDictionary{TKey, TValue}"/>.</param> 520/// true if the <see cref="IDictionary{TKey, TValue}"/> contains an element with the key; otherwise, false. 553/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 557/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>. 561/// <exception cref="NotSupportedException">The <see cref="IDictionary{TKey, TValue}"/> is read-only.</exception> 574/// true if the object that implements <see cref="IDictionary{TKey, TValue}"/> contains an element with the specified key; otherwise, false.
System\Collections\Immutable\ImmutableDictionary_2.cs (15)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys 226ICollection<TValue> IDictionary<TKey, TValue>.Values 263TValue IDictionary<TKey, TValue>.this[TKey key] 563/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 570/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>. 573/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 575void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 581/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 585/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>. 590/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 592bool IDictionary<TKey, TValue>.Remove(TKey key) 652/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 655/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 663/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 666/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>.
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (20)
80/// See <see cref="IDictionary{TKey, TValue}"/> 82ICollection<TKey> IDictionary<TKey, TValue>.Keys 96/// See <see cref="IDictionary{TKey, TValue}"/> 98ICollection<TValue> IDictionary<TKey, TValue>.Values 231/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 234/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 242/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 245/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>. 414/// See <see cref="IDictionary{TKey, TValue}"/> 427/// See <see cref="IDictionary{TKey, TValue}"/> 435/// See <see cref="IDictionary{TKey, TValue}"/> 450/// See <see cref="IDictionary{TKey, TValue}"/> 467/// See <see cref="IDictionary{TKey, TValue}"/> 475/// See <see cref="IDictionary{TKey, TValue}"/> 484/// See <see cref="IDictionary{TKey, TValue}"/> 492/// See <see cref="IDictionary{TKey, TValue}"/> 500/// See <see cref="IDictionary{TKey, TValue}"/> 513/// See <see cref="IDictionary{TKey, TValue}"/> 521/// See <see cref="IDictionary{TKey, TValue}"/> 529/// See <see cref="IDictionary{TKey, TValue}"/>
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (16)
144ICollection<TKey> IDictionary<TKey, TValue>.Keys 152ICollection<TValue> IDictionary<TKey, TValue>.Values 217TValue IDictionary<TKey, TValue>.this[TKey key] 468/// Adds an element with the provided key and value to the <see cref="IDictionary{TKey, TValue}"/>. 475/// An element with the same key already exists in the <see cref="IDictionary{TKey, TValue}"/>. 478/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 480void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 486/// Removes the element with the specified key from the <see cref="IDictionary{TKey, TValue}"/>. 490/// true if the element is successfully removed; otherwise, false. This method also returns false if <paramref name="key"/> was not found in the original <see cref="IDictionary{TKey, TValue}"/>. 495/// The <see cref="IDictionary{TKey, TValue}"/> is read-only. 497bool IDictionary<TKey, TValue>.Remove(TKey key) 557/// Gets an <see cref="ICollection{T}"/> containing the keys of the <see cref="IDictionary{TKey, TValue}"/>. 560/// An <see cref="ICollection{T}"/> containing the keys of the object that implements <see cref="IDictionary{TKey, TValue}"/>. 568/// Gets an <see cref="ICollection{T}"/> containing the values in the <see cref="IDictionary{TKey, TValue}"/>. 571/// An <see cref="ICollection{T}"/> containing the values in the object that implements <see cref="IDictionary{TKey, TValue}"/>. 845if (items is IDictionary<TKey, TValue> itemsAsDictionary)
System\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) 216public IDictionary<object, object?> Items => _items;
System.ComponentModel.Composition (97)
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 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 (1)
35public override IDictionary<string, object?> Metadata => field ??= _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)
532private bool ParseMetrics(IDictionary<string, string> arguments, out string? metricsSpecs) 544private bool ParseBase2ExponentialHistogramSpecs(IDictionary<string, string> arguments, out string? base2ExponentialHistogramSpec) 587private bool SetSharedMaxTimeSeries(IDictionary<string, string> arguments, int sharedValue, out int maxTimeSeries) 592private void SetUniqueMaxTimeSeries(IDictionary<string, string> arguments, int defaultValue, out int maxTimeSeries) 597private bool SetSharedMaxHistograms(IDictionary<string, string> arguments, int sharedValue, out int maxHistograms) 602private void SetUniqueMaxHistograms(IDictionary<string, string> arguments, int defaultValue, out int maxHistograms) 607private bool SetMaxValue(IDictionary<string, string> arguments, string argumentsKey, string valueDescriptor, int defaultValue, out int maxValue) 633private void SetRefreshIntervalSecs(IDictionary<string, string> arguments, double minValue, double defaultValue, out double refreshIntervalSeconds) 643private bool SetSharedRefreshIntervalSecs(IDictionary<string, string> arguments, double sharedValue, out double refreshIntervalSeconds) 654private bool GetRefreshIntervalSecs(IDictionary<string, string> arguments, string valueDescriptor, double defaultValue, out double refreshIntervalSeconds)
System.Diagnostics.Process (7)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (3)
221IDictionary<string, string?> env = startInfo.Environment; 359IDictionary<string, string?> env = startInfo.Environment; 430IDictionary<string, string?> env, string? cwd, bool setCredentials, uint userId,
src\runtime\src\libraries\Common\src\Interop\Unix\System.Native\Interop.ForkAndExecProcess.cs (2)
16string filename, string[] argv, IDictionary<string, string?> env, string? cwd, 155internal static unsafe void AllocEnvpArray(IDictionary<string, string?> env, ref byte** arrPtr)
System\Collections\Specialized\DictionaryWrapper.cs (1)
61((IDictionary<string, string?>)_contents).CopyTo(array, arrayIndex);
System\Diagnostics\ProcessStartInfo.cs (1)
94public IDictionary<string, string?> Environment
System.Drawing.Common (2)
System\Drawing\Gdiplus.cs (2)
9private static IDictionary<object, object>? t_threadData; 18internal static IDictionary<object, object> ThreadData => t_threadData ??= new Dictionary<object, object>();
System.IO.Packaging (1)
System\IO\Packaging\XmlWrappingReader.cs (1)
115IDictionary<string, string> IXmlNamespaceResolver.GetNamespacesInScope(XmlNamespaceScope scope)
System.Linq.Expressions (7)
System\Dynamic\ExpandoObject.cs (7)
617ICollection<string> IDictionary<string, object?>.Keys => new KeyCollection(this); 619ICollection<object?> IDictionary<string, object?>.Values => new ValueCollection(this); 621object? IDictionary<string, object?>.this[string key] 639void IDictionary<string, object?>.Add(string key, object? value) 644bool IDictionary<string, object?>.ContainsKey(string key) 653bool IDictionary<string, object?>.Remove(string key) 660bool IDictionary<string, object?>.TryGetValue(string key, out object? value)
System.Net.Http (18)
System\Net\Http\HttpClientHandler.cs (1)
348public IDictionary<string, object?> Properties => _underlyingHandler.Properties;
System\Net\Http\HttpRequestMessage.cs (1)
122public IDictionary<string, object?> Properties => Options;
System\Net\Http\HttpRequestOptions.cs (14)
22object? IDictionary<string, object?>.this[string key] 33ICollection<string> IDictionary<string, object?>.Keys => Options.Keys; 34ICollection<object?> IDictionary<string, object?>.Values => Options.Values; 36bool ICollection<KeyValuePair<string, object?>>.IsReadOnly => ((IDictionary<string, object?>)Options).IsReadOnly; 37void IDictionary<string, object?>.Add(string key, object? value) => Options.Add(key, value); 38void ICollection<KeyValuePair<string, object?>>.Add(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Add(item); 40bool ICollection<KeyValuePair<string, object?>>.Contains(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Contains(item); 41bool IDictionary<string, object?>.ContainsKey(string key) => Options.ContainsKey(key); 43((IDictionary<string, object?>)Options).CopyTo(array, arrayIndex); 46bool IDictionary<string, object?>.Remove(string key) => Options.Remove(key); 47bool ICollection<KeyValuePair<string, object?>>.Remove(KeyValuePair<string, object?> item) => ((IDictionary<string, object?>)Options).Remove(item); 49bool IDictionary<string, object?>.TryGetValue(string key, out object? value) => Options.TryGetValue(key, out value); 96var dictionary = (IDictionary<string, object?>)options;
System\Net\Http\SocketsHttpHandler\HttpConnectionSettings.cs (1)
71internal IDictionary<string, object?>? _properties;
System\Net\Http\SocketsHttpHandler\SocketsHttpHandler.cs (1)
467public IDictionary<string, object?> Properties =>
System.Net.Http.WinHttpHandler (1)
System\Net\Http\WinHttpHandler.cs (1)
574public IDictionary<string, object> Properties => field ??= new Dictionary<string, object>();
System.ObjectModel (1)
System\Collections\ObjectModel\KeyedCollection.cs (1)
154protected IDictionary<TKey, TItem>? Dictionary => dict;
System.Private.CoreLib (38)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (9)
1534/// cref="IDictionary{TKey,TValue}"/>. 1545void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 1555/// cref="IDictionary{TKey,TValue}"/>. 1561/// cref="IDictionary{TKey,TValue}"/>. 1565bool IDictionary<TKey, TValue>.Remove(TKey key) => TryRemove(key, out _); 1602void ICollection<KeyValuePair<TKey, TValue>>.Add(KeyValuePair<TKey, TValue> keyValuePair) => ((IDictionary<TKey, TValue>)this).Add(keyValuePair.Key, keyValuePair.Value); 1690((IDictionary<TKey, TValue>)this).Add((TKey)key, (TValue)value!); 2696private readonly IDictionary<TKey, TValue> _dictionary; 2698public IDictionaryDebugView(IDictionary<TKey, TValue> dictionary)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\CollectionExtensions.cs (4)
24public static bool TryAdd<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, TValue value) 40public static bool Remove<TKey, TValue>(this IDictionary<TKey, TValue> dictionary, TKey key, [MaybeNullWhen(false)] out TValue value) 86/// <returns>An object that acts as a read-only wrapper around the current <see cref="IDictionary{TKey, TValue}"/>.</returns> 88public static ReadOnlyDictionary<TKey, TValue> AsReadOnly<TKey, TValue>(this IDictionary<TKey, TValue> dictionary) where TKey : notnull =>
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\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\runtime\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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (10)
17private readonly IDictionary<TKey, TValue> m_dictionary; // Do not rename (binary serialization) 24public ReadOnlyDictionary(IDictionary<TKey, TValue> dictionary) 36protected IDictionary<TKey, TValue> Dictionary => m_dictionary; 44ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys; 51ICollection<TValue> IDictionary<TKey, TValue>.Values => Values; 55void IDictionary<TKey, TValue>.Add(TKey key, TValue value) 60bool IDictionary<TKey, TValue>.Remove(TKey key) 65TValue IDictionary<TKey, TValue>.this[TKey key] 216private readonly IDictionary<TKey, TValue> _dictionary; 219public DictionaryEnumerator(IDictionary<TKey, TValue> dictionary)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventListener.cs (1)
184public void EnableEvents(EventSource eventSource, EventLevel level, EventKeywords matchAnyKeyword, IDictionary<string, string?>? arguments)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventPipeEventProvider.cs (1)
40IDictionary<string, string?>? args = null;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventProvider.cs (2)
185internal virtual void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments, int sessionId) { } 1306protected static IDictionary<string, string?>? ParseFilterData(byte[]? data)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\EventSource.cs (5)
484public static void SendCommand(EventSource eventSource, EventCommand command, IDictionary<string, string?>? commandArguments) 2502internal override void OnControllerCommand(ControllerCommand command, IDictionary<string, string?>? arguments, 2624IDictionary<string, string?>? commandArguments) 4098public IDictionary<string, string?>? Arguments { get; internal set; } 4126internal EventCommandEventArgs(EventCommand command, IDictionary<string, string?>? arguments, EventSource eventSource,
System.Private.DataContractSerialization (4)
System\Runtime\Serialization\Globals.cs (1)
82internal static Type TypeOfIDictionaryGeneric => field ??= typeof(IDictionary<,>);
System\Runtime\Serialization\XmlObjectSerializerReadContext.cs (2)
718IDictionary<string, string>? namespacesInScope = xmlReader.GetNamespacesInScope(XmlNamespaceScope.ExcludeXml); 943private IDataNode ReadAndResolveUnknownXmlData(XmlReaderDelegator xmlReader, IDictionary<string, string>? namespaces,
System\Runtime\Serialization\XmlReaderDelegator.cs (1)
1092internal IDictionary<string, string>? GetNamespacesInScope(XmlNamespaceScope scope)
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)
159public 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)
2138IDictionary<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)
src\runtime\artifacts\obj\System.Runtime\Release\net11.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 (1)
System\Runtime\Serialization\Schema\ImportOptions.cs (1)
56public IDictionary<string, string> Namespaces => field ??= 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 (13)
System\IdentityModel\Policy\AuthorizationContext.cs (1)
17public abstract IDictionary<string, object> Properties { get; }
System\IdentityModel\Policy\DefaultAuthorizationContext.cs (2)
18private IDictionary<string, object> _properties; 63public override IDictionary<string, object> Properties
System\IdentityModel\Policy\DefaultEvaluationContext.cs (1)
50public override IDictionary<string, object> Properties
System\IdentityModel\Policy\EvaluationContext.cs (1)
15public abstract IDictionary<string, object> Properties { get; }
System\IdentityModel\SecurityUtils.cs (2)
329private IDictionary<string, object> _properties; 359public override IDictionary<string, object> Properties { get { return _properties; } }
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
129public IDictionary<string, object> Properties
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
86public IDictionary<string, SupportingTokenParameters> OperationSupportingTokenParameters => _operationSupportingTokenParameters; 88public IDictionary<string, SupportingTokenParameters> OptionalOperationSupportingTokenParameters => _optionalOperationSupportingTokenParameters;
System\ServiceModel\Security\SecurityProtocol.cs (2)
420private void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> tokens, SecurityTokenAttachmentMode attachmentMode, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping) 433protected void AddSupportingTokenSpecification(SecurityMessageProperty security, IList<SecurityToken> basicTokens, IList<SecurityToken> endorsingTokens, IList<SecurityToken> signedEndorsingTokens, IList<SecurityToken> signedTokens, IDictionary<SecurityToken, ReadOnlyCollection<IAuthorizationPolicy>> tokenPoliciesMapping)
System\ServiceModel\SynchronizedKeyedCollection.cs (1)
92protected IDictionary<K, T> Dictionary
System.Speech (7)
Recognition\RecognizerInfo.cs (1)
127public IDictionary<string, string> AdditionalInfo
Result\SemanticValue.cs (5)
117void IDictionary<string, SemanticValue>.Add(string key, SemanticValue value) 132bool IDictionary<string, SemanticValue>.Remove(string key) 150ICollection<string> IDictionary<string, SemanticValue>.Keys 155ICollection<SemanticValue> IDictionary<string, SemanticValue>.Values 164bool IDictionary<string, SemanticValue>.TryGetValue(string key, [NotNullWhen(true)] out SemanticValue? value)
Synthesis\VoiceInfo.cs (1)
204public IDictionary<string, string> AdditionalInfo => _attributes ??= new ReadOnlyDictionary<string, string>(new Dictionary<string, string>(0));
System.Text.Json (22)
System\ReflectionExtensions.cs (1)
281public static bool TryUnifyWith(this Type pattern, Type target, IDictionary<Type, Type> substitution)
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}"/>, or 13/// When using <see cref="System.Collections.Generic.IDictionary{TKey, TValue}"/> or 17/// 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)
123Type? 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)
845if (propValue is IDictionary<string, object?> dictionaryObjectValue) 859else if (propValue is IDictionary<string, JsonElement> dictionaryElementValue) 887void AddProperty<TValue>(ref readonly ReadStackFrame current, IDictionary<string, TValue> d, TValue value)
System\Text\Json\Serialization\Metadata\JsonTypeInfo.cs (2)
1777return typeof(IDictionary<string, object>).IsAssignableFrom(propertyType) || 1778typeof(IDictionary<string, JsonElement>).IsAssignableFrom(propertyType) ||
System.Text.Json.SourceGeneration (2)
Helpers\KnownTypeSymbols.cs (1)
46public INamedTypeSymbol? IDictionaryOfTKeyTValueType => GetOrResolveType(typeof(IDictionary<,>), ref _IDictionaryOfTKeyTValueType);
Helpers\RoslynExtensions.cs (1)
264public static bool TryUnifyWith(this ITypeSymbol pattern, ITypeSymbol target, IDictionary<ITypeParameterSymbol, ITypeSymbol> substitution)
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.Xaml (13)
src\wpf\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;
testhost (8)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (5)
87public void Invoke(IDictionary<string, string?> argsDictionary) 173private static bool GetTelemetryStatusFromArgs(IDictionary<string, string?> argsDictionary) 212private void SetParentProcessExitCallback(IDictionary<string, string?> argsDictionary) 252private static TestHostConnectionInfo GetConnectionInfo(IDictionary<string, string?> argsDictionary) 283private static void InitializeEqtTrace(IDictionary<string, string?> argsDictionary)
src\vstest\src\testhost.x86\IEngineInvoker.cs (1)
17void Invoke(IDictionary<string, string?> argsDictionary);
src\vstest\src\testhost.x86\Program.cs (2)
62var argsDictionary = CommandLineArgumentsHelper.GetArgumentsDictionary(args); 68private static IEngineInvoker GetEngineInvoker(IDictionary<string, string?> argsDictionary)
testhost.arm64 (8)
src\vstest\src\testhost.x86\DefaultEngineInvoker.cs (5)
87public void Invoke(IDictionary<string, string?> argsDictionary) 173private static bool GetTelemetryStatusFromArgs(IDictionary<string, string?> argsDictionary) 212private void SetParentProcessExitCallback(IDictionary<string, string?> argsDictionary) 252private static TestHostConnectionInfo GetConnectionInfo(IDictionary<string, string?> argsDictionary) 283private static void InitializeEqtTrace(IDictionary<string, string?> argsDictionary)
src\vstest\src\testhost.x86\IEngineInvoker.cs (1)
17void Invoke(IDictionary<string, string?> argsDictionary);
src\vstest\src\testhost.x86\Program.cs (2)
62var argsDictionary = CommandLineArgumentsHelper.GetArgumentsDictionary(args); 68private static IEngineInvoker GetEngineInvoker(IDictionary<string, string?> argsDictionary)
testhost.x86 (8)
DefaultEngineInvoker.cs (5)
87public void Invoke(IDictionary<string, string?> argsDictionary) 173private static bool GetTelemetryStatusFromArgs(IDictionary<string, string?> argsDictionary) 212private void SetParentProcessExitCallback(IDictionary<string, string?> argsDictionary) 252private static TestHostConnectionInfo GetConnectionInfo(IDictionary<string, string?> argsDictionary) 283private static void InitializeEqtTrace(IDictionary<string, string?> argsDictionary)
IEngineInvoker.cs (1)
17void Invoke(IDictionary<string, string?> argsDictionary);
Program.cs (2)
62var argsDictionary = CommandLineArgumentsHelper.GetArgumentsDictionary(args); 68private static IEngineInvoker GetEngineInvoker(IDictionary<string, string?> argsDictionary)
vstest.console (17)
CommandLine\InferHelper.cs (3)
26public Architecture AutoDetectArchitecture(IList<string>? sources, Architecture defaultArchitecture, out IDictionary<string, Architecture> sourceToPlatformMap) 133public Framework AutoDetectFramework(IList<string?>? sources, out IDictionary<string, Framework> sourceToFrameworkMap) 153private Framework? DetermineFramework(IEnumerable<string?> sources, out IDictionary<string, Framework> sourceToFrameworkMap, out bool conflictInFxIdentifier)
Publisher\IMetricsPublisher.cs (1)
19void PublishMetrics(string eventName, IDictionary<string, object?> metrics);
Publisher\NoOpMetricsPublisher.cs (1)
19public void PublishMetrics(string eventName, IDictionary<string, object?> metrics)
Publisher\TextFileTelemetryPublisher.cs (2)
25public void PublishMetrics(string eventName, IDictionary<string, object?> metrics) 58internal static void LogToFile(string eventName, IDictionary<string, object?> metrics, IFileHelper fileHelper)
TestPlatformHelpers\TestRequestManager.cs (10)
224out IDictionary<string, Architecture> sourceToArchitectureMap, 225out IDictionary<string, Framework> sourceToFrameworkMap)) 342out IDictionary<string, Architecture> sourceToArchitectureMap, 343out IDictionary<string, Framework> sourceToFrameworkMap)) 569out IDictionary<string, Architecture> sourceToArchitectureMap, 570out IDictionary<string, Framework> sourceToFrameworkMap) 925IDictionary<string, Architecture> sourcePlatforms, 926IDictionary<string, Framework> sourceFrameworks, 956out IDictionary<string, Architecture> sourceToPlatformMap) 1000out IDictionary<string, Framework> sourceToFrameworkMap)
vstest.console.arm64 (17)
src\vstest\src\vstest.console\CommandLine\InferHelper.cs (3)
26public Architecture AutoDetectArchitecture(IList<string>? sources, Architecture defaultArchitecture, out IDictionary<string, Architecture> sourceToPlatformMap) 133public Framework AutoDetectFramework(IList<string?>? sources, out IDictionary<string, Framework> sourceToFrameworkMap) 153private Framework? DetermineFramework(IEnumerable<string?> sources, out IDictionary<string, Framework> sourceToFrameworkMap, out bool conflictInFxIdentifier)
src\vstest\src\vstest.console\Publisher\IMetricsPublisher.cs (1)
19void PublishMetrics(string eventName, IDictionary<string, object?> metrics);
src\vstest\src\vstest.console\Publisher\NoOpMetricsPublisher.cs (1)
19public void PublishMetrics(string eventName, IDictionary<string, object?> metrics)
src\vstest\src\vstest.console\Publisher\TextFileTelemetryPublisher.cs (2)
25public void PublishMetrics(string eventName, IDictionary<string, object?> metrics) 58internal static void LogToFile(string eventName, IDictionary<string, object?> metrics, IFileHelper fileHelper)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (10)
224out IDictionary<string, Architecture> sourceToArchitectureMap, 225out IDictionary<string, Framework> sourceToFrameworkMap)) 342out IDictionary<string, Architecture> sourceToArchitectureMap, 343out IDictionary<string, Framework> sourceToFrameworkMap)) 569out IDictionary<string, Architecture> sourceToArchitectureMap, 570out IDictionary<string, Framework> sourceToFrameworkMap) 925IDictionary<string, Architecture> sourcePlatforms, 926IDictionary<string, Framework> sourceFrameworks, 956out IDictionary<string, Architecture> sourceToPlatformMap) 1000out IDictionary<string, Framework> sourceToFrameworkMap)