Implemented interface member:
63 references to Keys
dotnet-format (1)
Analyzers\AnalyzerFormatter.cs (1)
297foreach (var projectId in projectAnalyzersAndFixers.Keys)
GenerateDocumentationAndConfigFiles (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Microsoft.Build (1)
Instance\ProjectItemDefinitionInstance.cs (1)
126public IEnumerable<string> MetadataNames => _metadata == null ? [] : _metadata.Keys;
Microsoft.Build.Utilities.Core (1)
TaskItem.cs (1)
226metadataNames.AddRange(_metadata.Keys);
Microsoft.CodeAnalysis (4)
Compilation\DeterministicKeyBuilder.cs (1)
556foreach (var key in options.SpecificDiagnosticOptions.Keys.OrderBy(StringComparer.Ordinal))
DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
InternalUtilities\ImmutableSetWithInsertionOrder`1.cs (2)
134return _map.Keys.GetEnumerator(); 139return _map.Keys.GetEnumerator();
Microsoft.CodeAnalysis.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Microsoft.CodeAnalysis.AnalyzerUtilities (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Microsoft.CodeAnalysis.CodeStyle (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Microsoft.CodeAnalysis.CSharp (3)
Binder\ImportChain.cs (1)
99aliases.AddRange(aliasSymbols.Keys);
Compilation\SyntaxAndDeclarationManager.LazyState.cs (1)
56Debug.Assert(syntaxTrees.SetEquals(rootNamespaces.Keys.AsImmutable(), EqualityComparer<SyntaxTree>.Default));
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
46foreach (var analyzedNode in verifier._analyzedNullabilityMap.Keys)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
199if (!assignmentValues.Keys.SetEquals(properties) || 256var assignedUnderlyingFields = assignmentValues.Keys.SelectAsArray(UnwrapPropertyToField);
Microsoft.CodeAnalysis.CSharp.Features (2)
src\roslyn\src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
199if (!assignmentValues.Keys.SetEquals(properties) || 256var assignedUnderlyingFields = assignmentValues.Keys.SelectAsArray(UnwrapPropertyToField);
Microsoft.CodeAnalysis.Features (15)
CodeFixes\Service\CodeFixService.cs (1)
91var set = ImmutableHashSet.CreateRange(builder.Keys.Concat(projectFixersMap.Keys));
CodeFixes\Suppression\AbstractSuppressionBatchFixAllProvider.cs (1)
152var projects = projectsAndDiagnosticsToFixMap.Keys;
EditAndContinue\EmitSolutionUpdateResults.cs (2)
97ProjectsToRebuild = [.. runningProjects.Keys], 99ProjectsToRestart = runningProjects.Keys.ToImmutableDictionary(keySelector: static p => p, elementSelector: static p => ImmutableArray.Create(p)),
EmbeddedLanguages\AbstractEmbeddedLanguageFeatureService.cs (1)
78var languageIdentifiers = _identifierToServices.Keys.ToImmutableArray();
Extensions\ExtensionFolder.cs (2)
166WorkspaceMessageHandlers: [.. handlers.WorkspaceMessageHandlers.Keys], 167DocumentMessageHandlers: [.. handlers.DocumentMessageHandlers.Keys],
Extensions\ExtensionMessageHandlerService.cs (2)
131_unregisteredHandlerNames_useOnlyUnderLock.workspace.UnionWith(handlers.WorkspaceMessageHandlers.Keys); 132_unregisteredHandlerNames_useOnlyUnderLock.document.UnionWith(handlers.DocumentMessageHandlers.Keys);
ExtractClass\ExtractClassWithDialogCodeAction.cs (1)
235foreach (var documentId in symbolMapping.DocumentIdsToSymbolMap.Keys)
ExtractInterface\AbstractExtractInterfaceService.cs (4)
196[.. symbolMapping.DocumentIdsToSymbolMap.Keys], 206symbolMapping.DocumentIdsToSymbolMap.Keys.Concat(unformattedInterfaceDocument.Id), 238unformattedSolution, [.. symbolMapping.DocumentIdsToSymbolMap.Keys], 245symbolMapping.DocumentIdsToSymbolMap.Keys.Concat(refactoringResult.DocumentToExtractFrom.Id),
MoveStaticMembers\MoveStaticMembersWithDialogCodeAction.cs (1)
289foreach (var refNode in trackNodesDict.Keys)
Microsoft.CodeAnalysis.ResxSourceGenerator (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Microsoft.CodeAnalysis.VisualBasic (3)
Compilation\VisualBasicCompilation.vb (1)
442Debug.Assert(syntaxTrees.SetEquals(rootNamespaces.Keys.AsImmutable(), EqualityComparer(Of SyntaxTree).Default))
Compilation\VisualBasicDiagnosticFilter.vb (1)
70caseInsensitiveSpecificDiagnosticOptions.Keys.Contains(VisualBasic.MessageProvider.Instance.GetIdForErrorCode(ERRID.WRN_AssemblyGeneration1))) Then
Syntax\VisualBasicSyntaxTree.ConditionalSymbolsMap.vb (1)
150Dim symbolName = _conditionalsMap.Keys.First(Function(key) IdentifierComparison.Equals(key, conditionalSymbolName))
Microsoft.CodeAnalysis.Workspaces (8)
Diagnostics\DiagnosticAnalysisResult.cs (1)
158foreach (var documentId in map.Keys)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;
Workspace\Solution\ProjectDependencyGraph.cs (2)
495Debug.Assert(referencesMap.Keys.All(projectIds.Contains)); 517Debug.Assert(reverseReferencesMap.Keys.All(projectIds.Contains));
Workspace\Solution\ProjectDependencyGraph_AddProjectReference.cs (2)
126foreach (var projectIdToUpdate in existingTransitiveReferencesMap.Keys) 174foreach (var projectIdToUpdate in existingReverseTransitiveReferencesMap.Keys)
Microsoft.Diagnostics.DataContractReader.Contracts (1)
Contracts\StackWalk\Context\X86\GCInfoDecoding\GCInfo.cs (1)
202foreach (int offset in Transitions.Keys.OrderBy(i => i))
Microsoft.DotNet.HotReload.Watch (1)
HotReload\CompilationHandler.cs (1)
374(from projectId in updates.ProjectsToRestart.Keys
Microsoft.VisualStudio.TestPlatform.Common (3)
src\vstest\src\Microsoft.TestPlatform.Filter.Source\FastFilter.cs (3)
71return FilterProperties.Keys.All(name => properties.Contains(name)) 73: FilterProperties.Keys.Where(name => !properties.Contains(name)).ToArray(); 83foreach (var name in FilterProperties.Keys)
Roslyn.Diagnostics.Analyzers (3)
src\roslyn\src\Compilers\Core\Portable\DiagnosticAnalyzer\DictionaryAnalyzerConfigOptions.cs (1)
28=> Options.Keys;
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\BidirectionalMap.cs (2)
84public IEnumerable<TKey> Keys => _forwardMap.Keys; 86public IEnumerable<TValue> Values => _backwardMap.Keys;