195 references to ProjectCollection
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
996new ProjectCollection(),
Microsoft.Build.Engine.OM.UnitTests (80)
Construction\ProjectRootElement_Tests.cs (7)
524using ProjectCollection projectCollection = new ProjectCollection(); 1029using var collection = new ProjectCollection(); 1100using var collection = new ProjectCollection(); 1288using (var projectCollection = new ProjectCollection()) 1916using var collection = new ProjectCollection(); 1932using var projectCollection = new ProjectCollection(); 1950using var collection = new ProjectCollection();
Construction\ProjectTargetElement_Tests.cs (1)
356using ProjectCollection collection = new ProjectCollection();
Definition\Project_Tests.cs (28)
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(); 4306using ProjectCollection collection = new();
Definition\ProjectCollection_Tests.cs (35)
125using ProjectCollection collection = new ProjectCollection(); 167using var collection = new ProjectCollection(); 198using ProjectCollection collection = new ProjectCollection(); 229using ProjectCollection collection = new ProjectCollection(); 252using var collection = new ProjectCollection(); 268using var collection = new ProjectCollection(); 282using var collection = new ProjectCollection(); 326using var collection = new ProjectCollection(); 347using ProjectCollection collection1 = new ProjectCollection(); 353using ProjectCollection collection2 = new ProjectCollection(); 569using ProjectCollection collection = new ProjectCollection(); 586using var collection = new ProjectCollection(); 613using var collection = new ProjectCollection(); 635using var collection = new ProjectCollection(); 680using var collection = new ProjectCollection(); 839using ProjectCollection collection = new ProjectCollection(); 879using var collection = new ProjectCollection(); 922using var collection = new ProjectCollection(); 952using var collection = new ProjectCollection(); 972using var collection = new ProjectCollection(); 996using var collection = new ProjectCollection(); 1030using var collection = new ProjectCollection(); 1052using var collection = new ProjectCollection(); 1092using var collection = new ProjectCollection(); 1146using var collection = new ProjectCollection(); 1175using var collection = new ProjectCollection(); 1267using var collection = new ProjectCollection(); 1276using var collection2 = new ProjectCollection(); 1285using var collection3 = new ProjectCollection(); 1294using var collection4 = new ProjectCollection(); 1303using var collection5 = new ProjectCollection(); 1313using var collection6 = new ProjectCollection(); 1321using var collection7 = new ProjectCollection(); 1333using var collection = new ProjectCollection(); 1392using 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 (93)
BackEnd\BuildManager_Logging_Tests.cs (1)
73_projectCollection = new ProjectCollection();
BackEnd\BuildManager_Tests.cs (5)
344using var projectCollection = new ProjectCollection(); 896using var projectCollection = new ProjectCollection(); 2042using var projectCollection2 = new ProjectCollection(); 2101using var projectCollection = new ProjectCollection(); 3733using (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\ProjectTelemetry_Tests.cs (1)
173using var projectCollection = new ProjectCollection();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
52_projectCollection = new ProjectCollection();
BackEnd\TargetEntry_Tests.cs (1)
752using ProjectCollection collection = new ProjectCollection();
BackEnd\TaskBuilder_Tests.cs (1)
134ProjectCollection collection = new ProjectCollection();
BinaryLogger_Tests.cs (2)
117using (ProjectCollection collection = new()) 204using (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(); 192using ProjectCollection projectCollection = new ProjectCollection(); 220using ProjectCollection projectCollection = new ProjectCollection(); 270using ProjectCollection projectCollection = new ProjectCollection(); 292using 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)
648using 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(); 4356using var collection = new ProjectCollection(); 5046using ProjectCollection pc = new ProjectCollection(); 5087using 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)
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)
304using var colletionX = new ProjectCollection(); 305using 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)
208using (ProjectCollection projectCollection = new ProjectCollection()) 269Collection = 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)
3578using ProjectCollection pc = new ProjectCollection(); 3650using 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();