21 writes to ProjectCollection
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectItem_Tests.cs (1)
961options.ProjectCollection = new ProjectCollection();
Microsoft.Build.Engine.UnitTests (19)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
563ProjectCollection = projectCollection
BackEnd\SdkResultOutOfProc_Tests.cs (1)
217projectOptions.ProjectCollection = projectCollection;
Definition\Project_Internal_Tests.cs (3)
284ProjectCollection = projectCollection, 312ProjectCollection = projectCollection, 342ProjectCollection = projectCollection,
Definition\ProjectEvaluationContext_Tests.cs (6)
114ProjectCollection = projectCollection, 156ProjectCollection = projectCollection, 167ProjectCollection = projectCollection, 210ProjectCollection = collection, 252ProjectCollection = collection, 999ProjectCollection = collection,
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
370projectOptions.ProjectCollection = pc;
Evaluation\SdkResultEvaluation_Tests.cs (1)
50projectOptions.ProjectCollection = _projectCollection;
Graph\ResultCacheBasedBuilds_Tests.cs (2)
149ProjectCollection = _env.CreateProjectCollection() 313ProjectCollection = collection
Instance\ProjectInstance_Internal_Tests.cs (4)
715(f, xml, c) => ProjectInstance.FromFile(f, new ProjectOptions { ProjectCollection = c }) 739(f, xml, c) => ProjectInstance.FromProjectRootElement(xml, new ProjectOptions { ProjectCollection = c }) 904ProjectCollection = projectCollection, 932ProjectCollection = projectCollection,
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
91var proj = Project.FromFile(VersionsPropsPath, new Build.Definition.ProjectOptions() { ProjectCollection = new ProjectCollection() });
8 references to ProjectCollection
Microsoft.Build (6)
Definition\Project.cs (3)
500options.ProjectCollection ?? ProjectCollection.GlobalProjectCollection, 519options.ProjectCollection ?? ProjectCollection.GlobalProjectCollection, 538options.ProjectCollection ?? ProjectCollection.GlobalProjectCollection,
Definition\ProjectOptions.cs (1)
34/// The <see cref="ProjectCollection"/> the project is added to. Default is <see cref="ProjectCollection.GlobalProjectCollection"/>.
Instance\ProjectInstance.cs (2)
866options.ProjectCollection ?? ProjectCollection.GlobalProjectCollection, 885options.ProjectCollection ?? ProjectCollection.GlobalProjectCollection,
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectItem_Tests.cs (2)
962options.ProjectCollection.RegisterLogger(collectionLogger); 971options.ProjectCollection.UnregisterAllLoggers();