202 references to ProjectCollection
Microsoft.Build (1)
Construction\Solution\SolutionProjectGenerator.cs (1)
1043
new
ProjectCollection
(),
Microsoft.Build.Engine.OM.UnitTests (80)
Construction\ProjectRootElement_Tests.cs (7)
524
using ProjectCollection projectCollection = new
ProjectCollection
();
1029
using var collection = new
ProjectCollection
();
1100
using var collection = new
ProjectCollection
();
1288
using (var projectCollection = new
ProjectCollection
())
1916
using var collection = new
ProjectCollection
();
1932
using var projectCollection = new
ProjectCollection
();
1950
using var collection = new
ProjectCollection
();
Construction\ProjectTargetElement_Tests.cs (1)
356
using ProjectCollection collection = new
ProjectCollection
();
Definition\Project_Tests.cs (28)
135
using ProjectCollection collection = new
ProjectCollection
();
163
using ProjectCollection collection = new
ProjectCollection
();
278
Project project = (new
ProjectCollection
()).LoadProject(reader);
371
using var collection = new
ProjectCollection
();
388
Project project = new Project(xml, null, null, new
ProjectCollection
(), ProjectLoadSettings.IgnoreMissingImports);
403
using ProjectCollection collection = new
ProjectCollection
();
433
using ProjectCollection collection = new
ProjectCollection
();
469
using ProjectCollection collection = new
ProjectCollection
();
506
using ProjectCollection collection = new
ProjectCollection
();
1231
using var collection = new
ProjectCollection
();
1261
using var collection = new
ProjectCollection
();
1289
using var collection = new
ProjectCollection
();
1443
using (var projectCollection = new
ProjectCollection
())
1508
using (var projectCollection = new
ProjectCollection
())
1594
using (var projectCollection = new
ProjectCollection
())
2422
Project project = new Project(globalProperties, null, new
ProjectCollection
());
3571
using (var projectCollection = new
ProjectCollection
())
3841
using (var projectCollection = new
ProjectCollection
())
3893
using (ProjectCollection collection = new
ProjectCollection
())
3942
using (ProjectCollection collection = new
ProjectCollection
())
3986
using (ProjectCollection collection = new
ProjectCollection
())
4033
using (ProjectCollection collection = new
ProjectCollection
())
4073
using (ProjectCollection collection = new
ProjectCollection
())
4116
using (ProjectCollection collection = new
ProjectCollection
())
4159
using (ProjectCollection collection = new
ProjectCollection
())
4197
using (ProjectCollection collection = new
ProjectCollection
())
4262
using ProjectCollection collection = new
ProjectCollection
();
4305
using ProjectCollection collection =
new
();
Definition\ProjectCollection_Tests.cs (35)
124
using ProjectCollection collection = new
ProjectCollection
();
166
using var collection = new
ProjectCollection
();
197
using ProjectCollection collection = new
ProjectCollection
();
228
using ProjectCollection collection = new
ProjectCollection
();
251
using var collection = new
ProjectCollection
();
267
using var collection = new
ProjectCollection
();
281
using var collection = new
ProjectCollection
();
325
using var collection = new
ProjectCollection
();
346
using ProjectCollection collection1 = new
ProjectCollection
();
352
using ProjectCollection collection2 = new
ProjectCollection
();
568
using ProjectCollection collection = new
ProjectCollection
();
585
using var collection = new
ProjectCollection
();
612
using var collection = new
ProjectCollection
();
634
using var collection = new
ProjectCollection
();
679
using var collection = new
ProjectCollection
();
838
using ProjectCollection collection = new
ProjectCollection
();
878
using var collection = new
ProjectCollection
();
921
using var collection = new
ProjectCollection
();
951
using var collection = new
ProjectCollection
();
971
using var collection = new
ProjectCollection
();
995
using var collection = new
ProjectCollection
();
1029
using var collection = new
ProjectCollection
();
1051
using var collection = new
ProjectCollection
();
1091
using var collection = new
ProjectCollection
();
1145
using var collection = new
ProjectCollection
();
1174
using var collection = new
ProjectCollection
();
1266
using var collection = new
ProjectCollection
();
1275
using var collection2 = new
ProjectCollection
();
1284
using var collection3 = new
ProjectCollection
();
1293
using var collection4 = new
ProjectCollection
();
1302
using var collection5 = new
ProjectCollection
();
1312
using var collection6 = new
ProjectCollection
();
1320
using var collection7 = new
ProjectCollection
();
1332
using var collection = new
ProjectCollection
();
1391
using var collection = new
ProjectCollection
();
Definition\ProjectItem_Tests.cs (5)
831
using ProjectCollection projectCollection = new
ProjectCollection
();
959
options.ProjectCollection = new
ProjectCollection
();
1150
using (var projectCollection = new
ProjectCollection
())
1170
using (var projectCollection = new
ProjectCollection
())
3745
using (var projectCollection = new
ProjectCollection
())
Instance\ProjectInstance_Tests.cs (3)
416
using var pc = new
ProjectCollection
();
452
using var pc = new
ProjectCollection
();
494
using var pc = new
ProjectCollection
();
ObjectModelRemoting\RemoteProjectsProviderMock\ExporterMock.cs (1)
157
this.Collection = new
ProjectCollection
();
Microsoft.Build.Engine.UnitTests (97)
BackEnd\BuildManager_Logging_Tests.cs (1)
72
_projectCollection = new
ProjectCollection
();
BackEnd\BuildManager_Tests.cs (5)
343
using var projectCollection = new
ProjectCollection
();
895
using var projectCollection = new
ProjectCollection
();
2041
using var projectCollection2 = new
ProjectCollection
();
2100
using var projectCollection = new
ProjectCollection
();
3732
using (var collection = new
ProjectCollection
())
BackEnd\BuildRequestConfiguration_Tests.cs (6)
277
using var collection = new
ProjectCollection
();
355
using var collection = new
ProjectCollection
();
460
using var collection = new
ProjectCollection
();
588
using var collection = new
ProjectCollection
();
626
using var collection = new
ProjectCollection
();
658
using var collection = new
ProjectCollection
();
BackEnd\MSBuild_Tests.cs (1)
2017
using var collection = new
ProjectCollection
();
BackEnd\ProjectTelemetry_Tests.cs (1)
173
using var projectCollection = new
ProjectCollection
();
BackEnd\SdkResultOutOfProc_Tests.cs (1)
51
_projectCollection = new
ProjectCollection
();
BackEnd\TargetEntry_Tests.cs (1)
751
using ProjectCollection collection = new
ProjectCollection
();
BackEnd\TaskBuilder_Tests.cs (1)
133
ProjectCollection collection = new
ProjectCollection
();
BinaryLogger_Tests.cs (2)
127
using (ProjectCollection collection =
new
())
214
using (ProjectCollection collection =
new
())
ChangeWaves_Tests.cs (1)
59
using ProjectCollection collection = new
ProjectCollection
();
Construction\SolutionProjectGenerator_Tests.cs (2)
2012
using ProjectCollection collection = new
ProjectCollection
();
2375
using ProjectCollection collection = new
ProjectCollection
();
Definition\Project_Internal_Tests.cs (1)
41
using ProjectCollection collection = new
ProjectCollection
();
Definition\Toolset_Tests.cs (8)
26
Toolset t = new Toolset(null, "x", new
ProjectCollection
(), null);
35
Toolset t = new Toolset("x", null, new
ProjectCollection
(), null);
44
Toolset t = new Toolset(String.Empty, "x", new
ProjectCollection
(), null);
82
using var collection = new
ProjectCollection
();
192
using ProjectCollection projectCollection = new
ProjectCollection
();
220
using ProjectCollection projectCollection = new
ProjectCollection
();
270
using ProjectCollection projectCollection = new
ProjectCollection
();
292
using ProjectCollection projectCollection = new
ProjectCollection
();
Definition\ToolsetConfigurationReader_Tests.cs (1)
664
using var collection = new
ProjectCollection
();
Definition\ToolsVersion_Tests.cs (27)
32
using ProjectCollection e = new
ProjectCollection
();
35
using var collection = new
ProjectCollection
();
77
using ProjectCollection e = new
ProjectCollection
();
78
using var collection = new
ProjectCollection
();
97
using ProjectCollection e = new
ProjectCollection
();
98
using var collection = new
ProjectCollection
();
116
using ProjectCollection e = new
ProjectCollection
();
117
using var collection = new
ProjectCollection
();
136
using ProjectCollection e = new
ProjectCollection
();
137
using var collection = new
ProjectCollection
();
156
using var collection = new
ProjectCollection
();
189
using ProjectCollection p = new
ProjectCollection
();
195
using var colleciton = new
ProjectCollection
();
214
using ProjectCollection p = new
ProjectCollection
();
235
using ProjectCollection p = new
ProjectCollection
();
301
using ProjectCollection p = new
ProjectCollection
();
338
using ProjectCollection p = new
ProjectCollection
();
374
using ProjectCollection p = new
ProjectCollection
();
404
ProjectCollection p = new
ProjectCollection
();
436
using ProjectCollection p = new
ProjectCollection
();
543
using ProjectCollection p = new
ProjectCollection
();
582
using ProjectCollection p = new
ProjectCollection
();
623
using ProjectCollection p = new
ProjectCollection
();
693
using ProjectCollection p = new
ProjectCollection
();
779
using ProjectCollection p = new
ProjectCollection
();
890
using ProjectCollection p = new
ProjectCollection
();
923
using var collection = new
ProjectCollection
();
EscapingInProjects_Tests.cs (1)
647
using var collection = new
ProjectCollection
();
Evaluation\Evaluator_Tests.cs (23)
549
using ProjectCollection pc = new
ProjectCollection
();
592
using ProjectCollection pc = new
ProjectCollection
();
637
using ProjectCollection pc = new
ProjectCollection
();
680
using ProjectCollection pc = new
ProjectCollection
();
726
using ProjectCollection pc = new
ProjectCollection
();
770
using ProjectCollection pc = new
ProjectCollection
();
816
using ProjectCollection pc = new
ProjectCollection
();
955
using ProjectCollection pc = new
ProjectCollection
();
1040
using ProjectCollection pc = new
ProjectCollection
();
1102
ProjectCollection pc = new
ProjectCollection
();
2476
using var collection = new
ProjectCollection
();
2510
using var collection = new
ProjectCollection
();
2528
using var collection = new
ProjectCollection
();
2586
using var collection = new
ProjectCollection
();
2605
using var collection = new
ProjectCollection
();
2661
using var collection = new
ProjectCollection
();
2680
using var collection = new
ProjectCollection
();
2718
using var collection = new
ProjectCollection
();
2737
using var collection = new
ProjectCollection
();
3135
using var collection = new
ProjectCollection
();
4356
using var collection = new
ProjectCollection
();
5046
using ProjectCollection pc = new
ProjectCollection
();
5087
using ProjectCollection pc =
new
();
Evaluation\ImportFromMSBuildExtensionsPath_Tests.cs (2)
28
using var collection = new
ProjectCollection
();
1058
using var xmlReader = new
ProjectCollection
();
Evaluation\ProjectCollection_Tests.cs (2)
17
using var collectionWithDefaultCache = new
ProjectCollection
();
25
using var collectionWithSimpleCache = new
ProjectCollection
();
Evaluation\ToolsetConfigurationNet5_Tests.cs (1)
28
using var projectCollection = new
ProjectCollection
();
EvaluationProfiler_Tests.cs (1)
277
using (var projectCollection = new
ProjectCollection
())
FixPathOnUnix_Tests.cs (1)
43
using var projColln = new
ProjectCollection
();
Instance\ProjectInstance_Internal_Tests.cs (5)
299
using var projectCollection = new
ProjectCollection
();
320
using var collection = new
ProjectCollection
();
354
using var collection = new
ProjectCollection
();
382
using var collection = new
ProjectCollection
();
857
using ProjectCollection projectCollection = new
ProjectCollection
();
Utilities_Tests.cs (2)
303
using var colletionX = new
ProjectCollection
();
304
using var colletionY = new
ProjectCollection
();
Microsoft.Build.Tasks.UnitTests (6)
AssignLinkMetadata_Tests.cs (1)
176
using var collection = new
ProjectCollection
();
ResolveSDKReference_Tests.cs (5)
3810
using ProjectCollection pc = new
ProjectCollection
();
3953
using ProjectCollection pc = new
ProjectCollection
();
4062
using ProjectCollection pc = new
ProjectCollection
();
4159
using ProjectCollection pc = new
ProjectCollection
();
4328
using ProjectCollection pc = new
ProjectCollection
();
Microsoft.Build.UnitTests.Shared (9)
EngineTestEnvironment.cs (2)
208
using (ProjectCollection projectCollection = new
ProjectCollection
())
269
Collection = new
ProjectCollection
();
MockEngine.cs (1)
40
private readonly ProjectCollection _projectCollection = new
ProjectCollection
();
ObjectModelHelpers.cs (6)
139
using (var collection = new
ProjectCollection
())
667
collection ?? new
ProjectCollection
(),
691
return CreateInMemoryProject(new
ProjectCollection
(), xml, loggers);
772
using ProjectCollection collection =
new
();
800
using ProjectCollection collection =
new
();
983
ProjectCollection projectCollection = new
ProjectCollection
();
Microsoft.Build.Utilities.UnitTests (4)
MuxLogger_Tests.cs (2)
93
using ProjectCollection projectCollection = new
ProjectCollection
();
103
using var collection = new
ProjectCollection
();
ToolLocationHelper_Tests.cs (2)
3577
using ProjectCollection pc = new
ProjectCollection
();
3649
using ProjectCollection pc = new
ProjectCollection
();
Microsoft.DotNet.Arcade.Sdk (1)
src\InstallDotNetCore.cs (1)
86
var proj = Project.FromFile(VersionsPropsPath, new Build.Definition.ProjectOptions() { ProjectCollection = new
ProjectCollection
() });
MSBuild.Benchmarks (3)
DefiningProjectModifiersBenchmark.cs (2)
47
using (var pc = new
ProjectCollection
())
65
using (var pc = new
ProjectCollection
())
ItemSpecModifiersCachingBenchmark.cs (1)
47
using var projectCollection = new
ProjectCollection
();
TaskUsageLogger (1)
TaskUsageLogger.cs (1)
75
_privateCollection = new
ProjectCollection
();