Implemented interface member:
62 references to Values
AnalyzerRunner (1)
DiagnosticAnalyzerRunner.cs (1)
415foreach (var analysisResult in dictionary.Values)
Microsoft.Build (3)
Collections\CopyOnWritePropertyDictionary.cs (3)
140public IEnumerator<T> GetEnumerator() => _backing.Values.GetEnumerator(); 179foreach (T thisProp in thisBacking.Values) 229foreach (T thisProp in thisBacking.Values)
Microsoft.CodeAnalysis.CodeStyle (4)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
485foreach (var perAnalyzerDiagnostics in diagnostics.Values) 493foreach (var perAnalyzerDiagnostics in analysisResult.CompilationDiagnostics.Values)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (1)
37Debug.Assert(binaryToAssignmentMap.Values.All(assignmentToTokenMap.ContainsKey));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
101Debug.Assert(LValueFlowCapturesInGraph.Values.All(kind => kind is FlowCaptureKind.LValueCapture or FlowCaptureKind.LValueAndRValueCapture));
Microsoft.CodeAnalysis.CSharp (2)
BoundTree\UnboundLambda.cs (2)
613foreach (var lambda in _returnInferenceCache!.Values) 1312var retBags = from boundLambda in _returnInferenceCache!.Values select boundLambda.Diagnostics;
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (4)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
200!assignmentValues.Values.SetEquals(parameters)) 261return assignedUnderlyingFields.SequenceEqual(assignmentValues.Values) &&
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
272if (!properties.Values.Any(v => v == current.Identifier.ValueText)) 533foreach (var group in removedMembers.Values.GroupBy(n => n.memberNode.SyntaxTree))
Microsoft.CodeAnalysis.CSharp.Features (4)
src\Analyzers\CSharp\CodeFixes\ConvertToRecord\ConvertToRecordHelpers.cs (2)
200!assignmentValues.Values.SetEquals(parameters)) 261return assignedUnderlyingFields.SequenceEqual(assignmentValues.Values) &&
src\Analyzers\CSharp\CodeFixes\UsePrimaryConstructor\CSharpUsePrimaryConstructorCodeFixProvider.cs (2)
272if (!properties.Values.Any(v => v == current.Identifier.ValueText)) 533foreach (var group in removedMembers.Values.GroupBy(n => n.memberNode.SyntaxTree))
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (1)
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
793internal ImmutableArray<SourceText> GetTrackedTexts() => GetManager().GetTrackedLspText().Values.Select(v => v.Text).ToImmutableArray();
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Collections\Immutable\Maps\MapTests.cs (1)
47Assert.Equal(5, map.Values.Count());
Microsoft.CodeAnalysis.ExternalAccess.FSharp (1)
VS\IFSharpWorkspaceProjectContextFactory.cs (1)
152foreach (var reference in _projectReferences.Values.Cast<FSharpWorkspaceProjectContext>())
Microsoft.CodeAnalysis.Features (4)
src\Analyzers\Core\Analyzers\RemoveUnnecessarySuppressions\AbstractRemoveUnnecessaryPragmaSuppressionsDiagnosticAnalyzer.cs (2)
485foreach (var perAnalyzerDiagnostics in diagnostics.Values) 493foreach (var perAnalyzerDiagnostics in analysisResult.CompilationDiagnostics.Values)
src\Analyzers\Core\Analyzers\UseCompoundAssignment\UseCompoundAssignmentUtilities.cs (1)
37Debug.Assert(binaryToAssignmentMap.Values.All(assignmentToTokenMap.ContainsKey));
SyncNamespaces\AbstractSyncNamespacesService.cs (1)
45if (diagnosticsByProject.Values.All(diagnostics => diagnostics.IsEmpty))
Microsoft.CodeAnalysis.LanguageServer.Protocol (6)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (2)
68? hostStateSets.Concat(entry.StateSetMap.Values) 89return GetOrCreateHostStateSets(project, projectStateSets).OrderedStateSets.AddRange(projectStateSets.StateSetMap.Values);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.HostStates.cs (2)
59return (analyzersPerReference.Values, []); 132OrderedStateSets = [.. StateSetMap.Values.OrderBy(PriorityComparison)];
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (2)
53return _projectAnalyzerStateMap.Values.SelectManyAsArray(e => e.StateSetMap.Values); 139return new ProjectAnalyzerReferenceChangedEventArgs(project, newMap.Values.ToImmutableArrayOrEmpty(), []);
Microsoft.CodeAnalysis.Remote.ServiceHub (3)
src\VisualStudio\Core\Def\Telemetry\Shared\AbstractAggregatingLog.cs (1)
113foreach (var (aggregator, telemetryEvent, aggregatorLock) in _aggregations.Values)
src\VisualStudio\Core\Def\Telemetry\Shared\TelemetryLogProvider.cs (2)
96foreach (var log in _histogramLogs.Values) 101foreach (var log in _counterLogs.Values)
Microsoft.CodeAnalysis.VisualBasic (1)
Binding\Binder_Statements.vb (1)
656For Each binder As BlockBaseBinder In bodyBinder.StmtListToBinderMap.Values
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (1)
CompilationContext.vb (1)
122_displayClassVariables.Values.Any(Function(v) v.Kind = DisplayClassVariableKind.Me))
Microsoft.CodeAnalysis.Workspaces (14)
CodeFixes\FixAllOccurrences\FixAllState.cs (2)
71var diagnosticIds = GetDiagnosticsIds(diagnosticsToFix.Values); 92var diagnosticIds = GetDiagnosticsIds(diagnosticsToFix.Values);
CodeFixesAndRefactorings\FixAllLogger.cs (2)
162m[TotalDiagnosticsToFix] = documentsAndDiagnosticsToFixMap.Values.Sum(v => v.Length); 172m[TotalDiagnosticsToFix] = projectsAndDiagnosticsToFixMap.Values.Sum(v => v.Length);
Diagnostics\DiagnosticAnalysisResult.cs (6)
78Debug.Assert(!syntaxLocals.Values.Any(item => item.IsDefault)); 79Debug.Assert(!semanticLocals.Values.Any(item => item.IsDefault)); 80Debug.Assert(!nonLocals.Values.Any(item => item.IsDefault)); 226foreach (var data in _syntaxLocals.Values) 229foreach (var data in _semanticLocals.Values) 232foreach (var data in _nonLocals.Values)
Diagnostics\HostDiagnosticAnalyzers.cs (1)
284var seen = new HashSet<DiagnosticAnalyzer>(map1.Values.SelectMany(v => v));
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.DataFlowAnalyzer.FlowGraphAnalysisData.cs (1)
101Debug.Assert(LValueFlowCapturesInGraph.Values.All(kind => kind is FlowCaptureKind.LValueCapture or FlowCaptureKind.LValueAndRValueCapture));
Workspace\Solution\SolutionState.cs (2)
254foreach (var project in this.ProjectStates.Values) 1192var map = projectStates.Values.Select(state => KeyValuePairUtil.Create(
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (1)
Fakes\TestOptionSet.cs (1)
20Debug.Assert(values.Values.All(IsInternalOptionValue));
Microsoft.DotNet.SignTool (2)
src\BatchSignUtil.cs (1)
302return zipData.NestedParts.Values.All(x => (!x.FileSignInfo.SignInfo.ShouldSign ||
src\Configuration.cs (1)
245hasSignableParts = _zipDataMap[fileSignInfo.FileContentKey].NestedParts.Values.Any(b => b.FileSignInfo.SignInfo.ShouldSign || b.FileSignInfo.HasSignableParts);
Microsoft.VisualStudio.LanguageServices (3)
Telemetry\Shared\AbstractAggregatingLog.cs (1)
113foreach (var (aggregator, telemetryEvent, aggregatorLock) in _aggregations.Values)
Telemetry\Shared\TelemetryLogProvider.cs (2)
96foreach (var log in _histogramLogs.Values) 101foreach (var log in _counterLogs.Values)
Microsoft.VisualStudio.LanguageServices.DevKit (3)
src\VisualStudio\Core\Def\Telemetry\Shared\AbstractAggregatingLog.cs (1)
113foreach (var (aggregator, telemetryEvent, aggregatorLock) in _aggregations.Values)
src\VisualStudio\Core\Def\Telemetry\Shared\TelemetryLogProvider.cs (2)
96foreach (var log in _histogramLogs.Values) 101foreach (var log in _counterLogs.Values)
Microsoft.VisualStudio.LanguageServices.LiveShare (2)
Client\RemoteLanguageServiceWorkspace.cs (1)
479if (_openedDocs.Values.Contains(documentId) || IsDocumentOpen(documentId))
Client\RemoteLanguageServiceWorkspaceHost.cs (1)
152foreach (var projectId in _loadedProjects.Values)
RunTests (1)
AssemblyScheduler.cs (1)
124var averageExecutionTime = TimeSpan.FromMilliseconds(testHistory.Values.Average(t => t.TotalMilliseconds));