193 implementations of Keys
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
160public ICollection<string> Keys
GenerateDocumentationAndConfigFiles (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
295public ICollection<string> Keys => _innerHeaders.Keys;
Http3\Http3ConnectionTests.cs (1)
859public ICollection<string> Keys => _innerHeaders.Keys;
Metrics (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Metrics.Legacy (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.AspNetCore.Components (1)
src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
318public ICollection<string> Keys
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
64ICollection<object> IDictionary<object, object?>.Keys
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1394public ICollection<string> Keys => null;
Microsoft.AspNetCore.Http (4)
HeaderDictionary.cs (1)
163public ICollection<string> Keys
Internal\ItemsDictionary.cs (1)
54ICollection<object> IDictionary<object, object?>.Keys
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
153public ICollection<TKey> Keys
Microsoft.AspNetCore.Http.Abstractions (1)
Routing\RouteValueDictionary.cs (1)
318public ICollection<string> Keys
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
61public ICollection<object> Keys => ((IDictionary<object, ValidationStateEntry>)_inner).Keys;
Microsoft.AspNetCore.Mvc.Core (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
DictionaryModelBinderIntegrationTest.cs (2)
1549ICollection<string> IDictionary<string, string>.Keys 1654ICollection<TKey> IDictionary<TKey, TValue>.Keys
Microsoft.AspNetCore.Mvc.ViewFeatures (3)
AttributeDictionary.cs (1)
63public ICollection<string> Keys => new KeyCollection(this);
TempDataDictionary.cs (1)
55public ICollection<string> Keys
ViewDataDictionary.cs (1)
332public ICollection<string> Keys
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
36ICollection<string> IDictionary<string, string[]>.Keys => Inner.Keys;
DictionaryStringValuesWrapper.cs (1)
81ICollection<string> IDictionary<string, StringValues>.Keys => Inner.Keys;
OwinEnvironment.cs (1)
84ICollection<string> IDictionary<string, object>.Keys
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
Microsoft.AspNetCore.Server.HttpSys (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
108public ICollection<string> Keys
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
89public ICollection<string> Keys
Microsoft.AspNetCore.Server.IIS (2)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
108public ICollection<string> Keys
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
89public ICollection<string> Keys
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\Http\HttpHeaders.cs (1)
119ICollection<string> IDictionary<string, StringValues>.Keys => ((IDictionary<string, StringValues>)this).Select(pair => pair.Key).ToHashSet(StringComparer.OrdinalIgnoreCase);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Http1\Http1ConnectionTests.cs (1)
1200public ICollection<string> Keys => _innerHeaders.Keys;
Microsoft.AspNetCore.Shared.Tests (5)
ClosedGenericMatcherTest.cs (1)
267ICollection<string> IDictionary<string, object>.Keys
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
153public ICollection<TKey> Keys
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
108public ICollection<string> Keys
src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
89public ICollection<string> Keys
Microsoft.Build.Framework (3)
ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
ImmutableSegmentedDictionary`2+Builder.cs (1)
66ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
SegmentedDictionary`2.cs (1)
169ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.CodeAnalysis (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
53public ICollection<TKey> Keys
Microsoft.CodeAnalysis.BannedApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.CodeStyle (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Collections.Package (5)
Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Extensions.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.InteractiveHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.PublicApiAnalyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Threading.Package (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Workspaces (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.AI.Abstractions (3)
AdditionalPropertiesDictionary{TValue}.cs (1)
71public ICollection<string> Keys => _dictionary.Keys;
Functions\AIFunctionArguments.cs (1)
111public ICollection<string> Keys => _arguments.Keys;
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.AI.AzureAIInference (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.AI.Ollama (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.AI.OpenAI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.Configuration (1)
ConfigurationManager.cs (1)
283public ICollection<string> Keys => _properties.Keys;
Microsoft.Extensions.Http.Diagnostics (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.ComplianceReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.ContextualOptions.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.Logging.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.MetadataExtractor.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.Metrics.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Gen.MetricsReports.Unit.Tests (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
47public ICollection<T> Keys => ((IDictionary<T, U>)Map).Keys;
Microsoft.Maui.Controls (3)
OrderedDictionary.cs (1)
203 public ICollection<TKey> Keys
ResourceDictionary.cs (1)
242 public ICollection<string> Keys
Shell\ShellNavigationQueryParameters.cs (1)
51 public ICollection<string> Keys => _internal.Keys;
Microsoft.ML.Core (1)
Utilities\Tree.cs (1)
70public ICollection<TKey> Keys { get { return _children.Keys; } }
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
80public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
Parameter.cs (1)
260public ICollection<string> Keys
SearchSpace.cs (1)
83public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
Microsoft.ML.TorchSharp (1)
Utils\DefaultDictionary.cs (1)
104public ICollection<TKey> Keys => _dictionary.Keys;
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
621public ICollection<int> Keys
System\Windows\Media\CharacterMetricsDictionary.cs (1)
251public ICollection<int> Keys
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
220public ICollection<XmlLanguage> Keys
System\Windows\Media\GlyphTypeface.cs (1)
1745public ICollection<ushort> Keys
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
277public ICollection<string> Keys
MS\Internal\WeakDictionary.cs (1)
200public ICollection<TKey> Keys
Roslyn.Diagnostics.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Shared (1)
EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
System.Collections (3)
System\Collections\Generic\OrderedDictionary.cs (1)
266ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
System\Collections\Generic\SortedDictionary.cs (1)
155ICollection<TKey> IDictionary<TKey, TValue>.Keys
System\Collections\Generic\SortedList.cs (1)
301ICollection<TKey> IDictionary<TKey, TValue>.Keys
System.Collections.Concurrent (1)
System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1571public ICollection<TKey> Keys => GetKeys();
System.Collections.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
334ICollection<TKey> IDictionary<TKey, TValue>.Keys =>
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
172ICollection<TKey> IDictionary<TKey, TValue>.Keys
System\Collections\Immutable\ImmutableDictionary_2.cs (1)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys
System\Collections\Immutable\ImmutableSortedDictionary_2.Builder.cs (1)
86ICollection<TKey> IDictionary<TKey, TValue>.Keys
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (1)
144ICollection<TKey> IDictionary<TKey, TValue>.Keys
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
43public ICollection<string> Keys
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\ActivityTagsCollection.cs (1)
94public ICollection<string> Keys
System.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
617ICollection<string> IDictionary<string, object?>.Keys => new KeyCollection(this);
System.Net.Http (1)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (1)
310System.Collections.Generic.ICollection<string> System.Collections.Generic.IDictionary<string, object?>.Keys { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
44ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\libraries\System.Private.CoreLib\src\System\Diagnostics\Tracing\TraceLogging\EventPayload.cs (1)
25public ICollection<string> Keys => m_names;
System.Security.Cryptography.Cose (1)
System\Security\Cryptography\Cose\CoseHeaderMap.cs (1)
43public ICollection<CoseHeaderLabel> Keys => _headerParameters.Keys;
System.ServiceModel.Primitives (1)
netstandard.cs (1)
1730public System.Collections.Generic.ICollection<string> Keys { get { return default; } }
System.Speech (1)
artifacts\obj\System.Speech\Debug\net10.0\System.Speech.notsupported.cs (1)
304System.Collections.Generic.ICollection<string> System.Collections.Generic.IDictionary<System.String,System.Speech.Recognition.SemanticValue>.Keys { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_SystemSpeech); } }
System.Text.Json (1)
System\Text\Json\Nodes\JsonObject.IDictionary.cs (1)
206ICollection<string> IDictionary<string, JsonNode?>.Keys => Dictionary.Keys;
System.Xaml (2)
System\Xaml\NameScope.cs (1)
220public ICollection<string> Keys
System\Xaml\NameScopeDictionary.cs (1)
320ICollection<string> IDictionary<string, object>.Keys
System.Xaml.Tests (2)
System\Xaml\XamlTypeTests.cs (2)
3142ICollection<string> IDictionary<string, int>.Keys => throw new NotImplementedException(); 3144ICollection<int> IDictionary<int, string>.Keys => throw new NotImplementedException();
Test.Utilities (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Text.Analyzers (5)
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
216 references to Keys
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (2)
1431foreach (string requestAction in this.OperationSupportingTokenParameters.Keys) 1443foreach (string requestAction in this.OptionalOperationSupportingTokenParameters.Keys)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (1)
230foreach (string propertyName in this.Properties.Keys)
Shared\ProjectPropertyResolver.cs (1)
232ValidatePropertyNames(propertyTable.Keys);
GenerateDocumentationAndConfigFiles (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
295public ICollection<string> Keys => _innerHeaders.Keys;
Http3\Http3ConnectionTests.cs (1)
859public ICollection<string> Keys => _innerHeaders.Keys;
Metrics (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Metrics.Legacy (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.AspNetCore.Authentication.Test (23)
GoogleTests.cs (18)
207Assert.DoesNotContain("scope", stateProperties.Items.Keys); 208Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 209Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 210Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 211Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 212Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 259Assert.DoesNotContain("scope", stateProperties.Items.Keys); 260Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 261Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 262Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 263Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 264Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 315Assert.DoesNotContain("scope", stateProperties.Items.Keys); 316Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 317Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 318Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 319Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 320Assert.DoesNotContain("login_hint", stateProperties.Items.Keys);
MicrosoftAccountTests.cs (5)
286Assert.DoesNotContain("scope", stateProperties.Items.Keys); 287Assert.DoesNotContain("domain_hint", stateProperties.Items.Keys); 288Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 289Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 290Assert.DoesNotContain("response_mode", stateProperties.Items.Keys);
Microsoft.AspNetCore.Components.Server.Tests (4)
src\SignalR\common\SignalR.Common\test\Internal\Protocol\MessagePackHubProtocolTestBase.cs (4)
53foreach (var k in BaseTestData.Keys) 348public static IEnumerable<object[]> BaseInvalidPayloadNames => BaseInvalidPayloads.Keys.Select(name => new object[] { name }); 386public static IEnumerable<object[]> ArgumentBindingErrorNames => ArgumentBindingErrors.Keys.Select(name => new object[] { name }); 436public static IEnumerable<object[]> MessageSizeDataNames => MessageSizeData.Keys.Select(name => new object[] { name });
Microsoft.AspNetCore.Components.Web.Tests (2)
Forms\InputBaseTest.cs (2)
394Assert.Equal(inputComponentId, batch2.DiffsByComponentId.Keys.Single()); 525Assert.Equal(inputComponentId, batch2.DiffsByComponentId.Keys.Single());
Microsoft.AspNetCore.Components.WebAssembly.Server (1)
DebugProxyLauncher.cs (1)
111var keysToRemove = environment.Keys.Where(key => key.StartsWith("ASPNETCORE_", StringComparison.Ordinal)).ToList();
Microsoft.AspNetCore.Connections.Abstractions (1)
ConnectionItems.cs (1)
66get { return Items.Keys; }
Microsoft.AspNetCore.Cors.Test (7)
CorsServiceTests.cs (7)
613Assert.DoesNotContain("Access-Control-Allow-Origin", httpContext.Response.Headers.Keys); 694Assert.DoesNotContain("Access-Control-Allow-Credentials", httpContext.Response.Headers.Keys); 714Assert.DoesNotContain("Access-Control-Allow-Methods", httpContext.Response.Headers.Keys); 755Assert.DoesNotContain("Access-Control-Allow-Headers", httpContext.Response.Headers.Keys); 796Assert.DoesNotContain("Access-Control-Expose-Headers", httpContext.Response.Headers.Keys); 817Assert.DoesNotContain("Access-Control-Expose-Headers", httpContext.Response.Headers.Keys); 879Assert.DoesNotContain("Access-Control-Max-Age", httpContext.Response.Headers.Keys);
Microsoft.AspNetCore.Diagnostics.HealthChecks (1)
HealthCheckOptions.cs (1)
52var missingHealthStatus = Enum.GetValues<HealthStatus>().Except(mapping.Keys).ToList();
Microsoft.AspNetCore.HeaderPropagation.Tests (9)
HeaderPropagationMiddlewareTest.cs (9)
46Assert.Contains("in", CapturedHeaders.Keys); 89Assert.Contains("in", CapturedHeaders.Keys); 91Assert.Contains("another", CapturedHeaders.Keys); 108Assert.DoesNotContain("in", CapturedHeaders.Keys); 134Assert.Contains("in", CapturedHeaders.Keys); 152Assert.Contains("in", CapturedHeaders.Keys); 167Assert.DoesNotContain("in", CapturedHeaders.Keys); 180Assert.DoesNotContain("in", CapturedHeaders.Keys); 195Assert.Contains("in", CapturedHeaders.Keys);
Microsoft.AspNetCore.Http (3)
Internal\ItemsDictionary.cs (2)
60return EmptyDictionary.Dictionary.Keys; 63return _items.Keys;
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.Keys;
Microsoft.AspNetCore.JsonPatch.SystemTextJson.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
15public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys;
WriteOnceDynamicTestObject.cs (1)
29public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys;
Microsoft.AspNetCore.JsonPatch.Tests (2)
TestObjectModels\DynamicTestObject.cs (1)
15public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys;
WriteOnceDynamicTestObject.cs (1)
29public ICollection<string> Keys => ((IDictionary<string, object>)_dictionary).Keys;
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\Validation\ValidationStateDictionary.cs (1)
61public ICollection<object> Keys => ((IDictionary<object, ValidationStateEntry>)_inner).Keys;
Microsoft.AspNetCore.Mvc.Core (7)
ApplicationModels\AttributeRouteModel.cs (1)
415string.Join(", ", values.Keys.OrderBy(k => k, StringComparer.OrdinalIgnoreCase)));
ApplicationModels\ControllerActionDescriptorProvider.cs (1)
56foreach (var key in action.RouteValues.Keys)
Infrastructure\ActionSelectionTable.cs (2)
69getRouteKeys: a => a.RouteValues?.Keys, 91getRouteKeys: e => e.Metadata.GetMetadata<ActionDescriptor>()?.RouteValues?.Keys,
ModelBinding\JQueryValueProvider.cs (1)
53_prefixContainer = new PrefixContainer(_values.Keys);
Routing\ActionEndpointFactory.cs (1)
141var formattedRouteKeys = string.Join(", ", resolvedRouteValues.Keys.Select(k => $"'{k}'"));
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.Keys;
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\ApiConventionApplicationModelConventionTest.cs (1)
27Assert.DoesNotContain(typeof(ApiConventionResult), actionModel.Properties.Keys);
DependencyInjection\ApiBehaviorOptionsSetupTest.cs (1)
27Assert.Equal(expected, options.ClientErrorMapping.Keys);
Microsoft.AspNetCore.Mvc.IntegrationTests (3)
DictionaryModelBinderIntegrationTest.cs (3)
1188Assert.Equal(expectedDictionary.Keys, model.Keys); 1553return _data.Keys; 1658return _data.Keys;
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPage.cs (1)
214var sectionsNotRendered = PreviousSectionWriters.Keys.Except(
Microsoft.AspNetCore.Mvc.ViewFeatures (1)
ViewDataDictionary.cs (1)
334get { return _data.Keys; }
Microsoft.AspNetCore.OpenApi.Tests (39)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
197Summary = $"| Local Summary | 200 Status Response Content-Type: {operation.Responses["200"].Content.Keys.Single()}"
Services\CreateSchemaReferenceIdTests.cs (1)
53Assert.Contains(schema.Discriminator.PropertyName, triangleSchema.Properties.Keys);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.RequestBody.cs (9)
416Assert.Contains("application/x-www-form-urlencoded", content.Keys); 417Assert.Contains("multipart/form-data", content.Keys); 473Assert.Contains("application/x-www-form-urlencoded", content.Keys); 520Assert.Contains("application/x-www-form-urlencoded", content.Keys); 575Assert.Contains("application/x-www-form-urlencoded", content.Keys); 576Assert.Contains("multipart/form-data", content.Keys); 641Assert.Contains("application/x-www-form-urlencoded", content.Keys); 709Assert.Contains("application/x-www-form-urlencoded", content.Keys); 749Assert.Contains("application/x-www-form-urlencoded", content.Keys);
Services\OpenApiDocumentService\OpenApiDocumentServiceTests.Responses.cs (1)
58Assert.Equal("application/json+problem", response.Value.Content.Keys.Single());
Services\OpenApiGeneratorTests.cs (4)
87var content = operation.RequestBody.Content!.Keys.FirstOrDefault(); 109Assert.Equal(["application/custom0", "application/custom1"], content.Keys); 837Assert.Equal("multipart/form-data", fromFileParam0.Content.Keys.SingleOrDefault()); 842Assert.Equal("multipart/form-data", fromFileParam1.Content.Keys.SingleOrDefault());
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (15)
39Assert.Contains(schema.Discriminator.PropertyName, triangleSchema.Properties.Keys); 78Assert.Contains(schema.Discriminator.PropertyName, citySchema.Properties.Keys); 82Assert.Contains(schema.Discriminator.PropertyName, timeSeriesSchema.Properties.Keys); 86Assert.Contains(schema.Discriminator.PropertyName, newsSchema.Properties.Keys); 121Assert.Contains(schema.Discriminator.PropertyName, citySchema.Properties.Keys); 125Assert.Contains(schema.Discriminator.PropertyName, timeSeriesSchema.Properties.Keys); 157Assert.Contains("$type", paintSchema.Properties.Keys); 161Assert.Contains("$type", fabricSchema.Properties.Keys); 165Assert.DoesNotContain("$type", colorSchema.Properties.Keys); 209Assert.Contains(schema.Discriminator.PropertyName, dogSchema.Properties.Keys); 213Assert.Contains(schema.Discriminator.PropertyName, catSchema.Properties.Keys); 217Assert.Contains(schema.Discriminator.PropertyName, petSchema.Properties.Keys); 249Assert.DoesNotContain("$type", animalSchema.Properties.Keys); 251Assert.DoesNotContain("$type", plantSchema.Properties.Keys); 253Assert.DoesNotContain("$type", baseSchema.Properties.Keys);
Transformers\CustomSchemaTransformerTests.cs (3)
125Assert.Collection(document.Components.Schemas.Keys, 222Assert.Contains("IdParameter", document.Components.Schemas.Keys); 223Assert.Contains("LimitParameter", document.Components.Schemas.Keys);
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (5)
477Assert.Collection(document.Components.Schemas.Keys, 554Assert.Collection(document.Components.Schemas.Keys, 674Assert.Collection(document.Components.Schemas.Keys, 721Assert.Equal(["ContainerType"], document.Components.Schemas.Keys); 810Assert.Equal(["ChildObject", "ParentObject"], document.Components.Schemas.Keys);
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheKeyProvider.cs (1)
347var newArray = dictionary.Keys.ToArray();
Microsoft.AspNetCore.Owin (3)
DictionaryStringArrayWrapper.cs (1)
36ICollection<string> IDictionary<string, string[]>.Keys => Inner.Keys;
DictionaryStringValuesWrapper.cs (1)
81ICollection<string> IDictionary<string, StringValues>.Keys => Inner.Keys;
OwinEnvironment.cs (1)
87.Concat(_context.Items.Keys.Select(key => Convert.ToString(key, CultureInfo.InvariantCulture)))
Microsoft.AspNetCore.Owin.Tests (2)
OwinEnvironmentTests.cs (2)
111Assert.False(env.Keys.Contains(key)); 173foreach (var key in env1.Keys)
Microsoft.AspNetCore.Razor.Runtime (1)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.Keys;
Microsoft.AspNetCore.Routing.Tests (1)
RouteTest.cs (1)
1579foreach (var expectedKey in expectedDictionary.Keys)
Microsoft.AspNetCore.Server.HttpSys (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
110get { return Store.Keys; }
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (9)
RequestHeaderTests.cs (9)
188Assert.Equal(requestHeaders.Keys.Count, requestHeaders.Count); 190Assert.Contains(customHeader, requestHeaders.Keys); 191Assert.Contains(requestHeaders[customHeader].First(), requestHeaders.Keys); 192Assert.Contains(HeaderNames.Host, requestHeaders.Keys); 215Assert.Equal(requestHeaders.Keys.Count, requestHeaders.Count); 217Assert.Contains("X-UnknownHeader-0", requestHeaders.Keys); 218Assert.Contains("My-UnknownHeader-1", requestHeaders.Keys); 219Assert.Contains("X-UnknownHeader-2", requestHeaders.Keys); 220Assert.Contains(HeaderNames.Host, requestHeaders.Keys);
Microsoft.AspNetCore.Server.IIS (1)
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
110get { return Store.Keys; }
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
Http1\Http1ConnectionTests.cs (1)
1200public ICollection<string> Keys => _innerHeaders.Keys;
HttpHeadersTests.cs (1)
308Assert.True(httpHeaders.Keys.Contains("cache-control"));
HttpRequestHeadersTests.cs (1)
223headers.Keys);
Microsoft.AspNetCore.Shared.Tests (2)
src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.Keys;
src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
110get { return Store.Keys; }
Microsoft.AspNetCore.SignalR.Client.Tests (1)
HubConnectionTests.ConnectionLifecycle.cs (1)
35public static IEnumerable<object[]> MethodsNamesThatRequireActiveConnection => MethodsThatRequireActiveConnection.Keys.Select(k => new object[] { k });
Microsoft.AspNetCore.SignalR.Common.Tests (12)
Internal\Protocol\JsonHubProtocolTests.cs (1)
222public static IEnumerable<object[]> CustomProtocolTestDataNames => CustomProtocolTestData.Keys.Select(name => new object[] { name });
Internal\Protocol\JsonHubProtocolTestsBase.cs (4)
98public static IEnumerable<object[]> ProtocolTestDataNames => ProtocolTestData.Keys.Select(name => new object[] { name }); 111public static IEnumerable<object[]> OutOfOrderJsonTestDataNames => OutOfOrderJsonTestData.Keys.Select(name => new object[] { name }); 384public static IEnumerable<object[]> MessageSizeDataNames => MessageSizeData.Keys.Select(name => new object[] { name }); 431public static IEnumerable<object[]> ClientResultDataNames => ClientResultData.Keys.Select(name => new object[] { name });
Internal\Protocol\MessagePackHubProtocolTestBase.cs (4)
53foreach (var k in BaseTestData.Keys) 348public static IEnumerable<object[]> BaseInvalidPayloadNames => BaseInvalidPayloads.Keys.Select(name => new object[] { name }); 386public static IEnumerable<object[]> ArgumentBindingErrorNames => ArgumentBindingErrors.Keys.Select(name => new object[] { name }); 436public static IEnumerable<object[]> MessageSizeDataNames => MessageSizeData.Keys.Select(name => new object[] { name });
Internal\Protocol\MessagePackHubProtocolTests.cs (2)
84foreach (var k in TestData.Keys) 210public static IEnumerable<object[]> ClientResultDataNames => ClientResultData.Keys.Select(name => new object[] { name });
Internal\Protocol\NewtonsoftJsonHubProtocolTests.cs (1)
108public static IEnumerable<object[]> CustomProtocolTestDataNames => CustomProtocolTestData.Keys.Select(name => new object[] { name });
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
57public ICollection MetadataNames => (ICollection)Metadata.Keys;
Microsoft.CodeAnalysis (1)
Collections\CachingDictionary.cs (1)
107return this.EnsureFullyPopulated().Keys;
Microsoft.CodeAnalysis.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
2094dict1.Keys.All(key => dict2.TryGetValue(key, out TValue value2) && EqualityComparer<TValue>.Default.Equals(dict1[key], value2));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.CSharp (1)
Compilation\CSharpDiagnosticFilter.cs (1)
77specificDiagnosticOptions.Keys.Contains(CSharp.MessageProvider.Instance.GetIdForErrorCode((int)ErrorCode.WRN_ALinkWarn)))
Microsoft.CodeAnalysis.EditorFeatures (1)
Options\EditorAnalyzerConfigOptions.cs (1)
46=> _configOptions.Keys.Where(IsLowercase);
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
Workspaces\EditorTestWorkspace.cs (1)
439foreach (var key in markupSpans.Keys)
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
751foreach (var symbol in variableInfoMap.Keys)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.PublicApiAnalyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.UnitTests (4)
Collections\ImmutableDictionaryBuilderTestBase.cs (1)
131CollectionAssertAreEquivalent(new[] { "five", "six" }, builder.Keys);
Collections\ImmutableDictionaryTestBase.nonnetstandard.cs (3)
211Assert.Equal(0, map.ToReadOnlyDictionary().Keys.Count()); 215Assert.Equal(1, nonEmpty.ToReadOnlyDictionary().Keys.Count()); 216KeysOrValuesTestHelper(((IDictionary<TKey, TValue>)nonEmpty).Keys, key);
Microsoft.CodeAnalysis.Workspaces (2)
Log\RoslynEventSource.cs (1)
96command.Arguments.Keys.FirstOrDefault() == "SendFunctionDefinitions";
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
225var allProperties = s_defaultGlobalProperties.RemoveRange(globalProperties.Keys).AddRange(globalProperties);
Microsoft.Extensions.AI.Abstractions.Tests (2)
Functions\AIFunctionArgumentsTests.cs (2)
125Assert.Equal(new[] { "key1", "key2" }, args.Keys); 168Assert.Equal(["key1", "key2"], args.Keys);
Microsoft.Extensions.AI.Evaluation.Reporting.Tests (2)
ScenarioRunResultTests.cs (2)
268foreach (var key in metric.Context.Keys) 284foreach (var key in metric.Metadata.Keys)
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyEvaluator.cs (1)
139metricNames: includeMetricNamesInContentSafetyServicePayload ? metricNames.Keys : null,
Microsoft.Extensions.ApiDescription.Client.Tests (11)
GetCurrentOpenApiReferenceTest.cs (1)
49foreach (var key in metadata.Keys)
GetOpenApiReferenceMetadataTest.cs (9)
63foreach (var key in metadata.Keys) 123foreach (var key in metadata.Keys) 183foreach (var key in metadata.Keys) 243foreach (var key in metadata.Keys) 396foreach (var key in metadata.Keys) 460foreach (var key in metadata.Keys) 559foreach (var key in metadata.Keys) 573foreach (var key in metadata.Keys) 586foreach (var key in metadata.Keys)
MetadataSerializerTest.cs (1)
131foreach (var key in metadata.Keys)
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
47public ICollection<T> Keys => ((IDictionary<T, U>)Map).Keys;
Microsoft.ML.SearchSpace (3)
Option\NestOption.cs (1)
80public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
Parameter.cs (1)
265return (_value as IDictionary<string, Parameter>).Keys;
SearchSpace.cs (1)
83public ICollection<string> Keys => ((IDictionary<string, OptionBase>)_options).Keys;
Microsoft.ML.Tests (1)
OnnxSequenceTypeWithAttributesTest.cs (1)
66var keys = new List<string>(onnxOut.Keys);
PresentationCore (1)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
222get { return _innerDictionary.Keys; }
PresentationFramework (2)
System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
778foreach (Uri knownNamespace in knownNamespaces.Keys) 831foreach (Uri knownNamespace in knownNamespaces.Keys)
PresentationUI (2)
MS\Internal\Documents\RightsManagementProvider.cs (1)
549foreach (RightsManagementUser user in grantDictionary.Keys)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
211foreach (RightsManagementUser user in grantDictionary.Keys)
Roslyn.Diagnostics.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Shared.Tests (1)
EmptyCollections\EmptyReadonlyDictionaryTests.cs (1)
42Assert.Empty(dict.Keys);
System.Collections (1)
System\Collections\Generic\SortedList.cs (1)
156dictionary.Keys.CopyTo(keys, 0);
System.Collections.Immutable (2)
System\Collections\Frozen\FrozenDictionary.cs (1)
339((IDictionary<TKey, TValue>)this).Keys;
System\Collections\Immutable\KeysOrValuesCollectionAccessor.cs (1)
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.Composition (1)
System\ComponentModel\Composition\Hosting\CompositionServices.cs (1)
323foreach (var key in dictionary.Keys.ToArray())
System.Composition.Hosting (1)
System\Composition\Hosting\Core\CycleBreakingMetadataDictionary.cs (1)
45get { return ActualMetadata.Keys; }
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
38public KeyCollection Keys => _keys ??= new KeyCollection(m_dictionary.Keys);
System.Xaml (1)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
441dict.Keys.CopyTo(keys, 0);
Test.Utilities (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Text.Analyzers (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
xunit.assert (2)
DictionaryAsserts.cs (2)
63 CollectionTracker<TKey>.FormatStart(collection.Keys) 220 CollectionTracker<TKey>.FormatStart(collection.Keys)
xunit.console (1)
common\Json.cs (1)
732get { return _data.Keys; }