72 implementations of Keys
GenerateDocumentationAndConfigFiles (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.Build (5)
Collections\ArrayDictionary.cs (1)
74ICollection IDictionary.Keys => keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.Build.Framework (2)
Collections\CopyOnWriteDictionary.cs (1)
139ICollection IDictionary.Keys => (ICollection)Keys;
Collections\ReadOnlyEmptyDictionary.cs (1)
106ICollection IDictionary.Keys
Microsoft.CodeAnalysis (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Analyzers (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.CodeStyle (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Extensions.Package (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Workspaces (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.NET.Sdk.Publish.Tasks (1)
Tasks\MsDeploy\VsMsdeploy.cs (1)
380public Collections.ICollection Keys
PresentationBuildTasks (1)
src\wpf\src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\XmlnsDictionary.cs (1)
487public ICollection Keys
PresentationCore (2)
System\Windows\Media\CharacterMetricsDictionary.cs (1)
283SC.ICollection SC.IDictionary.Keys
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
256SC.ICollection SC.IDictionary.Keys
PresentationFramework (3)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
187public ICollection Keys
System\Windows\Markup\XmlnsDictionary.cs (1)
487public ICollection Keys
System\Windows\ResourceDictionary.cs (1)
579public ICollection Keys
Roslyn.Diagnostics.Analyzers (4)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
264ICollection IDictionary.Keys => Keys;
System\Collections\Generic\SortedDictionary.cs (1)
286ICollection IDictionary.Keys
System\Collections\Generic\SortedList.cs (1)
309ICollection IDictionary.Keys
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
343ICollection IDictionary.Keys => Keys;
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
225ICollection IDictionary.Keys
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
657ICollection IDictionary.Keys
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
236ICollection IDictionary.Keys
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
562ICollection IDictionary.Keys
System.Collections.NonGeneric (2)
System\Collections\DictionaryBase.cs (1)
49ICollection IDictionary.Keys
System\Collections\SortedList.cs (1)
241public virtual ICollection Keys
System.Collections.Specialized (3)
System\Collections\Specialized\HybridDictionary.cs (1)
164public ICollection Keys
System\Collections\Specialized\ListDictionary.cs (1)
109public ICollection Keys
System\Collections\Specialized\OrderedDictionary.cs (1)
129public ICollection Keys
System.ComponentModel.TypeConverter (1)
System\ComponentModel\PropertyDescriptorCollection.cs (1)
506ICollection IDictionary.Keys
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
219public virtual ICollection Keys
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
38ICollection IDictionary.Keys => _contents.Keys;
System.DirectoryServices (1)
System\DirectoryServices\PropertyCollection.cs (1)
127ICollection IDictionary.Keys => new KeysCollection(this);
System.Private.CoreLib (5)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1745ICollection IDictionary.Keys => GetKeys();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1748ICollection IDictionary.Keys => Keys;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
813public virtual ICollection Keys => _keys ??= new KeyCollection(this);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (1)
85public ICollection Keys => new NodeKeyValueCollection(this, true);
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
145ICollection IDictionary.Keys => Keys;
21 references to Keys
Aspire.Hosting (2)
Ats\CollectionExports.cs (2)
79=> [.. dict.Keys.Cast<object?>()]; 126foreach (var key in dict.Keys)
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DiagnosticTraceBase.cs (1)
174foreach (object dataItem in exception.Data.Keys)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\DictionaryTraceRecord.cs (1)
25foreach (object key in _dictionary.Keys)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
364foreach (object dataItem in exception.Data.Keys)
Infrastructure.Common (1)
JsonSerializer.cs (1)
20foreach (var key in dictionary.Keys)
Microsoft.Build.Framework (1)
ITaskItemExtensions.cs (1)
44foreach (string metadataName in customMetadata.Keys)
Microsoft.DotNet.Arcade.Sdk (1)
src\SaveItems.cs (1)
39metadataPairs = metadata.Keys.OfType<string>().Select(key => new KeyValuePair<string, string>(key, metadata[key] as string));
Microsoft.TemplateEngine.Cli (1)
CliEnvironment.cs (1)
20foreach (string key in env.Keys.OfType<string>())
Microsoft.TemplateEngine.Edge (1)
DefaultEnvironment.cs (1)
59foreach (string key in env.Keys.Cast<string>())
PresentationFramework (1)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
189get => ((IDictionary)_dictionary).Keys;
sdk-tasks (1)
EnvironmentVariableFilter.cs (1)
38.Keys
System.Collections.NonGeneric (1)
System\Collections\SortedList.cs (1)
157d.Keys.CopyTo(keys, 0);
System.Data.Common (1)
System\Data\Common\DbConnectionStringBuilder.cs (1)
224return Dictionary.Keys;
System.Diagnostics.PerformanceCounter (2)
System\Diagnostics\InstanceDataCollection.cs (1)
29get { return Dictionary.Keys; }
System\Diagnostics\InstanceDataCollectionCollection.cs (1)
35get { return Dictionary.Keys; }
System.Diagnostics.Process (1)
System\Collections\Specialized\StringDictionaryWrapper.cs (1)
28public override ICollection Keys => ((IDictionary)_contents).Keys;
System.DirectoryServices (1)
System\DirectoryServices\ResultPropertyCollection.cs (1)
37public ICollection PropertyNames => Dictionary.Keys;
System.DirectoryServices.Protocols (1)
System\DirectoryServices\Protocols\common\DirectoryAttribute.cs (1)
262public ICollection AttributeNames => Dictionary.Keys;
System.ServiceModel.Primitives (2)
Internals\System\Runtime\Diagnostics\DictionaryTraceRecord.cs (1)
26foreach (object key in _dictionary.Keys)
Internals\System\Runtime\Diagnostics\EtwDiagnosticTrace.cs (1)
150foreach (object dataItem in exception.Data.Keys)