202 references to ProjectCollection
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
1043new 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)
135using ProjectCollection collection = new ProjectCollection(); 163using ProjectCollection collection = new ProjectCollection(); 278Project project = (new ProjectCollection()).LoadProject(reader); 371using var collection = new ProjectCollection(); 388Project project = new Project(xml, null, null, new ProjectCollection(), ProjectLoadSettings.IgnoreMissingImports); 403using ProjectCollection collection = new ProjectCollection(); 433using ProjectCollection collection = new ProjectCollection(); 469using ProjectCollection collection = new ProjectCollection(); 506using ProjectCollection collection = new ProjectCollection(); 1231using var collection = new ProjectCollection(); 1261using var collection = new ProjectCollection(); 1289using var collection = new ProjectCollection(); 1443using (var projectCollection = new ProjectCollection()) 1508using (var projectCollection = new ProjectCollection()) 1594using (var projectCollection = new ProjectCollection()) 2422Project project = new Project(globalProperties, null, new ProjectCollection()); 3571using (var projectCollection = new ProjectCollection()) 3841using (var projectCollection = new ProjectCollection()) 3893using (ProjectCollection collection = new ProjectCollection()) 3942using (ProjectCollection collection = new ProjectCollection()) 3986using (ProjectCollection collection = new ProjectCollection()) 4033using (ProjectCollection collection = new ProjectCollection()) 4073using (ProjectCollection collection = new ProjectCollection()) 4116using (ProjectCollection collection = new ProjectCollection()) 4159using (ProjectCollection collection = new ProjectCollection()) 4197using (ProjectCollection collection = new ProjectCollection()) 4262using ProjectCollection collection = new ProjectCollection(); 4305using ProjectCollection collection = new();
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)
416using var pc = new ProjectCollection(); 452using var pc = new ProjectCollection(); 494using var pc = new ProjectCollection();
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
157this.Collection = new ProjectCollection();
Microsoft.Build.Engine.UnitTests (97)
BackEnd\BuildManager_Logging_Tests.cs (1)
72_projectCollection = new ProjectCollection();
BackEnd\BuildManager_Tests.cs (5)
343using var projectCollection = new ProjectCollection(); 895using var projectCollection = new ProjectCollection(); 2041using var projectCollection2 = new ProjectCollection(); 2100using var projectCollection = new ProjectCollection(); 3732using (var collection = new ProjectCollection())
BackEnd\BuildRequestConfiguration_Tests.cs (6)
277using var collection = new ProjectCollection(); 355using var collection = new ProjectCollection(); 460using var collection = new ProjectCollection(); 588using var collection = new ProjectCollection(); 626using var collection = new ProjectCollection(); 658using var collection = new ProjectCollection();
BackEnd\MSBuild_Tests.cs (1)
2017using var collection = new ProjectCollection();
BackEnd\ProjectTelemetry_Tests.cs (1)
173using var projectCollection = new ProjectCollection();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
51_projectCollection = new ProjectCollection();
BackEnd\TargetEntry_Tests.cs (1)
751using ProjectCollection collection = new ProjectCollection();
BackEnd\TaskBuilder_Tests.cs (1)
133ProjectCollection collection = new ProjectCollection();
BinaryLogger_Tests.cs (2)
127using (ProjectCollection collection = new()) 214using (ProjectCollection collection = new())
ChangeWaves_Tests.cs (1)
59using ProjectCollection collection = new ProjectCollection();
Construction\SolutionProjectGenerator_Tests.cs (2)
2012using ProjectCollection collection = new ProjectCollection(); 2375using 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)
647using 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)
277using (var projectCollection = new ProjectCollection())
FixPathOnUnix_Tests.cs (1)
43using var projColln = new ProjectCollection();
Instance\ProjectInstance_Internal_Tests.cs (5)
299using var projectCollection = new ProjectCollection(); 320using var collection = new ProjectCollection(); 354using var collection = new ProjectCollection(); 382using var collection = new ProjectCollection(); 857using ProjectCollection projectCollection = new ProjectCollection();
Utilities_Tests.cs (2)
303using var colletionX = new ProjectCollection(); 304using 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)
139using (var collection = new ProjectCollection()) 667collection ?? new ProjectCollection(), 691return CreateInMemoryProject(new ProjectCollection(), xml, loggers); 772using ProjectCollection collection = new(); 800using ProjectCollection collection = new(); 983ProjectCollection 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)
3577using ProjectCollection pc = new ProjectCollection(); 3649using ProjectCollection pc = new ProjectCollection();
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
86var proj = Project.FromFile(VersionsPropsPath, new Build.Definition.ProjectOptions() { ProjectCollection = new ProjectCollection() });
MSBuild.Benchmarks (3)
DefiningProjectModifiersBenchmark.cs (2)
47using (var pc = new ProjectCollection()) 65using (var pc = new ProjectCollection())
ItemSpecModifiersCachingBenchmark.cs (1)
47using var projectCollection = new ProjectCollection();
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
75_privateCollection = new ProjectCollection();