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