48 references to new
Microsoft.Build.Engine.OM.UnitTests (2)
Definition\ProjectCollection_Tests.cs (1)
1158using ProjectFromString projectFromString = new(content, null, null, collection);
Instance\ProjectInstance_Tests.cs (1)
1028using ProjectFromString projectFromString = new(content, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, ProjectCollection.GlobalProjectCollection);
Microsoft.Build.Engine.UnitTests (42)
BackEnd\BuildManager_Tests.cs (2)
295using ProjectFromString projectFromString = new(contents1, null, null, _projectCollection); 3641using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
BackEnd\BuildRequestConfiguration_Tests.cs (6)
278using ProjectFromString projectFromString = new( 356using ProjectFromString projectFromString = new(projectBody, 461using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 589using ProjectFromString projectFromString = new( 627using ProjectFromString projectFromString = new( 659using ProjectFromString projectFromString = new(
BackEnd\TargetEntry_Tests.cs (1)
752using ProjectFromString projectFromString = new(
BackEnd\TaskBuilder_Tests.cs (1)
154using ProjectFromString projectFromString = new(contents, null, MSBuildConstants.CurrentToolsVersion, collection);
Definition\Project_Internal_Tests.cs (2)
54using ProjectFromString projectFromString = new(content, null, null, collection); 237using ProjectFromString projectFromString = new(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ToolsVersion_Tests.cs (16)
312using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 349using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 385using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 415using ProjectFromString projectFromString = new(content, null /* no global properties */, "goober", p); 447using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 518using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 555using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 593using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 634using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 668using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 705using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 746using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 790using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 824using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 860using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 901using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
Evaluation\Evaluator_Tests.cs (12)
956using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1041using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 2895using ProjectFromString projectFromString = new(content, new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 3136using ProjectFromString projectFromString = new(content, globalProperties, null, collection); 3886using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 3941using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 3993using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4045using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4104using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4167using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4226using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4720using ProjectFromString projectFromString = new(content, globalProperties, null, collection);
EvaluationProfiler_Tests.cs (1)
302using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
Instance\ProjectInstance_Internal_Tests.cs (1)
966using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (1)
1372using ProjectFromString projectFromString = new(content, globalProperties, null, projectCollection);
ProjectFromString.cs (1)
27: this(s, globalProperties, toolsVersion, ProjectCollection.GlobalProjectCollection)
Microsoft.Build.Utilities.UnitTests (2)
MuxLogger_Tests.cs (2)
94using ProjectFromString projectFromString = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection); 104using ProjectFromString projectFromString1 = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);