110 implementations of Keys
GenerateDocumentationAndConfigFiles (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Metrics (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Metrics.Legacy (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.AnalyzerUtilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.BannedApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.CodeStyle (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Collections.Package (4)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Extensions.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.InteractiveHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.PublicApiAnalyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.ResxSourceGenerator (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Scripting.TestUtilities (1)
ObjectFormatterFixtures\Custom.cs (1)
395public ICollection Keys
Microsoft.CodeAnalysis.Threading.Package (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Workspaces (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
PresentationBuildTasks (1)
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)
575public ICollection Keys
Roslyn.Diagnostics.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
269ICollection IDictionary.Keys => Keys;
System\Collections\Generic\SortedDictionary.cs (1)
286ICollection IDictionary.Keys
System\Collections\Generic\SortedList.cs (1)
309ICollection IDictionary.Keys
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1745ICollection IDictionary.Keys => GetKeys();
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
342ICollection IDictionary.Keys => Keys;
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
229ICollection IDictionary.Keys
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
657ICollection IDictionary.Keys
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
240ICollection 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.DirectoryServices (1)
artifacts\obj\System.DirectoryServices\Debug\net10.0\System.DirectoryServices.notsupported.cs (1)
376System.Collections.ICollection System.Collections.IDictionary.Keys { get { throw new System.PlatformNotSupportedException(System.SR.DirectoryServices_PlatformNotSupported); } }
System.Private.CoreLib (5)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
1639ICollection IDictionary.Keys => Keys;
src\libraries\System.Private.CoreLib\src\System\Collections\Hashtable.cs (1)
813public virtual ICollection Keys => _keys ??= new KeyCollection(this);
src\libraries\System.Private.CoreLib\src\System\Collections\ListDictionaryInternal.cs (1)
85public ICollection Keys => new NodeKeyValueCollection(this, true);
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
145ICollection IDictionary.Keys => Keys;
src\System\Collections\EmptyReadOnlyDictionaryInternal.cs (1)
75public ICollection Keys => Array.Empty<object>();
System.Xaml.Tests (1)
System\Xaml\XamlTypeTests.cs (1)
3257public ICollection Keys => throw new NotImplementedException();
Test.Utilities (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
Text.Analyzers (4)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
108ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
51ICollection IDictionary.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
72readonly ICollection IDictionary.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
1049ICollection IDictionary.Keys => Keys;
21 references to Keys
AzureAppServicesHostingStartupSample (1)
Startup.cs (1)
48foreach (var key in vars.Keys.Cast<string>().OrderBy(key => key, StringComparer.OrdinalIgnoreCase))
AzureAppServicesSample (1)
Startup.cs (1)
59foreach (var key in vars.Keys.Cast<string>().OrderBy(key => key, StringComparer.OrdinalIgnoreCase))
DefaultBuilder.SampleApp (1)
Startup.cs (1)
39foreach (var key in vars.Keys.Cast<string>().OrderBy(key => key, StringComparer.OrdinalIgnoreCase))
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)
IISSample (1)
Startup.cs (1)
75foreach (var key in vars.Keys.Cast<string>().OrderBy(key => key, StringComparer.OrdinalIgnoreCase))
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.CodeAnalysis.UnitTests (2)
Collections\ImmutableDictionaryBuilderTestBase.cs (1)
182Assert.Equal(new[] { "a" }, dictionary.Keys.Cast<string>().ToArray());
Collections\ImmutableDictionaryTestBase.cs (1)
178Assert.Equal(new[] { "c" }, dictionary.Keys.Cast<string>().ToArray());
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.Extensions.ApiDescription.Client (2)
MetadataSerializer.cs (2)
63foreach (var key in metadata.Keys) 75foreach (var key in metadata.Keys)
Microsoft.VisualBasic.Tests (1)
Microsoft\VisualBasic\ApplicationServices\ApplicationBaseTests.cs (1)
67foreach (string key in vars.Keys)
NativeIISSample (1)
Startup.cs (1)
73foreach (var key in vars.Keys.Cast<string>().OrderBy(key => key, StringComparer.OrdinalIgnoreCase))
PresentationFramework (1)
System\Windows\Markup\Localizer\BamlLocalizationDictionary.cs (1)
189get => ((IDictionary)_dictionary).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;
xunit.assert (2)
Sdk\CollectionTracker.cs (2)
201 var dictionaryYKeys = new HashSet<object>(dictionaryY.Keys.Cast<object>()); 208 foreach (var key in dictionaryX.Keys.Cast<object>())