1 write to _projectCollection
Microsoft.Build.Engine.UnitTests (1)
BackEnd\BuildManager_Tests.cs (1)
85_projectCollection = new ProjectCollection(globalProperties: null, _parameters.Loggers, ToolsetDefinitionLocations.Default);
35 references to _projectCollection
Microsoft.Build.Engine.UnitTests (35)
BackEnd\BuildManager_Tests.cs (35)
99_projectCollection.Dispose(); 442Project project = CreateProject(CleanupFileContents(contents), MSBuildDefaultToolsVersion, _projectCollection, false); 444var data = new BuildRequestData(project.CreateProjectInstance(), Array.Empty<string>(), _projectCollection.HostServices); 493_projectCollection, false); 506_projectCollection.HostServices, BuildRequestDataFlags.ProvideSubsetOfStateAfterBuild, null, 650var project = CreateProject(contents, null, _projectCollection, false); 703var project = CreateProject(contents, null, _projectCollection, false); 773var project = CreateProject(contents, null, _projectCollection, false); 833var project = CreateProject(contents, null, _projectCollection, false); 931var project = CreateProject(contents, null, _projectCollection, false); 1152var project = CreateProject(contents, null, _projectCollection, false); 1775Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 1806Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 1841Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 1898Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 1926Project project = _projectCollection.LoadProject(data.ProjectFullPath); 1952Project project = _projectCollection.LoadProject(data.ProjectFullPath); 1984Project project = _projectCollection.LoadProject(data.ProjectFullPath); 2035ProjectInstance projectInstance = CreateProjectInstance(contents1, null, _projectCollection, false); 2049_parameters.ProjectRootElementCache = _projectCollection.ProjectRootElementCache; 2062ProjectInstance projectInstance2 = CreateProjectInstance(contents1, null, _projectCollection, false); 2197var data = new BuildRequestData(fileName, _projectCollection.GlobalProperties, MSBuildDefaultToolsVersion, Array.Empty<string>(), null); 3408Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 3438Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 3469Project project = CreateProject(contents, MSBuildDefaultToolsVersion, _projectCollection, true); 3565=> new BuildRequestData(CreateProjectInstance(projectContents, toolsVersion, _projectCollection, true), targets, _projectCollection.HostServices); 3571=> new GraphBuildRequestData(CreateProjectGraph(projectContents, _projectCollection), targets, _projectCollection.HostServices); 3779var buildParameters = new BuildParameters(_projectCollection) 3850using ProjectRootElementFromString projectRootElementFromString = new(string.Format(mainProject, importPath), _projectCollection); 3858_projectCollection); 3865var parameters = new BuildParameters(_projectCollection) 3934var buildParameters = new BuildParameters(_projectCollection) 4411Project project = CreateProject(projectContents, MSBuildDefaultToolsVersion, _projectCollection, true);