1 write to _projectStates
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateSet.cs (1)
38
_projectStates
= new ConcurrentDictionary<ProjectId, ProjectState>(concurrencyLevel: 2, capacity: 1);
2 references to _projectStates
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateSet.cs (2)
45
=>
_projectStates
.TryGetValue(projectId, out state);
51
=>
_projectStates
.GetOrAdd(projectId, static (id, self) => new ProjectState(self, id), this);