21 writes to ProjectCollection
Microsoft.Build.Engine.OM.UnitTests (1)
Definition\ProjectItem_Tests.cs (1)
961
options.
ProjectCollection
= new ProjectCollection();
Microsoft.Build.Engine.UnitTests (19)
BackEnd\BuildRequestConfiguration_Tests.cs (1)
563
ProjectCollection
= projectCollection
BackEnd\SdkResultOutOfProc_Tests.cs (1)
217
projectOptions.
ProjectCollection
= projectCollection;
Definition\Project_Internal_Tests.cs (3)
284
ProjectCollection
= projectCollection,
312
ProjectCollection
= projectCollection,
342
ProjectCollection
= projectCollection,
Definition\ProjectEvaluationContext_Tests.cs (6)
114
ProjectCollection
= projectCollection,
156
ProjectCollection
= projectCollection,
167
ProjectCollection
= projectCollection,
210
ProjectCollection
= collection,
252
ProjectCollection
= collection,
999
ProjectCollection
= collection,
Evaluation\ProjectSdkImplicitImport_Tests.cs (1)
370
projectOptions.
ProjectCollection
= pc;
Evaluation\SdkResultEvaluation_Tests.cs (1)
50
projectOptions.
ProjectCollection
= _projectCollection;
Graph\ResultCacheBasedBuilds_Tests.cs (2)
149
ProjectCollection
= _env.CreateProjectCollection()
313
ProjectCollection
= 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 })
904
ProjectCollection
= projectCollection,
932
ProjectCollection
= projectCollection,
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
91
var proj = Project.FromFile(VersionsPropsPath, new Build.Definition.ProjectOptions() {
ProjectCollection
= new ProjectCollection() });
8 references to ProjectCollection
Microsoft.Build (6)
Definition\Project.cs (3)
500
options.
ProjectCollection
?? ProjectCollection.GlobalProjectCollection,
519
options.
ProjectCollection
?? ProjectCollection.GlobalProjectCollection,
538
options.
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)
866
options.
ProjectCollection
?? ProjectCollection.GlobalProjectCollection,
885
options.
ProjectCollection
?? ProjectCollection.GlobalProjectCollection,
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectItem_Tests.cs (2)
962
options.
ProjectCollection
.RegisterLogger(collectionLogger);
971
options.
ProjectCollection
.UnregisterAllLoggers();