1 write to _projectsToLoadAndReload
Microsoft.CodeAnalysis.LanguageServer (1)
HostWorkspace\LanguageServerProjectSystem.cs (1)
90_projectsToLoadAndReload = new AsyncBatchingWorkQueue<ProjectToLoad>(
7 references to _projectsToLoadAndReload
Microsoft.CodeAnalysis.LanguageServer (7)
HostWorkspace\LanguageServerProjectSystem.cs (7)
33/// 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. 62/// things to the <see cref="_projectsToLoadAndReload" />. 119_projectsToLoadAndReload.AddWork(new ProjectToLoad(project.ProjectPath, project.ProjectGuid, ReportTelemetry: true)); 123await _projectsToLoadAndReload.WaitUntilCurrentBatchCompletesAsync(); 135_projectsToLoadAndReload.AddWork(projectFilePaths.Select(p => new ProjectToLoad(p, ProjectGuid: null, ReportTelemetry: true))); 138await _projectsToLoadAndReload.WaitUntilCurrentBatchCompletesAsync(); 282loadedProject.NeedsReload += (_, _) => _projectsToLoadAndReload.AddWork(projectToLoad with { ReportTelemetry = false });