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