193 references to ProjectCollection
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
996new ProjectCollection(),
Microsoft.Build.Engine.OM.UnitTests (79)
Construction\ProjectRootElement_Tests.cs (7)
523using ProjectCollection projectCollection = new ProjectCollection(); 1028using var collection = new ProjectCollection(); 1099using var collection = new ProjectCollection(); 1287using (var projectCollection = new ProjectCollection()) 1915using var collection = new ProjectCollection(); 1931using var projectCollection = new ProjectCollection(); 1949using var collection = new ProjectCollection();
Construction\ProjectTargetElement_Tests.cs (1)
356using 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)
831using ProjectCollection projectCollection = new ProjectCollection(); 959options.ProjectCollection = new ProjectCollection(); 1150using (var projectCollection = new ProjectCollection()) 1170using (var projectCollection = new ProjectCollection()) 3745using (var projectCollection = new ProjectCollection())
Instance\ProjectInstance_Tests.cs (3)
417using var pc = new ProjectCollection(); 453using var pc = new ProjectCollection(); 495using var pc = new ProjectCollection();
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
157this.Collection = new ProjectCollection();
Microsoft.Build.Engine.UnitTests (92)
BackEnd\BuildManager_Logging_Tests.cs (1)
75_projectCollection = new ProjectCollection();
BackEnd\BuildManager_Tests.cs (5)
343using var projectCollection = new ProjectCollection(); 895using var projectCollection = new ProjectCollection(); 2040using var projectCollection2 = new ProjectCollection(); 2099using var projectCollection = new ProjectCollection(); 3688using (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)
855using ProjectCollection collection = new ProjectCollection();
BackEnd\TaskBuilder_Tests.cs (1)
146ProjectCollection collection = new ProjectCollection();
BinaryLogger_Tests.cs (2)
121using (ProjectCollection collection = new()) 217using (ProjectCollection collection = new())
ChangeWaves_Tests.cs (1)
60using ProjectCollection collection = new ProjectCollection();
Construction\SolutionProjectGenerator_Tests.cs (2)
2013using ProjectCollection collection = new ProjectCollection(); 2376using ProjectCollection collection = new ProjectCollection();
Definition\Project_Internal_Tests.cs (1)
41using ProjectCollection collection = new ProjectCollection();
Definition\Toolset_Tests.cs (8)
26Toolset t = new Toolset(null, "x", new ProjectCollection(), null); 35Toolset t = new Toolset("x", null, new ProjectCollection(), null); 44Toolset t = new Toolset(String.Empty, "x", new ProjectCollection(), null); 82using var collection = new ProjectCollection(); 196using ProjectCollection projectCollection = new ProjectCollection(); 230using ProjectCollection projectCollection = new ProjectCollection(); 286using ProjectCollection projectCollection = new ProjectCollection(); 308using ProjectCollection projectCollection = new ProjectCollection();
Definition\ToolsetConfigurationReader_Tests.cs (1)
664using var collection = new ProjectCollection();
Definition\ToolsVersion_Tests.cs (27)
32using ProjectCollection e = new ProjectCollection(); 35using var collection = new ProjectCollection(); 77using ProjectCollection e = new ProjectCollection(); 78using var collection = new ProjectCollection(); 97using ProjectCollection e = new ProjectCollection(); 98using var collection = new ProjectCollection(); 116using ProjectCollection e = new ProjectCollection(); 117using var collection = new ProjectCollection(); 136using ProjectCollection e = new ProjectCollection(); 137using var collection = new ProjectCollection(); 156using var collection = new ProjectCollection(); 189using ProjectCollection p = new ProjectCollection(); 195using var colleciton = new ProjectCollection(); 214using ProjectCollection p = new ProjectCollection(); 235using ProjectCollection p = new ProjectCollection(); 301using ProjectCollection p = new ProjectCollection(); 338using ProjectCollection p = new ProjectCollection(); 374using ProjectCollection p = new ProjectCollection(); 404ProjectCollection p = new ProjectCollection(); 436using ProjectCollection p = new ProjectCollection(); 543using ProjectCollection p = new ProjectCollection(); 582using ProjectCollection p = new ProjectCollection(); 623using ProjectCollection p = new ProjectCollection(); 693using ProjectCollection p = new ProjectCollection(); 779using ProjectCollection p = new ProjectCollection(); 890using ProjectCollection p = new ProjectCollection(); 923using var collection = new ProjectCollection();
EscapingInProjects_Tests.cs (1)
649using var collection = new ProjectCollection();
Evaluation\Evaluator_Tests.cs (23)
549using ProjectCollection pc = new ProjectCollection(); 592using ProjectCollection pc = new ProjectCollection(); 637using ProjectCollection pc = new ProjectCollection(); 680using ProjectCollection pc = new ProjectCollection(); 726using ProjectCollection pc = new ProjectCollection(); 770using ProjectCollection pc = new ProjectCollection(); 816using ProjectCollection pc = new ProjectCollection(); 955using ProjectCollection pc = new ProjectCollection(); 1040using ProjectCollection pc = new ProjectCollection(); 1102ProjectCollection pc = new ProjectCollection(); 2476using var collection = new ProjectCollection(); 2510using var collection = new ProjectCollection(); 2528using var collection = new ProjectCollection(); 2586using var collection = new ProjectCollection(); 2605using var collection = new ProjectCollection(); 2661using var collection = new ProjectCollection(); 2680using var collection = new ProjectCollection(); 2718using var collection = new ProjectCollection(); 2737using var collection = new ProjectCollection(); 3135using var collection = new ProjectCollection(); 4368using var collection = new ProjectCollection(); 5058using ProjectCollection pc = new ProjectCollection(); 5099using ProjectCollection pc = new();
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (2)
27using var collection = new ProjectCollection(); 1057using var xmlReader = new ProjectCollection();
Evaluation\ProjectCollection_Tests.cs (2)
17using var collectionWithDefaultCache = new ProjectCollection(); 25using var collectionWithSimpleCache = new ProjectCollection();
Evaluation\ToolsetConfigurationNet5_Tests.cs (1)
28using var projectCollection = new ProjectCollection();
EvaluationProfiler_Tests.cs (1)
278using (var projectCollection = new ProjectCollection())
FixPathOnUnix_Tests.cs (1)
43using var projColln = new ProjectCollection();
Instance\ProjectInstance_Internal_Tests.cs (5)
300using var projectCollection = new ProjectCollection(); 321using var collection = new ProjectCollection(); 355using var collection = new ProjectCollection(); 383using var collection = new ProjectCollection(); 858using 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)
176using var collection = new ProjectCollection();
ResolveSDKReference_Tests.cs (5)
3810using ProjectCollection pc = new ProjectCollection(); 3953using ProjectCollection pc = new ProjectCollection(); 4062using ProjectCollection pc = new ProjectCollection(); 4159using ProjectCollection pc = new ProjectCollection(); 4328using 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)
140using (var collection = new ProjectCollection()) 668collection ?? new ProjectCollection(), 692return CreateInMemoryProject(new ProjectCollection(), xml, loggers); 773using ProjectCollection collection = new(); 801using ProjectCollection collection = new(); 984ProjectCollection projectCollection = new ProjectCollection();
Microsoft.Build.Utilities.UnitTests (4)
MuxLogger_Tests.cs (2)
93using ProjectCollection projectCollection = new ProjectCollection(); 103using var collection = new ProjectCollection();
ToolLocationHelper_Tests.cs (2)
3583using ProjectCollection pc = new ProjectCollection(); 3655using 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();