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)
1029
using ProjectFromString projectFromString =
new
(content, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, ProjectCollection.GlobalProjectCollection);
Microsoft.Build.Engine.UnitTests (32)
BackEnd\BuildManager_Tests.cs (1)
3597
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)
856
using ProjectFromString projectFromString =
new
(
BackEnd\TaskBuilder_Tests.cs (1)
167
using ProjectFromString projectFromString =
new
(contents, null, MSBuildConstants.CurrentToolsVersion, collection);
Definition\Project_Internal_Tests.cs (2)
54
using ProjectFromString projectFromString =
new
(content, null, null, collection);
237
using ProjectFromString projectFromString =
new
(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ToolsVersion_Tests.cs (11)
311
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
348
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
384
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
414
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, "goober", p);
446
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
554
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
592
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
633
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
704
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
789
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
900
using ProjectFromString projectFromString =
new
(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
Evaluation\Evaluator_Tests.cs (11)
956
using ProjectFromString projectFromString =
new
(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports);
1041
using ProjectFromString projectFromString =
new
(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports);
3136
using ProjectFromString projectFromString =
new
(content, globalProperties, null, collection);
3887
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
3953
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4005
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4057
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4116
using ProjectFromString projectFromString =
new
(content, null, "Fake", fakeProjectCollection);
4179
using ProjectFromString projectFromString =
new
(content, globalProperties, "Fake", fakeProjectCollection);
4238
using ProjectFromString projectFromString =
new
(content, globalProperties, "Fake", fakeProjectCollection);
4732
using ProjectFromString projectFromString =
new
(content, globalProperties, null, collection);
EvaluationProfiler_Tests.cs (1)
303
using ProjectFromString projectFromString =
new
(contents, null, toolsVersion, projectCollection);
Instance\ProjectInstance_Internal_Tests.cs (1)
967
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)
94
using ProjectFromString projectFromString =
new
(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection);
104
using ProjectFromString projectFromString1 =
new
(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);