25 references to CreateBatchScope
Microsoft.VisualStudio.LanguageServices (2)
ProjectSystem\Legacy\AbstractLegacyProject_IProjectSiteEx.cs (1)
21=> _batchScopes.Push(ProjectSystemProject.CreateBatchScope());
ProjectSystem\Legacy\SolutionEventsBatchScopeCreator.cs (1)
53_fullSolutionLoadScopes.Add((project, hierarchy, project.CreateBatchScope()));
Microsoft.VisualStudio.LanguageServices.CSharp (2)
ProjectSystemShim\CSharpProjectShim.ICSharpProjectSite.cs (1)
167using (ProjectSystemProject.CreateBatchScope())
ProjectSystemShim\CSharpProjectShim.ICSharpVenusProjectSite.cs (1)
44using (ProjectSystemProject.CreateBatchScope())
Microsoft.VisualStudio.LanguageServices.Implementation (2)
ProjectSystem\CPS\CPSProject_IWorkspaceProjectContext.cs (2)
261=> _batchScopes.Enqueue(_projectSystemProject.CreateBatchScope()); 281public IAsyncDisposable CreateBatchScope() => _projectSystemProject.CreateBatchScope();
Microsoft.VisualStudio.LanguageServices.UnitTests (18)
ProjectSystemShim\VisualStudioProjectTests\AnalyzerReferenceTests.vb (4)
29Using project.CreateBatchScope() 57Using If(removeInBatch, project.CreateBatchScope(), Nothing) 80Using If(removeInBatch, project.CreateBatchScope(), Nothing) 102Using project.CreateBatchScope()
ProjectSystemShim\VisualStudioProjectTests\FileChangeTests.vb (2)
32Using project.CreateBatchScope() 56Using project.CreateBatchScope()
ProjectSystemShim\VisualStudioProjectTests\MetadataToProjectReferenceConversionTests.vb (7)
42Using If(removeInBatch, project2.CreateBatchScope(), Nothing) 79Using If(removeInBatch, project2.CreateBatchScope(), Nothing) 230Dim referencingProjectBatch = referencingProject.CreateBatchScope() 231Dim referencedProjectBatch = referencedProject.CreateBatchScope() 266Dim referencingProjectBatch = referencingProject.CreateBatchScope() 267Dim referencedProjectBatch = referencedProject.CreateBatchScope() 305Using referencingProject.CreateBatchScope()
ProjectSystemShim\VisualStudioProjectTests\WorkspaceChangedEventTests.vb (5)
23Using If(addInBatch, project.CreateBatchScope(), Nothing) 42Using project.CreateBatchScope() 63Using If(addInBatch, project.CreateBatchScope(), Nothing) 83Using If(addInBatch, project.CreateBatchScope(), Nothing) 103project.CreateBatchScope().Dispose()
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.vb (1)
337Using batchScope = ProjectSystemProject.CreateBatchScope()