1 write to _projectsToLoadAndReload
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LanguageServerProjectSystem.cs (1)
89_projectsToLoadAndReload = new AsyncBatchingWorkQueue<ProjectToLoad>(
7 references to _projectsToLoadAndReload
Microsoft.CodeAnalysis.LanguageServer (7)
HostWorkspace\LanguageServerProjectSystem.cs (7)
32/// A single gate for code that is adding work to <see cref="_projectsToLoadAndReload" />. This is just we don't have code simultaneously trying to load and unload solutions at once. 61/// things to the <see cref="_projectsToLoadAndReload" />. 118_projectsToLoadAndReload.AddWork(new ProjectToLoad(project.ProjectPath, project.ProjectGuid, ReportTelemetry: true)); 122await _projectsToLoadAndReload.WaitUntilCurrentBatchCompletesAsync(); 134_projectsToLoadAndReload.AddWork(projectFilePaths.Select(p => new ProjectToLoad(p, ProjectGuid: null, ReportTelemetry: true))); 137await _projectsToLoadAndReload.WaitUntilCurrentBatchCompletesAsync(); 281loadedProject.NeedsReload += (_, _) => _projectsToLoadAndReload.AddWork(projectToLoad with { ReportTelemetry = false });