41 references to CreateProjectCollection
Microsoft.Build.Engine.OM.UnitTests (13)
Construction\ProjectRootElement_Tests.cs (3)
1593var projectCollection1 = env.CreateProjectCollection().Collection; 1594var projectCollection2 = env.CreateProjectCollection().Collection; 1733var projectCollection = env.CreateProjectCollection().Collection;
Definition\Project_Tests.cs (4)
3252var projectCollection = env.CreateProjectCollection().Collection; 3280var projectCollection = env.CreateProjectCollection().Collection; 3766var projectCollection = env.CreateProjectCollection().Collection; 3862var projectCollection = env.CreateProjectCollection().Collection;
Definition\ProjectItem_Tests.cs (6)
2157var project = ObjectModelHelpers.CreateInMemoryProject(env.CreateProjectCollection().Collection, projectContents); 2183var project = ObjectModelHelpers.CreateInMemoryProject(env.CreateProjectCollection().Collection, projectContents); 2216var project = new Project(testProject.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, env.CreateProjectCollection().Collection); 2276var project = new Project(testProject.ProjectFile, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, env.CreateProjectCollection().Collection); 2556var project = ObjectModelHelpers.CreateInMemoryProject(env.CreateProjectCollection().Collection, content); 2593var project = ObjectModelHelpers.CreateInMemoryProject(env.CreateProjectCollection().Collection, content);
Microsoft.Build.Engine.UnitTests (27)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
557var projectCollection = _env.CreateProjectCollection().Collection;
ConsoleLogger_Tests.cs (3)
193var pc = env.CreateProjectCollection(); 233var pc = env.CreateProjectCollection(); 276var pc = env.CreateProjectCollection();
Construction\SolutionFilter_Tests.cs (1)
128ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection;
Definition\Project_Internal_Tests.cs (4)
236var projectCollection = env.CreateProjectCollection().Collection; 273ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection; 301ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection; 329ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection;
Definition\ProjectEvaluationContext_Tests.cs (5)
104var projectCollection = _env.CreateProjectCollection().Collection; 146var projectCollection = _env.CreateProjectCollection().Collection; 201var collection = _env.CreateProjectCollection().Collection; 241var collection = _env.CreateProjectCollection().Collection; 986var collection = _env.CreateProjectCollection().Collection;
Evaluation\EvaluationLogging_Tests.cs (1)
75var collection = env.CreateProjectCollection().Collection;
Evaluation\ProjectSdkImplicitImport_Tests.cs (2)
366var pc = _env.CreateProjectCollection().Collection; 475ProjectCollection projectCollection = _env.CreateProjectCollection().Collection;
Evaluation\SdkResultEvaluation_Tests.cs (1)
42_projectCollection = _env.CreateProjectCollection().Collection;
Graph\GetCompatiblePlatformGraph_Tests.cs (1)
439ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection;
Graph\GraphLoadedFromSolution_tests.cs (1)
687_env.CreateProjectCollection().Collection);
Graph\IsolateProjects_Tests.cs (1)
325_env.CreateProjectCollection().Collection);
Graph\ProjectGraph_Tests.cs (1)
360var collection = _env.CreateProjectCollection().Collection;
Graph\ResultCacheBasedBuilds_Tests.cs (2)
149ProjectCollection = _env.CreateProjectCollection() 305var collection = _env.CreateProjectCollection().Collection;
Instance\ProjectInstance_Internal_Tests.cs (3)
766var projectCollection = env.CreateProjectCollection().Collection; 893ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection; 921ProjectCollection projectCollection = testEnvironment.CreateProjectCollection().Collection;
Microsoft.Build.UnitTests.Shared (1)
ObjectModelHelpers.cs (1)
1806projectCollection ?? env.CreateProjectCollection()