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));
122
await
_projectsToLoadAndReload
.WaitUntilCurrentBatchCompletesAsync();
134
_projectsToLoadAndReload
.AddWork(projectFilePaths.Select(p => new ProjectToLoad(p, ProjectGuid: null, ReportTelemetry: true)));
137
await
_projectsToLoadAndReload
.WaitUntilCurrentBatchCompletesAsync();
281
loadedProject.NeedsReload += (_, _) =>
_projectsToLoadAndReload
.AddWork(projectToLoad with { ReportTelemetry = false });