133 implementations of Keys
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
160public ICollection<string> Keys
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
295public ICollection<string> Keys => _innerHeaders.Keys;
Http3\Http3ConnectionTests.cs (1)
830public ICollection<string> Keys => _innerHeaders.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)
158ICollection<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 (9)
Collections\ArrayDictionary.cs (1)
68public ICollection<TKey> Keys => keys;
Collections\CopyOnWritePropertyDictionary.cs (1)
68ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys;
Collections\PropertyDictionary.cs (1)
109ICollection<string> IDictionary<string, T>.Keys
Collections\ReadOnlyConvertingDictionary.cs (1)
49public ICollection<K> Keys => _backing.Keys;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
203public ICollection<string> Keys
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
43public ICollection<string> Keys => _projectElements.Keys;
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
64public ICollection<string> Keys => _globalProperties.Keys;
ReadOnlyEmptyDictionary.cs (1)
73public ICollection<K> 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.Build.Tasks.Core (2)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
73public ICollection<K> Keys =>
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
73public ICollection<K> Keys =>
Microsoft.CodeAnalysis (5)
InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
39public ICollection<TKey> Keys
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.CodeAnalysis.CodeStyle (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
39public ICollection<TKey> Keys
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.CodeAnalysis.Collections.Package (4)
ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
ImmutableSegmentedDictionary`2+Builder.cs (1)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
SegmentedDictionary`2.cs (1)
232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.CodeAnalysis.Workspaces (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
39public ICollection<TKey> Keys
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (5)
src\Compilers\Core\Portable\InternalUtilities\SpecializedCollections.Empty.Dictionary.cs (1)
39public ICollection<TKey> Keys
src\Dependencies\Collections\ImmutableSegmentedDictionary`2.cs (1)
96ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+Builder.cs (1)
43ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\Dependencies\Collections\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
64readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\Dependencies\Collections\SegmentedDictionary`2.cs (1)
232ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
Microsoft.Extensions.AI (1)
src\Shared\EmptyCollections\EmptyReadonlyDictionary.cs (1)
30ICollection<TKey> IDictionary<TKey, TValue>.Keys => Array.Empty<TKey>();
Microsoft.Extensions.AI.Abstractions (2)
AdditionalPropertiesDictionary{TValue}.cs (1)
71public ICollection<string> Keys => _dictionary.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;
MSBuild (2)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
73public ICollection<K> Keys =>
MSBuildTaskHost (3)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
Immutable\ImmutableDictionary.cs (1)
41public ICollection<K> Keys => _backing.Keys;
ReadOnlyEmptyDictionary.cs (1)
73public ICollection<K> Keys =>
PresentationCore (4)
MS\Internal\FontCache\FontFaceLayoutInfo.cs (1)
622public ICollection<int> Keys
System\Windows\Media\CharacterMetricsDictionary.cs (1)
252public ICollection<int> Keys
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
221public ICollection<XmlLanguage> Keys
System\Windows\Media\GlyphTypeface.cs (1)
1746public ICollection<ushort> Keys
PresentationFramework (2)
MS\Internal\Annotations\ObservableDictionary.cs (1)
278public ICollection<string> Keys
MS\Internal\WeakDictionary.cs (1)
201public 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)
267ICollection<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.Immutable (5)
System\Collections\Frozen\FrozenDictionary.cs (1)
289ICollection<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)
216ICollection<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)
100public ICollection<string> Keys
System.Diagnostics.Process (1)
System\Collections\Specialized\DictionaryWrapper.cs (1)
29public ICollection<string> Keys => _contents.Keys;
System.Linq.Expressions (1)
System\Dynamic\ExpandoObject.cs (1)
617ICollection<string> IDictionary<string, object?>.Keys => new KeyCollection(this);
System.Net.Http (1)
System\Net\Http\HttpRequestOptions.cs (1)
33ICollection<string> IDictionary<string, object?>.Keys => Options.Keys;
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)
175ICollection<string> IDictionary<string, JsonNode?>.Keys => Dictionary.Keys;
System.Xaml (2)
System\Xaml\NameScope.cs (1)
221public ICollection<string> Keys
System\Xaml\NameScopeDictionary.cs (1)
321ICollection<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();
237 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);
InMemory.FunctionalTests (2)
Http2\Http2ConnectionTests.cs (1)
295public ICollection<string> Keys => _innerHeaders.Keys;
Http3\Http3ConnectionTests.cs (1)
830public ICollection<string> Keys => _innerHeaders.Keys;
Microsoft.AspNetCore.Authentication.Test (23)
GoogleTests.cs (18)
200Assert.DoesNotContain("scope", stateProperties.Items.Keys); 201Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 202Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 203Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 204Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 205Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 252Assert.DoesNotContain("scope", stateProperties.Items.Keys); 253Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 254Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 255Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 256Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 257Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 308Assert.DoesNotContain("scope", stateProperties.Items.Keys); 309Assert.DoesNotContain("access_type", stateProperties.Items.Keys); 310Assert.DoesNotContain("include_granted_scopes", stateProperties.Items.Keys); 311Assert.DoesNotContain("approval_prompt", stateProperties.Items.Keys); 312Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 313Assert.DoesNotContain("login_hint", stateProperties.Items.Keys);
MicrosoftAccountTests.cs (5)
279Assert.DoesNotContain("scope", stateProperties.Items.Keys); 280Assert.DoesNotContain("domain_hint", stateProperties.Items.Keys); 281Assert.DoesNotContain("login_hint", stateProperties.Items.Keys); 282Assert.DoesNotContain("prompt", stateProperties.Items.Keys); 283Assert.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.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 (33)
Extensions\OpenApiRouteHandlerBuilderExtensionTests.cs (1)
198Summary = $"| Local Summary | 200 Status Response Content-Type: {operation.Responses["200"].Content.Keys.Single()}"
Services\CreateSchemaReferenceIdTests.cs (1)
54Assert.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)
59Assert.Equal("application/json+problem", response.Value.Content.Keys.Single());
Services\OpenApiGeneratorTests.cs (4)
88var content = operation.RequestBody.Content.Keys.FirstOrDefault(); 110Assert.Equal(new[] { "application/custom0", "application/custom1" }, content.Keys); 838Assert.Equal("multipart/form-data", fromFileParam0.Content.Keys.SingleOrDefault()); 843Assert.Equal("multipart/form-data", fromFileParam1.Content.Keys.SingleOrDefault());
Services\OpenApiSchemaService\OpenApiSchemaService.PolymorphicSchemas.cs (15)
40Assert.Contains(schema.Discriminator.PropertyName, triangleSchema.Properties.Keys); 79Assert.Contains(schema.Discriminator.PropertyName, citySchema.Properties.Keys); 83Assert.Contains(schema.Discriminator.PropertyName, timeSeriesSchema.Properties.Keys); 87Assert.Contains(schema.Discriminator.PropertyName, newsSchema.Properties.Keys); 122Assert.Contains(schema.Discriminator.PropertyName, citySchema.Properties.Keys); 126Assert.Contains(schema.Discriminator.PropertyName, timeSeriesSchema.Properties.Keys); 158Assert.Contains("$type", paintSchema.Properties.Keys); 162Assert.Contains("$type", fabricSchema.Properties.Keys); 166Assert.DoesNotContain("$type", colorSchema.Properties.Keys); 210Assert.Contains(schema.Discriminator.PropertyName, dogSchema.Properties.Keys); 214Assert.Contains(schema.Discriminator.PropertyName, catSchema.Properties.Keys); 218Assert.Contains(schema.Discriminator.PropertyName, petSchema.Properties.Keys); 250Assert.DoesNotContain("$type", animalSchema.Properties.Keys); 252Assert.DoesNotContain("$type", plantSchema.Properties.Keys); 254Assert.DoesNotContain("$type", baseSchema.Properties.Keys);
Transformers\Implementations\OpenApiSchemaReferenceTransformerTests.cs (2)
501Assert.Collection(document.Components.Schemas.Keys, 578Assert.Collection(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)
163.Select(pair => pair.Key).Concat(_context.Items.Keys.Select(key => Convert.ToString(key, CultureInfo.InvariantCulture))).ToList();
Microsoft.AspNetCore.Owin.Tests (1)
OwinEnvironmentTests.cs (1)
110Assert.False(env.Keys.Contains(key));
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 (23)
BackEnd\BuildManager\GlobalPropertiesLookup.cs (1)
59public IEnumerable<string> Keys => _backingProperties.Keys;
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
741List<string> targets = buildResult.ResultsByTarget?.Keys.ToList() ?? new();
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
672IEnumerable<string> nonNullTargetList = targetList ?? targetOutputsPerProject[i].Keys;
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (4)
374_uniqueTargetInputs.Keys.ToArray(), 385_uniqueTargetOutputs.Keys.ToArray(), 932foreach (K h1Key in h1.Keys) 944foreach (K h2Key in h2.Keys)
BackEnd\Node\OutOfProcNode.cs (1)
716foreach (string key in _currentConfiguration.BuildParameters.BuildProcessEnvironment.Keys)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1038private HashSet<string> GetProjectTargets(IDictionary<string, ProjectTargetInstance> projectTargets) => projectTargets.Keys.ToHashSet();
Collections\CopyOnWritePropertyDictionary.cs (1)
68ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys;
Collections\ReadOnlyConvertingDictionary.cs (1)
49public ICollection<K> Keys => _backing.Keys;
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
Definition\Toolset.cs (2)
491foreach (string subToolsetName in SubToolsets.Keys) 810subToolsetVersion = SubToolsets.Keys.FirstOrDefault(version => visualStudioVersionFromSolutionAsVersion.Equals(VersionUtilities.ConvertToVersion(version)));
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
43public ICollection<string> Keys => _projectElements.Keys;
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (6)
64public ICollection<string> Keys => _globalProperties.Keys; 93foreach (var itemKey in _globalProperties.Keys) 150foreach (var itemKey in _globalProperties.Keys) 209foreach (var itemKey in _parent._globalProperties.Keys) 228foreach (var itemKey in _parent._globalProperties.Keys) 240foreach (var itemKey in _parent._globalProperties.Keys)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
64public ICollection<string> ItemTypes => _itemsByType.Keys;
ReadOnlyEmptyDictionary.cs (1)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; }
Microsoft.Build.Engine.OM.UnitTests (5)
Definition\Project_Tests.cs (2)
66foreach (string propertyName in globalProperties.Keys) 4244project.Targets.Keys.ShouldBe(new[] { "t" });
Definition\ProjectCollection_Tests.cs (1)
48foreach (string propertyName in globalProperties.Keys)
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (1)
665foreach (var k in realParams.Keys)
ObjectModelRemoting\Helpers\ViewValidation.cs (1)
326foreach (var k in realCollection.Keys)
Microsoft.Build.Engine.UnitTests (8)
BackEnd\ResultsCache_Tests.cs (6)
434resultsCache2.ResultsDictionary.Keys.ToHashSet().SetEquals(resultsCache1.ResultsDictionary.Keys.ToHashSet()).ShouldBeTrue(); 436foreach (var configId in resultsCache2.ResultsDictionary.Keys) 444copiedBuildResult.ResultsByTarget.Keys.ToHashSet().SetEquals(initialBuildResult.ResultsByTarget.Keys.ToHashSet()).ShouldBeTrue(); 446foreach (var targetKey in copiedBuildResult.ResultsByTarget.Keys)
BackEnd\SdkResolverService_Tests.cs (1)
410result.ItemsToAdd.Keys.Single().ShouldBe("ItemNameFromSdkResolver");
Definition\Toolset_Tests.cs (1)
130foreach (string key in t.SubToolsets.Keys)
Microsoft.Build.Framework (1)
TaskItemData.cs (1)
57public ICollection MetadataNames => (ICollection)Metadata.Keys;
Microsoft.Build.Tasks.Core (4)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
MSBuild.cs (1)
620IEnumerable<string> nonNullTargetList = targetList ?? targetOutputsPerProject[i].Keys;
ReadOnlyEmptyDictionary.cs (1)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; }
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
497log.LogErrorWithCodeFromResources("CodeTaskFactory.InvalidCodeLanguage", languageAttribute.Value, String.Join(", ", ValidCodeLanguages.Keys));
Microsoft.Build.UnitTests.Shared (1)
MockEngine.cs (1)
165foreach (string key in properties?.Keys)
Microsoft.Build.Utilities.Core (2)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; }
Microsoft.CodeAnalysis (1)
Collections\CachingDictionary.cs (1)
107return this.EnsureFullyPopulated().Keys;
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
184foreach (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)
460foreach (var key in markupSpans.Keys)
Microsoft.CodeAnalysis.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
751foreach (var symbol in variableInfoMap.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)
184foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
Build\ProjectBuildManager.cs (1)
175var allProperties = s_defaultGlobalProperties.RemoveRange(globalProperties.Keys).AddRange(globalProperties);
Microsoft.Extensions.ApiDescription.Client.Tests (11)
GetCurrentOpenApiReferenceTest.cs (1)
49foreach (var key in metadata.Keys)
GetOpenApiReferenceMetadataTest.cs (9)
58foreach (var key in metadata.Keys) 116foreach (var key in metadata.Keys) 174foreach (var key in metadata.Keys) 232foreach (var key in metadata.Keys) 382foreach (var key in metadata.Keys) 445foreach (var key in metadata.Keys) 543foreach (var key in metadata.Keys) 555foreach (var key in metadata.Keys) 567foreach (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);
MSBuild (3)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; }
XMake.cs (1)
1716foreach (string target in project.Targets.Keys)
MSBuildTaskHost (2)
CopyOnWriteDictionary.cs (1)
114public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
ReadOnlyEmptyDictionary.cs (1)
119get { return (ICollection)((IDictionary<K, V>)this).Keys; }
PresentationCore (1)
System\Windows\Media\CultureSpecificStringDictionary.cs (1)
223get { return _innerDictionary.Keys; }
PresentationFramework (2)
System\Windows\Annotations\Storage\XmlStreamStore.cs (2)
779foreach (Uri knownNamespace in knownNamespaces.Keys) 832foreach (Uri knownNamespace in knownNamespaces.Keys)
PresentationUI (2)
MS\Internal\Documents\RightsManagementProvider.cs (1)
550foreach (RightsManagementUser user in grantDictionary.Keys)
MS\Internal\Documents\RMPublishingDialog.RightsTable.cs (1)
212foreach (RightsManagementUser user in grantDictionary.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)
294((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)
442dict.Keys.CopyTo(keys, 0);
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; }