2 instantiations of BatchScope
Microsoft.CodeAnalysis.Workspaces (2)
Workspace\ProjectSystem\ProjectSystemProject.cs (2)
519return new BatchScope(this); 528return new BatchScope(this);
16 references to BatchScope
Microsoft.CodeAnalysis.LanguageServer (3)
HostWorkspace\LoadedProject.cs (1)
126var disposableBatchScope = await _projectSystemProject.CreateBatchScopeAsync(CancellationToken.None).ConfigureAwait(false);
HostWorkspace\WorkspaceProject.cs (2)
212var disposableBatchScope = await _project.CreateBatchScopeAsync(cancellationToken).ConfigureAwait(false); 222var disposableBatchScope = await _project.CreateBatchScopeAsync(cancellationToken).ConfigureAwait(false);
Microsoft.CodeAnalysis.Workspaces (10)
Workspace\ProjectSystem\ProjectSystemProject.cs (9)
239using var _ = CreateBatchScope(); 514public BatchScope CreateBatchScope() 523public async ValueTask<BatchScope> CreateBatchScopeAsync(CancellationToken cancellationToken) 1053using var _ = CreateBatchScope(); 1099using var _ = CreateBatchScope(); 1219using var _ = CreateBatchScope(); 1265using var _ = CreateBatchScope(); 1288using var _ = CreateBatchScope(); 1350using var _ = CreateBatchScope();
Workspace\ProjectSystem\ProjectSystemProjectFactory.cs (1)
184var disposableBatchScope = await project.CreateBatchScopeAsync(CancellationToken.None).ConfigureAwait(false);
Microsoft.VisualStudio.LanguageServices (3)
ProjectSystem\Legacy\AbstractLegacyProject_IProjectSiteEx.cs (2)
15private readonly Stack<ProjectSystemProject.BatchScope> _batchScopes = new(); 23var scope = _batchScopes.Pop();
ProjectSystem\Legacy\SolutionEventsBatchScopeCreator.cs (1)
30private readonly List<(ProjectSystemProject project, IVsHierarchy hierarchy, ProjectSystemProject.BatchScope batchScope)> _fullSolutionLoadScopes = [];