193 references to ProjectCollection
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
1004new ProjectCollection(),
Microsoft.Build.Engine.OM.UnitTests (79)
Construction\ProjectRootElement_Tests.cs (7)
527using ProjectCollection projectCollection = new ProjectCollection(); 1032using var collection = new ProjectCollection(); 1103using var collection = new ProjectCollection(); 1291using (var projectCollection = new ProjectCollection()) 1919using var collection = new ProjectCollection(); 1935using var projectCollection = new ProjectCollection(); 1953using var collection = new ProjectCollection();
Construction\ProjectTargetElement_Tests.cs (1)
357using ProjectCollection collection = new ProjectCollection();
Definition\Project_Tests.cs (27)
136using ProjectCollection collection = new ProjectCollection(); 164using ProjectCollection collection = new ProjectCollection(); 279Project project = (new ProjectCollection()).LoadProject(reader); 372using var collection = new ProjectCollection(); 389Project project = new Project(xml, null, null, new ProjectCollection(), ProjectLoadSettings.IgnoreMissingImports); 404using ProjectCollection collection = new ProjectCollection(); 434using ProjectCollection collection = new ProjectCollection(); 470using ProjectCollection collection = new ProjectCollection(); 507using ProjectCollection collection = new ProjectCollection(); 1232using var collection = new ProjectCollection(); 1262using var collection = new ProjectCollection(); 1290using var collection = new ProjectCollection(); 1444using (var projectCollection = new ProjectCollection()) 1509using (var projectCollection = new ProjectCollection()) 1595using (var projectCollection = new ProjectCollection()) 2423Project project = new Project(globalProperties, null, new ProjectCollection()); 3572using (var projectCollection = new ProjectCollection()) 3842using (var projectCollection = new ProjectCollection()) 3894using (ProjectCollection collection = new ProjectCollection()) 3943using (ProjectCollection collection = new ProjectCollection()) 3987using (ProjectCollection collection = new ProjectCollection()) 4034using (ProjectCollection collection = new ProjectCollection()) 4074using (ProjectCollection collection = new ProjectCollection()) 4117using (ProjectCollection collection = new ProjectCollection()) 4160using (ProjectCollection collection = new ProjectCollection()) 4198using (ProjectCollection collection = new ProjectCollection()) 4263using ProjectCollection collection = new ProjectCollection();
Definition\ProjectCollection_Tests.cs (35)
124using ProjectCollection collection = new ProjectCollection(); 166using var collection = new ProjectCollection(); 197using ProjectCollection collection = new ProjectCollection(); 228using ProjectCollection collection = new ProjectCollection(); 251using var collection = new ProjectCollection(); 267using var collection = new ProjectCollection(); 281using var collection = new ProjectCollection(); 325using var collection = new ProjectCollection(); 346using ProjectCollection collection1 = new ProjectCollection(); 352using ProjectCollection collection2 = new ProjectCollection(); 568using ProjectCollection collection = new ProjectCollection(); 585using var collection = new ProjectCollection(); 612using var collection = new ProjectCollection(); 634using var collection = new ProjectCollection(); 679using var collection = new ProjectCollection(); 838using ProjectCollection collection = new ProjectCollection(); 878using var collection = new ProjectCollection(); 921using var collection = new ProjectCollection(); 951using var collection = new ProjectCollection(); 971using var collection = new ProjectCollection(); 995using var collection = new ProjectCollection(); 1029using var collection = new ProjectCollection(); 1051using var collection = new ProjectCollection(); 1091using var collection = new ProjectCollection(); 1145using var collection = new ProjectCollection(); 1174using var collection = new ProjectCollection(); 1266using var collection = new ProjectCollection(); 1275using var collection2 = new ProjectCollection(); 1284using var collection3 = new ProjectCollection(); 1293using var collection4 = new ProjectCollection(); 1302using var collection5 = new ProjectCollection(); 1312using var collection6 = new ProjectCollection(); 1320using var collection7 = new ProjectCollection(); 1332using var collection = new ProjectCollection(); 1391using var collection = new ProjectCollection();
Definition\ProjectItem_Tests.cs (5)
833using ProjectCollection projectCollection = new ProjectCollection(); 961options.ProjectCollection = new ProjectCollection(); 1152using (var projectCollection = new ProjectCollection()) 1172using (var projectCollection = new ProjectCollection()) 3747using (var projectCollection = new ProjectCollection())
Instance\ProjectInstance_Tests.cs (3)
418using var pc = new ProjectCollection(); 454using var pc = new ProjectCollection(); 496using var pc = new ProjectCollection();
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
159this.Collection = new ProjectCollection();
Microsoft.Build.Engine.UnitTests (92)
BackEnd\BuildManager_Logging_Tests.cs (1)
76_projectCollection = new ProjectCollection();
BackEnd\BuildManager_Tests.cs (5)
344using var projectCollection = new ProjectCollection(); 896using var projectCollection = new ProjectCollection(); 2041using var projectCollection2 = new ProjectCollection(); 2100using var projectCollection = new ProjectCollection(); 3689using (var collection = new ProjectCollection())
BackEnd\BuildRequestConfiguration_Tests.cs (3)
278using var collection = new ProjectCollection(); 356using var collection = new ProjectCollection(); 461using var collection = new ProjectCollection();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
65_projectCollection = new ProjectCollection();
BackEnd\TargetEntry_Tests.cs (1)
856using ProjectCollection collection = new ProjectCollection();
BackEnd\TaskBuilder_Tests.cs (1)
147ProjectCollection collection = new ProjectCollection();
BinaryLogger_Tests.cs (2)
122using (ProjectCollection collection = new()) 218using (ProjectCollection collection = new())
ChangeWaves_Tests.cs (1)
61using ProjectCollection collection = new ProjectCollection();
Construction\SolutionProjectGenerator_Tests.cs (2)
1946using ProjectCollection collection = new ProjectCollection(); 2299using ProjectCollection collection = new ProjectCollection();
Definition\Project_Internal_Tests.cs (1)
42using ProjectCollection collection = new ProjectCollection();
Definition\Toolset_Tests.cs (8)
28Toolset t = new Toolset(null, "x", new ProjectCollection(), null); 37Toolset t = new Toolset("x", null, new ProjectCollection(), null); 46Toolset t = new Toolset(String.Empty, "x", new ProjectCollection(), null); 84using var collection = new ProjectCollection(); 198using ProjectCollection projectCollection = new ProjectCollection(); 232using ProjectCollection projectCollection = new ProjectCollection(); 288using ProjectCollection projectCollection = new ProjectCollection(); 310using ProjectCollection projectCollection = new ProjectCollection();
Definition\ToolsetConfigurationReader_Tests.cs (1)
665using var collection = new ProjectCollection();
Definition\ToolsVersion_Tests.cs (27)
34using ProjectCollection e = new ProjectCollection(); 37using var collection = new ProjectCollection(); 79using ProjectCollection e = new ProjectCollection(); 80using var collection = new ProjectCollection(); 99using ProjectCollection e = new ProjectCollection(); 100using var collection = new ProjectCollection(); 118using ProjectCollection e = new ProjectCollection(); 119using var collection = new ProjectCollection(); 138using ProjectCollection e = new ProjectCollection(); 139using var collection = new ProjectCollection(); 158using var collection = new ProjectCollection(); 191using ProjectCollection p = new ProjectCollection(); 197using var colleciton = new ProjectCollection(); 216using ProjectCollection p = new ProjectCollection(); 237using ProjectCollection p = new ProjectCollection(); 303using ProjectCollection p = new ProjectCollection(); 340using ProjectCollection p = new ProjectCollection(); 376using ProjectCollection p = new ProjectCollection(); 406ProjectCollection p = new ProjectCollection(); 438using ProjectCollection p = new ProjectCollection(); 545using ProjectCollection p = new ProjectCollection(); 584using ProjectCollection p = new ProjectCollection(); 625using ProjectCollection p = new ProjectCollection(); 695using ProjectCollection p = new ProjectCollection(); 781using ProjectCollection p = new ProjectCollection(); 892using ProjectCollection p = new ProjectCollection(); 925using var collection = new ProjectCollection();
EscapingInProjects_Tests.cs (1)
649using var collection = new ProjectCollection();
Evaluation\Evaluator_Tests.cs (23)
514using ProjectCollection pc = new ProjectCollection(); 557using ProjectCollection pc = new ProjectCollection(); 602using ProjectCollection pc = new ProjectCollection(); 645using ProjectCollection pc = new ProjectCollection(); 691using ProjectCollection pc = new ProjectCollection(); 735using ProjectCollection pc = new ProjectCollection(); 781using ProjectCollection pc = new ProjectCollection(); 920using ProjectCollection pc = new ProjectCollection(); 1005using ProjectCollection pc = new ProjectCollection(); 1067ProjectCollection pc = new ProjectCollection(); 2441using var collection = new ProjectCollection(); 2475using var collection = new ProjectCollection(); 2493using var collection = new ProjectCollection(); 2551using var collection = new ProjectCollection(); 2570using var collection = new ProjectCollection(); 2626using var collection = new ProjectCollection(); 2645using var collection = new ProjectCollection(); 2683using var collection = new ProjectCollection(); 2702using var collection = new ProjectCollection(); 3100using var collection = new ProjectCollection(); 4333using var collection = new ProjectCollection(); 5023using ProjectCollection pc = new ProjectCollection(); 5064using ProjectCollection pc = new();
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (2)
28using var collection = new ProjectCollection(); 1058using var xmlReader = new ProjectCollection();
Evaluation\ProjectCollection_Tests.cs (2)
17using var collectionWithDefaultCache = new ProjectCollection(); 25using var collectionWithSimpleCache = new ProjectCollection();
Evaluation\ToolsetConfigurationNet5_Tests.cs (1)
29using var projectCollection = new ProjectCollection();
EvaluationProfiler_Tests.cs (1)
279using (var projectCollection = new ProjectCollection())
FixPathOnUnix_Tests.cs (1)
44using var projColln = new ProjectCollection();
Instance\ProjectInstance_Internal_Tests.cs (5)
301using var projectCollection = new ProjectCollection(); 322using var collection = new ProjectCollection(); 356using var collection = new ProjectCollection(); 384using var collection = new ProjectCollection(); 859using ProjectCollection projectCollection = new ProjectCollection();
Utilities_Tests.cs (2)
315using var colletionX = new ProjectCollection(); 316using var colletionY = new ProjectCollection();
Microsoft.Build.Tasks.UnitTests (6)
AssignLinkMetadata_Tests.cs (1)
177using var collection = new ProjectCollection();
ResolveSDKReference_Tests.cs (5)
3811using ProjectCollection pc = new ProjectCollection(); 3954using ProjectCollection pc = new ProjectCollection(); 4063using ProjectCollection pc = new ProjectCollection(); 4160using ProjectCollection pc = new ProjectCollection(); 4329using ProjectCollection pc = new ProjectCollection();
Microsoft.Build.UnitTests.Shared (9)
EngineTestEnvironment.cs (2)
217using (ProjectCollection projectCollection = new ProjectCollection()) 278Collection = new ProjectCollection();
MockEngine.cs (1)
40private readonly ProjectCollection _projectCollection = new ProjectCollection();
ObjectModelHelpers.cs (6)
142using (var collection = new ProjectCollection()) 670collection ?? new ProjectCollection(), 694return CreateInMemoryProject(new ProjectCollection(), xml, loggers); 775using ProjectCollection collection = new(); 803using ProjectCollection collection = new(); 986ProjectCollection projectCollection = new ProjectCollection();
Microsoft.Build.Utilities.UnitTests (4)
MuxLogger_Tests.cs (2)
95using ProjectCollection projectCollection = new ProjectCollection(); 105using var collection = new ProjectCollection();
ToolLocationHelper_Tests.cs (2)
3584using ProjectCollection pc = new ProjectCollection(); 3656using ProjectCollection pc = new ProjectCollection();
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
91var proj = Project.FromFile(VersionsPropsPath, new Build.Definition.ProjectOptions() { ProjectCollection = new ProjectCollection() });
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
75_privateCollection = new ProjectCollection();