3 writes to _projectAnalyzerStateMap
Microsoft.CodeAnalysis.LanguageServer.Protocol (3)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (2)
55_projectAnalyzerStateMap = ImmutableDictionary<ProjectId, ProjectAnalyzerStateSets>.Empty; 124_projectAnalyzerStateMap = _projectAnalyzerStateMap.Remove(projectId);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (1)
114_projectAnalyzerStateMap = _projectAnalyzerStateMap.SetItem(project.Id, projectStateSets.Value);
7 references to _projectAnalyzerStateMap
Microsoft.CodeAnalysis.LanguageServer.Protocol (7)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (3)
67return _projectAnalyzerStateMap.TryGetValue(projectId, out var entry) 122lock (_projectAnalyzerStateMap) 124_projectAnalyzerStateMap = _projectAnalyzerStateMap.Remove(projectId);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (4)
53return _projectAnalyzerStateMap.Values.SelectManyAsArray(e => e.StateSetMap.Values); 60if (_projectAnalyzerStateMap.TryGetValue(project.Id, out var entry) && 114_projectAnalyzerStateMap = _projectAnalyzerStateMap.SetItem(project.Id, projectStateSets.Value); 130if (!_projectAnalyzerStateMap.TryGetValue(project.Id, out var entry))