138 implementations of Keys
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\MessageProperties.cs (1)
160public ICollection<string> Keys
GenerateDocumentationAndConfigFiles (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.AspNetCore.Components (1)
src\aspnetcore\src\Http\Http.Abstractions\src\Routing\RouteValueDictionary.cs (1)
318public ICollection<string> Keys
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\TempData.cs (1)
115ICollection<string> IDictionary<string, object?>.Keys => Data.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.Http (4)
HeaderDictionary.cs (1)
163public ICollection<string> Keys
Internal\ItemsDictionary.cs (1)
54ICollection<object> IDictionary<object, object?>.Keys
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
src\aspnetcore\src\Shared\Dictionary\AdaptiveCapacityDictionary.cs (1)
152public 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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> 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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
55public ICollection<TKey> Keys
Microsoft.AspNetCore.Server.HttpSys (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
108public ICollection<string> Keys
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\RequestHeaders.cs (1)
89public ICollection<string> Keys
Microsoft.AspNetCore.Server.IIS (2)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
108public ICollection<string> Keys
src\aspnetcore\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.Build (12)
Collections\ArrayDictionary.cs (1)
68public ICollection<TKey> Keys => keys;
Collections\CopyOnWritePropertyDictionary.cs (1)
67ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys;
Collections\PropertyDictionary.cs (1)
114ICollection<string> IDictionary<string, T>.Keys
Collections\ReadOnlyConvertingDictionary.cs (1)
49public ICollection<K> Keys => _backing.Keys;
Collections\RetrievableEntryHashSet\RetrievableEntryHashSet.cs (1)
200public ICollection<string> Keys
Instance\ImmutableProjectCollections\ImmutableElementCollectionConverter.cs (1)
43public ICollection<string> Keys => _projectElements.Keys;
Instance\ImmutableProjectCollections\ImmutableGlobalPropertiesCollectionConverter.cs (1)
62public ICollection<string> Keys => _globalProperties.Keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\5057ed6cf5d6323b\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\5057ed6cf5d6323b\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\8b3a4ac2431f87ea\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.Build.Framework (2)
Collections\CopyOnWriteDictionary.cs (1)
109public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
Collections\ReadOnlyEmptyDictionary.cs (1)
72public ICollection<K> Keys => Array.Empty<K>();
Microsoft.CodeAnalysis (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Analyzers (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.AnalyzerUtilities (6)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
src\roslyn\src\RoslynAnalyzers\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
53public ICollection<TKey> Keys
Microsoft.CodeAnalysis.CodeStyle (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Extensions.Package (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DictionaryAnalysisData.cs (1)
52public ICollection<TKey> Keys
Microsoft.CodeAnalysis.ResxSourceGenerator (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Specialized\SpecializedCollections.Empty.Dictionary.cs (1)
41public ICollection<TKey> Keys
Microsoft.CodeAnalysis.Workspaces (5)
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\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)
68public ICollection<string> Keys => _dictionary.Keys;
Functions\AIFunctionArguments.cs (1)
105public ICollection<string> Keys => _arguments.Keys;
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.BuildMetadata.Unit.Tests (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;
Microsoft.TemplateEngine.Core (1)
VariableCollection.cs (1)
53public ICollection<string> Keys => _values.Keys.Union(_parent?.Keys ?? NoKeys).ToList();
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\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2.cs (1)
98ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+Builder.cs (1)
45ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\src\Dependencies\Collections\Segmented\ImmutableSegmentedDictionary`2+ValueBuilder.cs (1)
66readonly ICollection<TKey> IDictionary<TKey, TValue>.Keys => throw new NotSupportedException();
src\roslyn\src\Dependencies\Collections\Segmented\SegmentedDictionary`2.cs (1)
234ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\roslyn\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)
261ICollection<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)
335ICollection<TKey> IDictionary<TKey, TValue>.Keys =>
System\Collections\Immutable\ImmutableDictionary_2.Builder.cs (1)
168ICollection<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)
82ICollection<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.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 (4)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Concurrent\ConcurrentDictionary.cs (1)
1571public ICollection<TKey> Keys => GetKeys();
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\Generic\Dictionary.cs (1)
218ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
44ICollection<TKey> IDictionary<TKey, TValue>.Keys => Keys;
src\runtime\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)
System\ServiceModel\Channels\MessageProperties.cs (1)
190public ICollection<string> Keys
System.Speech (1)
Result\SemanticValue.cs (1)
150ICollection<string> IDictionary<string, SemanticValue>.Keys
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
141 references to Keys
Aspire.Hosting (1)
Ats\CollectionExports.cs (1)
64=> [.. dict.Keys];
dotnet (4)
Commands\Run\VirtualProjectBuildingCommand.cs (1)
485Reporter.Verbose.WriteLine($"No CSC arguments found in targets: {string.Join(", ", result.ResultsByTarget.Keys)}");
ToolPackage\ToolPackageDownloaderBase.cs (3)
347Reporter.Output.WriteLine($"Available RID-specific packages: {string.Join(", ", toolConfiguration.RidSpecificPackages.Keys)}"); 350var bestRuntimeIdentifier = Microsoft.NET.Build.Tasks.NuGetUtils.GetBestMatchingRid(runtimeGraph, RuntimeInformation.RuntimeIdentifier, toolConfiguration.RidSpecificPackages.Keys, out bool wasInGraph); 354string.Join(" ", toolConfiguration.RidSpecificPackages.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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
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.Diagnostics.HealthChecks (1)
HealthCheckOptions.cs (1)
52var missingHealthStatus = Enum.GetValues<HealthStatus>().Except(mapping.Keys).ToList();
Microsoft.AspNetCore.Http (3)
Internal\ItemsDictionary.cs (2)
60return EmptyDictionary.Dictionary.Keys; 63return _items.Keys;
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.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\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.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 (1)
Services\OpenApiDocumentService.cs (1)
550eventSchema.Enum = [.. mapping.Keys.Select(static eventName => JsonValue.Create(eventName)!)];
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheKeyProvider.cs (1)
352var 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.Razor.Runtime (1)
src\aspnetcore\src\Shared\CopyOnWriteDictionary\CopyOnWriteDictionary.cs (1)
59return ReadDictionary.Keys;
Microsoft.AspNetCore.Server.HttpSys (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
110get { return Store.Keys; }
Microsoft.AspNetCore.Server.IIS (1)
src\aspnetcore\src\Shared\HttpSys\RequestProcessing\HeaderCollection.cs (1)
110get { return Store.Keys; }
Microsoft.Build (23)
BackEnd\BuildManager\GlobalPropertiesLookup.cs (1)
56public IEnumerable<string> Keys => _backingProperties.Keys;
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
865List<string> targets = buildResult.ResultsByTarget?.Keys.ToList() ?? new();
BackEnd\Components\RequestBuilder\IntrinsicTasks\MSBuild.cs (1)
665IEnumerable<string> nonNullTargetList = targetList ?? targetOutputsPerProject[i].Keys;
BackEnd\Components\RequestBuilder\TargetUpToDateChecker.cs (4)
375_uniqueTargetInputs.Keys.ToArray(), 386_uniqueTargetOutputs.Keys.ToArray(), 928foreach (K h1Key in h1.Keys) 940foreach (K h2Key in h2.Keys)
BackEnd\Node\OutOfProcNode.cs (1)
737foreach (string key in _currentConfiguration.BuildParameters.BuildProcessEnvironment.Keys)
BackEnd\Shared\BuildRequestConfiguration.cs (1)
1074private HashSet<string> GetProjectTargets(IDictionary<string, ProjectTargetInstance> projectTargets) => projectTargets.Keys.ToHashSet();
Collections\CopyOnWritePropertyDictionary.cs (1)
67ICollection<string> IDictionary<string, T>.Keys => ((IDictionary<string, T>)_backing).Keys;
Collections\ReadOnlyConvertingDictionary.cs (1)
49public ICollection<K> Keys => _backing.Keys;
Definition\Toolset.cs (2)
447foreach (string subToolsetName in SubToolsets.Keys) 701subToolsetVersion = 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)
62public ICollection<string> Keys => _globalProperties.Keys; 91foreach (var itemKey in _globalProperties.Keys) 152foreach (var itemKey in _globalProperties.Keys) 211foreach (var itemKey in _parent._globalProperties.Keys) 230foreach (var itemKey in _parent._globalProperties.Keys) 242foreach (var itemKey in _parent._globalProperties.Keys)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
59public ICollection<string> ItemTypes => _itemsByType.Keys;
Instance\ImmutableProjectCollections\ImmutableProjectMetadataCollectionConverter.cs (2)
42public IEnumerable<string> Keys => _properties.Keys; 79foreach (string name in _properties.Keys)
Microsoft.Build.Framework (3)
Collections\CopyOnWriteDictionary.cs (1)
109public ICollection<string> Keys => ((IDictionary<string, V>)_backing).Keys;
Collections\ReadOnlyEmptyDictionary.cs (1)
108get { return (ICollection)((IDictionary<K, V>)this).Keys; }
TaskItemData.cs (1)
63public ICollection MetadataNames => (ICollection)Metadata.Keys;
Microsoft.Build.Tasks.Core (2)
MSBuild.cs (1)
607IEnumerable<string> nonNullTargetList = targetList ?? targetOutputsPerProject[i].Keys;
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
556log.LogErrorWithCodeFromResources("CodeTaskFactory.InvalidCodeLanguage", languageAttribute.Value, String.Join(", ", ValidCodeLanguages.Keys));
Microsoft.CodeAnalysis (1)
Collections\CachingDictionary.cs (1)
107return this.EnsureFullyPopulated().Keys;
Microsoft.CodeAnalysis.Analyzers (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.AnalyzerUtilities (2)
src\roslyn\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\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.CodeStyle (1)
src\roslyn\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.Features (1)
ExtractMethod\MethodExtractor.Analyzer.cs (1)
751foreach (var symbol in variableInfoMap.Keys)
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Framework\DataFlow\DataFlowOperationVisitor.cs (1)
2091dict1.Keys.All(key => dict2.TryGetValue(key, out TValue value2) && EqualityComparer<TValue>.Default.Equals(dict1[key], value2));
Microsoft.CodeAnalysis.ResxSourceGenerator (1)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
Microsoft.CodeAnalysis.Workspaces (2)
Log\RoslynEventSource.cs (1)
96command.Arguments.Keys.FirstOrDefault() == "SendFunctionDefinitions";
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Options\EditorConfigValueSerializer.cs (1)
185foreach (var name in builder.Keys)
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)
270foreach (var key in metric.Context.Keys) 286foreach (var key in metric.Metadata.Keys)
Microsoft.Extensions.AI.Evaluation.Safety (1)
ContentSafetyEvaluator.cs (1)
130metricNames: includeMetricNamesInContentSafetyServicePayload ? metricNames.Keys : null,
Microsoft.Interop.SourceGeneration (1)
ValueEqualityImmutableDictionary.cs (1)
47public ICollection<T> Keys => ((IDictionary<T, U>)Map).Keys;
Microsoft.ML.CodeGenerator (1)
CodeGenerator\CSharp\TrainerGeneratorBase.cs (1)
44_hasAdvancedSettings = node.Properties.Keys.Any(t => !NamedParameters.ContainsKey(t));
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);
Microsoft.NET.Sdk.StaticWebAssets.Tasks (1)
DefineStaticWebAssets.Cache.cs (1)
170InputHashes = [.. inputsByHash.Keys];
Microsoft.TemplateEngine.Cli (1)
Commands\create\InvalidTemplateOptionResult.cs (1)
156int longestChoiceLength = possibleValues.Keys.Max(x => x.Length);
Microsoft.TemplateEngine.Core (2)
VariableCollection.cs (2)
53public ICollection<string> Keys => _values.Keys.Union(_parent?.Keys ?? NoKeys).ToList();
Microsoft.TestPlatform.CommunicationUtilities (1)
JsonDataSerializer.Stj.cs (1)
167foreach (var key in dict.Keys.ToArray())
Microsoft.TestPlatform.CrossPlatEngine (1)
Execution\BaseRunTests.cs (1)
501foreach (var adapterMetrics in TestRunCache.AdapterTelemetry.Keys.Where(k => k.StartsWith(executorUri)))
Microsoft.TestPlatform.Utilities (1)
InferRunSettingsHelper.cs (1)
680foreach (var source in sourcePlatforms.Keys)
MSBuild (1)
XMake.cs (1)
2013foreach (string target in project.Targets.Keys)
NuGet.Commands (4)
RestoreCommand\RequestFactory\MSBuildItem.cs (1)
25return _metadata.Keys.AsList();
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.Configuration (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.LibraryModel (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.PackageManagement (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.Packaging (4)
Rules\ReferencesInNuspecMatchRefAssetsRule.cs (1)
59var missingSubfolderInFiles = nuspecReferences.Keys.Where(t => !keys.Contains(t) &&
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.ProjectModel (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.Protocol (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.Keys)
NuGet.Versioning (3)
src\nuget-client\build\Shared\EqualityUtility.cs (3)
280if (!self.Keys.OrderedEquals( 281other.Keys, 289foreach (var key in self.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\roslyn\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)
340((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\runtime\src\libraries\System.Private.CoreLib\src\System\Collections\ObjectModel\ReadOnlyDictionary.cs (1)
38public KeyCollection Keys => _keys ??= new KeyCollection(m_dictionary.Keys);
System.ServiceModel.Primitives (5)
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
624foreach (string requestAction in OperationSupportingTokenParameters.Keys) 637foreach (string requestAction in OptionalOperationSupportingTokenParameters.Keys)
System\ServiceModel\Security\SecurityProtocol.cs (2)
305foreach (string action in SecurityProtocolFactory.SecurityBindingElement.OperationSupportingTokenParameters.Keys) 312foreach (string action in SecurityProtocolFactory.SecurityBindingElement.OptionalOperationSupportingTokenParameters.Keys)
System\ServiceModel\Security\Tokens\ServiceModelSecurityTokenRequirement.cs (1)
231foreach (string propertyName in Properties.Keys)
System.Xaml (1)
System\Xaml\MS\Impl\XmlNsInfo.cs (1)
441dict.Keys.CopyTo(keys, 0);
vstest.console (2)
TestPlatformHelpers\TestRequestManager.cs (2)
694var keys = sourceToArchitectureMap.Keys.ToList(); 705var keys = sourceToFrameworkMap.Keys.ToList();
vstest.console.arm64 (2)
src\vstest\src\vstest.console\TestPlatformHelpers\TestRequestManager.cs (2)
694var keys = sourceToArchitectureMap.Keys.ToList(); 705var keys = sourceToFrameworkMap.Keys.ToList();