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)
67
return
_projectAnalyzerStateMap
.TryGetValue(projectId, out var entry)
122
lock (
_projectAnalyzerStateMap
)
124
_projectAnalyzerStateMap =
_projectAnalyzerStateMap
.Remove(projectId);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (4)
53
return
_projectAnalyzerStateMap
.Values.SelectManyAsArray(e => e.StateSetMap.Values);
60
if (
_projectAnalyzerStateMap
.TryGetValue(project.Id, out var entry) &&
114
_projectAnalyzerStateMap =
_projectAnalyzerStateMap
.SetItem(project.Id, projectStateSets.Value);
130
if (!
_projectAnalyzerStateMap
.TryGetValue(project.Id, out var entry))