16 references to ProjectAnalyzerStateSets
Microsoft.CodeAnalysis.LanguageServer.Protocol (16)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.cs (5)
36private ImmutableDictionary<ProjectId, ProjectAnalyzerStateSets> _projectAnalyzerStateMap; 55_projectAnalyzerStateMap = ImmutableDictionary<ProjectId, ProjectAnalyzerStateSets>.Empty; 67return _projectAnalyzerStateMap.TryGetValue(projectId, out var entry) 88var projectStateSets = await GetOrCreateProjectStateSetsAsync(project, cancellationToken).ConfigureAwait(false); 99var projectStateSets = await GetOrCreateProjectStateSetsAsync(project, cancellationToken).ConfigureAwait(false);
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.HostStates.cs (1)
33private HostAnalyzerStateSets GetOrCreateHostStateSets(Project project, ProjectAnalyzerStateSets projectStateSets)
Features\Diagnostics\EngineV2\DiagnosticIncrementalAnalyzer.StateManager.ProjectStates.cs (10)
21public static readonly ProjectAnalyzerStateSets Default = new( 56private ProjectAnalyzerStateSets? TryGetProjectStateSets(Project project) 60if (_projectAnalyzerStateMap.TryGetValue(project.Id, out var entry) && 69private async Task<ProjectAnalyzerStateSets> GetOrCreateProjectStateSetsAsync(Project project, CancellationToken cancellationToken) 75private ProjectAnalyzerStateSets CreateProjectStateSets(Project project) 79return ProjectAnalyzerStateSets.Default; 86return ProjectAnalyzerStateSets.Default; 97private async Task<ProjectAnalyzerStateSets> UpdateProjectStateSetsAsync(Project project, CancellationToken cancellationToken) 100ProjectAnalyzerStateSets? projectStateSets; 130if (!_projectAnalyzerStateMap.TryGetValue(project.Id, out var entry))