37 references to new
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectCollection_Tests.cs (1)
1158
using ProjectFromString projectFromString =
new
(content, null, null, collection);
Instance\ProjectInstance_Tests.cs (1)
1030
using ProjectFromString projectFromString =
new
(content, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, ProjectCollection.GlobalProjectCollection);
Microsoft.Build.Engine.UnitTests (32)
BackEnd\BuildManager_Tests.cs (1)
3598
using ProjectFromString projectFromString =
new
(contents, null, toolsVersion, projectCollection);
BackEnd\BuildRequestConfiguration_Tests.cs (3)
279
using ProjectFromString projectFromString =
new
(
357
using ProjectFromString projectFromString =
new
(projectBody,
462
using ProjectFromString projectFromString =
new
(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);
BackEnd\TargetEntry_Tests.cs (1)
857
using ProjectFromString projectFromString =
new
(
BackEnd\TaskBuilder_Tests.cs (1)
168
using ProjectFromString projectFromString =
new
(contents, null, MSBuildConstants.CurrentToolsVersion, collection);
Definition\Project_Internal_Tests.cs (2)
55
using ProjectFromString projectFromString =
new
(content, null, null, collection);
238
using ProjectFromString projectFromString =
new
(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ToolsVersion_Tests.cs (11)
313
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
350
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
386
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
416
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, "goober", p);
448
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
556
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
594
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
635
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
706
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
791
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
902
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
Evaluation\Evaluator_Tests.cs (11)
921
using ProjectFromString projectFromString =
new
(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports);
1006
using ProjectFromString projectFromString =
new
(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports);
3101
using ProjectFromString projectFromString =
new
(content, globalProperties, null, collection);
3852
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
3918
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
3970
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4022
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4081
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4144
using ProjectFromString projectFromString =
new
(content, globalProperties, "Fake", fakeProjectCollection);
4203
using ProjectFromString projectFromString =
new
(content, globalProperties, "Fake", fakeProjectCollection);
4697
using ProjectFromString projectFromString =
new
(content, globalProperties, null, collection);
EvaluationProfiler_Tests.cs (1)
304
using ProjectFromString projectFromString =
new
(contents, null, toolsVersion, projectCollection);
Instance\ProjectInstance_Internal_Tests.cs (1)
968
using ProjectFromString projectFromString =
new
(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (1)
ProjectFromString.cs (1)
27
:
this
(s, globalProperties, toolsVersion, ProjectCollection.GlobalProjectCollection)
Microsoft.Build.Utilities.UnitTests (2)
MuxLogger_Tests.cs (2)
96
using ProjectFromString projectFromString =
new
(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection);
106
using ProjectFromString projectFromString1 =
new
(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);