338 instantiations of ProjectFromString
Microsoft.Build.Engine.OM.UnitTests (61)
Construction\ConstructionEditing_Tests.cs (2)
2323using ProjectFromString projectFromString = new(projectFileContents); 2351using ProjectFromString projectFromString = new(content);
Construction\ProjectChooseElement_Tests.cs (1)
274using ProjectFromString projectFromString = new(content);
Construction\ProjectImportElement_Tests.cs (2)
178using ProjectFromString projectFromString = new(content); 217using ProjectFromString projectFromString = new(content);
Construction\ProjectItemDefinitionElement_Tests.cs (1)
87using ProjectFromString projectFromString = new(content);
Definition\DefinitionEditing_Tests.cs (7)
719using ProjectFromString projectFromString = new(content); 759using ProjectFromString projectFromString = new(content); 999using ProjectFromString projectFromString = new(content); 1334using ProjectFromString projectFromString = new(content); 1434using ProjectFromString projectFromString = new(content); 2008using ProjectFromString projectFromString = new(content); 2591using ProjectFromString projectFromString = new(projectContents);
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
343using ProjectFromString projectFromString = new(contents);
Definition\Project_Tests.cs (15)
1854using ProjectFromString projectFromString = new(content); 1890using ProjectFromString projectFromString = new(content); 1926using ProjectFromString projectFromString = new(content); 1975using ProjectFromString projectFromString = new(content); 2009using ProjectFromString projectFromString = new(content); 2042using ProjectFromString projectFromString = new(content); 2105using ProjectFromString projectFromString = new(projectContent); 2182using ProjectFromString projectFromString = new(contents); 2219using ProjectFromString projectFromString = new(projectOriginalContents); 2242using ProjectFromString projectFromString = new(projectOriginalContents); 2265using ProjectFromString projectFromString = new(projectOriginalContents); 2289using ProjectFromString projectFromString = new(projectOriginalContents); 2314using ProjectFromString projectFromString = new(projectOriginalContents); 2349using ProjectFromString projectFromString = new(projectOriginalContents); 2402using ProjectFromString projectFromString = new(projectOriginalContents);
Definition\ProjectCollection_Tests.cs (3)
530using ProjectFromString projectFromString = new(content); 552using ProjectFromString projectFromString = new(content); 1158using ProjectFromString projectFromString = new(content, null, null, collection);
Definition\ProjectItem_Tests.cs (6)
161using ProjectFromString projectFromString = new(content); 1196using ProjectFromString projectFromString = new(content); 1239using ProjectFromString projectFromString = new(content); 1290using ProjectFromString projectFromString = new(content); 1360using ProjectFromString projectFromString = new(content); 1458using ProjectFromString projectFromString = new(content);
Definition\ProjectItemDefinition_Tests.cs (10)
214using ProjectFromString projectFromString = new(content); 245using ProjectFromString projectFromString = new(content); 272using ProjectFromString projectFromString = new(content); 299using ProjectFromString projectFromString = new(content); 330using ProjectFromString projectFromString = new(content); 358using ProjectFromString projectFromString = new(content); 388using ProjectFromString projectFromString = new(content); 416using ProjectFromString projectFromString = new(content); 451using ProjectFromString projectFromString = new(content); 658using ProjectFromString projectFromString = new(content);
Definition\ProjectMetadata_Tests.cs (11)
159using ProjectFromString projectFromString = new(content); 186using ProjectFromString projectFromString = new(content); 212using ProjectFromString projectFromString = new(content); 239using ProjectFromString projectFromString = new(content); 271using ProjectFromString projectFromString = new(content); 303using ProjectFromString projectFromString = new(content); 335using ProjectFromString projectFromString = new(content); 366using ProjectFromString projectFromString = new(content); 395using ProjectFromString projectFromString = new(content); 429using ProjectFromString projectFromString = new(content); 492using ProjectFromString projectFromString = new(projectString);
Definition\ProtectImports_Tests.cs (1)
606using ProjectFromString projectFromString = new(projectContents);
Instance\ProjectInstance_Tests.cs (1)
1030using ProjectFromString projectFromString = new(content, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, ProjectCollection.GlobalProjectCollection);
Microsoft.Build.Engine.UnitTests (267)
BackEnd\BatchingEngine_Tests.cs (2)
487using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(content)); 521using ProjectFromString projectFromString = new(content);
BackEnd\BuildManager_Tests.cs (1)
3598using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
BackEnd\BuildRequestConfiguration_Tests.cs (4)
185using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@"<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace' />")); 279using ProjectFromString projectFromString = new( 357using ProjectFromString projectFromString = new(projectBody, 462using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);
BackEnd\BuildRequestEngine_Tests.cs (1)
246using ProjectFromString projectFromString = new(content);
BackEnd\ConfigurationMetadata_Tests.cs (1)
153using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion);
BackEnd\IntrinsicTask_Tests.cs (60)
189using ProjectFromString projectFromString = new(content); 206using ProjectFromString projectFromString1 = new(content); 226using ProjectFromString projectFromString = new(content); 913using ProjectFromString projectFromString = new(content); 930using ProjectFromString projectFromString1 = new(content); 952using ProjectFromString projectFromString = new(content); 1084using ProjectFromString projectFromString = new(content); 1168using ProjectFromString projectFromString = new(content); 1211using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1234using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1260using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1298using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1328using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1348using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1370using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1390using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1412using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1437using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1469using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1511using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1558using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1660using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2284using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2317using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2350using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2388using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2428using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2463using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2493using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2553using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2578using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2609using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2651using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2696using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2740using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2785using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2864using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2922using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3128using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3179using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3220using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3275using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3302using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3350using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3393using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3432using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3463using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3495using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3559using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3594using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3623using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3654using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3681using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3710using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3739using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3768using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3805using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3834using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3864using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3952using ProjectFromString projectFromString = new(content);
BackEnd\OnError_Tests.cs (20)
36using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 146using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 191using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 223using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 257using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 290using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 322using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 347using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 375using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 403using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 436using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 478using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 503using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 533using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 611using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.Nowhere)); 633using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.Compile)); 656using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.GenerateSatellites)); 679using ProjectFromString projectFromString = new(PostBuildBuilder("Always", FailAt.Compile)); 702using ProjectFromString projectFromString = new(PostBuildBuilder("Final_Output_Changed", FailAt.Compile)); 725using ProjectFromString projectFromString = new(PostBuildBuilder("Final_Output_Changed", FailAt.GenerateSatellites));
BackEnd\Scheduler_Tests.cs (1)
713using ProjectFromString projectFromString = new(contents);
BackEnd\TargetBuilder_Tests.cs (4)
327using ProjectFromString projectFromString = new(content); 1347using ProjectFromString projectFromString = new(projectContents, null, null); 1374using ProjectFromString projectFromString = new(projectContents, null, null); 1677using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetEntry_Tests.cs (2)
857using ProjectFromString projectFromString = new( 1181using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetUpToDateChecker_Tests.cs (10)
59using ProjectFromString projectFromString = new(content); 90using ProjectFromString projectFromString = new(content); 120using ProjectFromString projectFromString = new(content); 145using ProjectFromString projectFromString1 = new(content); 319using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 348using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 377using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 407using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 442using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 520using ProjectFromString projectFromString = new(content);
BackEnd\TaskBuilder_Tests.cs (13)
79using ProjectFromString projectFromString = new(projectFileContents); 132using ProjectFromString projectFromString = new(projectFileContents); 168using ProjectFromString projectFromString = new(contents, null, MSBuildConstants.CurrentToolsVersion, collection); 238using ProjectFromString projectFromString = new(projectFileContents); 291using ProjectFromString projectFromString = new(projectFileContents); 362using ProjectFromString projectFromString = new(projectFileContents); 412using ProjectFromString projectFromString = new(projectFileContents); 450using ProjectFromString projectFromString = new(projectFileContents); 478using ProjectFromString projectFromString = new(projectFileContents); 502using ProjectFromString projectFromString = new(projectFileContents); 533using ProjectFromString projectFromString = new(projectFileContents); 564using ProjectFromString projectFromString = new(projectFileContents); 1243using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TaskExecutionHost_Tests.cs (1)
1563using ProjectFromString projectFromString = new(projectFileContents);
Definition\ItemDefinitionGroup_Tests.cs (49)
33using ProjectFromString projectFromString = new( 55using ProjectFromString projectFromString = new( 85using ProjectFromString projectFromString = new( 119using ProjectFromString projectFromString = new( 249using ProjectFromString projectFromString = new( 288using ProjectFromString projectFromString = new( 306using ProjectFromString projectFromString = new( 328using ProjectFromString projectFromString = new(@" 358using ProjectFromString projectFromString = new(@" 387using ProjectFromString projectFromString = new(@" 421using ProjectFromString projectFromString = new( 448using ProjectFromString projectFromString = new( 475using ProjectFromString projectFromString = new( 502using ProjectFromString projectFromString = new( 529using ProjectFromString projectFromString = new( 556using ProjectFromString projectFromString = new( 583using ProjectFromString projectFromString = new( 619using ProjectFromString projectFromString = new( 658using ProjectFromString projectFromString = new( 702using ProjectFromString projectFromString = new(@" 730using ProjectFromString projectFromString = new(@" 756using ProjectFromString projectFromString = new(@" 781using ProjectFromString projectFromString = new(@" 863using ProjectFromString projectFromString = new(@" 902using ProjectFromString projectFromString = new(@" 932using ProjectFromString projectFromString = new(@" 962using ProjectFromString projectFromString = new(@" 993using ProjectFromString projectFromString = new(@" 1024using ProjectFromString projectFromString = new(@" 1096using ProjectFromString projectFromString = new(@" 1124using ProjectFromString projectFromString = new(@" 1152using ProjectFromString projectFromString = new(@" 1182using ProjectFromString projectFromString = new(@" 1226using ProjectFromString projectFromString = new(@" 1255using ProjectFromString projectFromString = new(@" 1279using ProjectFromString projectFromString = new(@" 1306using ProjectFromString projectFromString = new(@" 1333using ProjectFromString projectFromString = new(@" 1366using ProjectFromString projectFromString = new(@" 1398using ProjectFromString projectFromString = new(@" 1437using ProjectFromString projectFromString = new(@" 1478using ProjectFromString projectFromString = new(@" 1571using ProjectFromString projectFromString = new(@" 1628using ProjectFromString projectFromString = new(@" 1655using ProjectFromString projectFromString = new(@" 1682using ProjectFromString projectFromString = new(@" 1710using ProjectFromString projectFromString = new(@" 1773using ProjectFromString projectFromString = new(@" 1832using ProjectFromString projectFromString = new(@"
Definition\Project_Internal_Tests.cs (3)
55using ProjectFromString projectFromString = new(content, null, null, collection); 92using ProjectFromString projectFromString = new(content); 238using ProjectFromString projectFromString = new(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ProjectHelpers.cs (1)
24using ProjectFromString projectFromString = new(@"<Project>
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 (59)
163using ProjectFromString projectFromString = new(projXml); 171using ProjectFromString projectFromStringFoo = new(fooXml); 184using ProjectFromString projectFromStringBar = new(barXml); 844using ProjectFromString projectFromString = new(content); 921using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1006using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1208using ProjectFromString projectFromString = new(content); 1272using ProjectFromString projectFromString = new(content); 1309using ProjectFromString projectFromString = new(content); 1425using ProjectFromString projectFromString = new(content); 1448using ProjectFromString projectFromString = new(content); 1475using ProjectFromString projectFromString = new(content); 1498using ProjectFromString projectFromString = new(content); 1524using ProjectFromString projectFromString = new(content); 1552using ProjectFromString projectFromString = new(content); 1583using ProjectFromString projectFromString = new(content); 1622using ProjectFromString projectFromString = new(content); 1654using ProjectFromString projectFromString = new(content); 1683using ProjectFromString projectFromString = new(content); 1722using ProjectFromString projectFromString = new(content); 1751using ProjectFromString projectFromString = new(content); 1776using ProjectFromString projectFromString = new(content); 1806using ProjectFromString projectFromString = new(content); 1845using ProjectFromString projectFromString = new(content); 1882using ProjectFromString projectFromString = new(content); 1914using ProjectFromString projectFromString = new(content); 2019using ProjectFromString projectFromString = new(content); 2076using ProjectFromString projectFromString = new(content); 2137using ProjectFromString projectFromString = new(content); 2174using ProjectFromString projectFromString = new(content); 2201using ProjectFromString projectFromString = new(content); 2312using ProjectFromString projectFromString = new(content); 2337using ProjectFromString projectFromString = new(content); 2361using ProjectFromString projectFromString = new(content); 2887using ProjectFromString projectFromString = new(content); 2912using ProjectFromString projectFromString = new(content); 2937using ProjectFromString projectFromString = new(content); 2967using ProjectFromString projectFromString = new(content, globalProperties, null); 2997using ProjectFromString projectFromString = new(content, globalProperties, null); 3027using ProjectFromString projectFromString = new(content, globalProperties, null); 3057using ProjectFromString projectFromString = new(content, globalProperties, null); 3101using ProjectFromString projectFromString = new(content, globalProperties, null, collection); 3173using ProjectFromString projectFromString = new(content, globalProperties, null); 3207using ProjectFromString projectFromString = new(content, globalProperties, null); 3239using ProjectFromString projectFromString = new(content, globalProperties, null); 3269using ProjectFromString projectFromString = new(content, globalProperties, null); 3306using ProjectFromString projectFromString = new(content); 3352using ProjectFromString projectFromString = new(content, globalProperties, null); 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); 4255using ProjectFromString projectFromString = new(content, globalProperties, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4299using ProjectFromString projectFromString = new(content, null, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4577using ProjectFromString projectFromString = new(content); 4697using ProjectFromString projectFromString = new(content, globalProperties, null, collection);
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
37using ProjectFromString projectFromString = new(projectContent.Cleanup()); 59using ProjectFromString projectFromString = new(projectContent.Cleanup()); 81using ProjectFromString projectFromString = new(projectContent.Cleanup()); 103using ProjectFromString projectFromString = new(projectContent.Cleanup()); 123using ProjectFromString projectFromString = new(projectContent.Cleanup()); 145using ProjectFromString projectFromString = new(projectContent.Cleanup()); 167using ProjectFromString projectFromString = new(projectContent.Cleanup()); 189using ProjectFromString projectFromString = new(projectContent.Cleanup()); 209using ProjectFromString projectFromString = new(projectContent.Cleanup()); 231using ProjectFromString projectFromString = new(projectContent.Cleanup()); 253using ProjectFromString projectFromString = new(projectContent.Cleanup()); 275using ProjectFromString projectFromString = new(projectContent.Cleanup()); 295using ProjectFromString projectFromString = new(projectContent.Cleanup()); 317using ProjectFromString projectFromString = new(projectContent.Cleanup()); 339using ProjectFromString projectFromString = new(projectContent.Cleanup()); 361using ProjectFromString projectFromString = new(projectContent.Cleanup()); 381using ProjectFromString projectFromString = new(projectContent.Cleanup()); 403using ProjectFromString projectFromString = new(projectContent.Cleanup()); 425using ProjectFromString projectFromString = new(projectContent.Cleanup()); 447using ProjectFromString projectFromString = new(projectContent.Cleanup());
EvaluationProfiler_Tests.cs (1)
304using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
Instance\HostServices_Tests.cs (1)
483using ProjectFromString projectFromString = new(contents, new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion);
Instance\ProjectInstance_Internal_Tests.cs (2)
144using ProjectFromString projectFromString = new(projectFileContent); 968using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
1359using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion: null); 1375using ProjectFromString projectFromString = new(content, null, toolsVersion: null);
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
53using ProjectFromString projectFromString = new(projectBody); 96using ProjectFromString projectFromString = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection); 106using ProjectFromString projectFromString1 = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 148using ProjectFromString projectFromString = new(projectBody); 200using ProjectFromString projectFromString1 = new(projectBody1); 201using ProjectFromString projectFromString2 = new(projectBody2); 257using ProjectFromString projectFromString = new(projectBody); 306using ProjectFromString projectFromString = new(projectBody);
338 references to ProjectFromString
Microsoft.Build.Engine.OM.UnitTests (61)
Construction\ConstructionEditing_Tests.cs (2)
2323using ProjectFromString projectFromString = new(projectFileContents); 2351using ProjectFromString projectFromString = new(content);
Construction\ProjectChooseElement_Tests.cs (1)
274using ProjectFromString projectFromString = new(content);
Construction\ProjectImportElement_Tests.cs (2)
178using ProjectFromString projectFromString = new(content); 217using ProjectFromString projectFromString = new(content);
Construction\ProjectItemDefinitionElement_Tests.cs (1)
87using ProjectFromString projectFromString = new(content);
Definition\DefinitionEditing_Tests.cs (7)
719using ProjectFromString projectFromString = new(content); 759using ProjectFromString projectFromString = new(content); 999using ProjectFromString projectFromString = new(content); 1334using ProjectFromString projectFromString = new(content); 1434using ProjectFromString projectFromString = new(content); 2008using ProjectFromString projectFromString = new(content); 2591using ProjectFromString projectFromString = new(projectContents);
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
343using ProjectFromString projectFromString = new(contents);
Definition\Project_Tests.cs (15)
1854using ProjectFromString projectFromString = new(content); 1890using ProjectFromString projectFromString = new(content); 1926using ProjectFromString projectFromString = new(content); 1975using ProjectFromString projectFromString = new(content); 2009using ProjectFromString projectFromString = new(content); 2042using ProjectFromString projectFromString = new(content); 2105using ProjectFromString projectFromString = new(projectContent); 2182using ProjectFromString projectFromString = new(contents); 2219using ProjectFromString projectFromString = new(projectOriginalContents); 2242using ProjectFromString projectFromString = new(projectOriginalContents); 2265using ProjectFromString projectFromString = new(projectOriginalContents); 2289using ProjectFromString projectFromString = new(projectOriginalContents); 2314using ProjectFromString projectFromString = new(projectOriginalContents); 2349using ProjectFromString projectFromString = new(projectOriginalContents); 2402using ProjectFromString projectFromString = new(projectOriginalContents);
Definition\ProjectCollection_Tests.cs (3)
530using ProjectFromString projectFromString = new(content); 552using ProjectFromString projectFromString = new(content); 1158using ProjectFromString projectFromString = new(content, null, null, collection);
Definition\ProjectItem_Tests.cs (6)
161using ProjectFromString projectFromString = new(content); 1196using ProjectFromString projectFromString = new(content); 1239using ProjectFromString projectFromString = new(content); 1290using ProjectFromString projectFromString = new(content); 1360using ProjectFromString projectFromString = new(content); 1458using ProjectFromString projectFromString = new(content);
Definition\ProjectItemDefinition_Tests.cs (10)
214using ProjectFromString projectFromString = new(content); 245using ProjectFromString projectFromString = new(content); 272using ProjectFromString projectFromString = new(content); 299using ProjectFromString projectFromString = new(content); 330using ProjectFromString projectFromString = new(content); 358using ProjectFromString projectFromString = new(content); 388using ProjectFromString projectFromString = new(content); 416using ProjectFromString projectFromString = new(content); 451using ProjectFromString projectFromString = new(content); 658using ProjectFromString projectFromString = new(content);
Definition\ProjectMetadata_Tests.cs (11)
159using ProjectFromString projectFromString = new(content); 186using ProjectFromString projectFromString = new(content); 212using ProjectFromString projectFromString = new(content); 239using ProjectFromString projectFromString = new(content); 271using ProjectFromString projectFromString = new(content); 303using ProjectFromString projectFromString = new(content); 335using ProjectFromString projectFromString = new(content); 366using ProjectFromString projectFromString = new(content); 395using ProjectFromString projectFromString = new(content); 429using ProjectFromString projectFromString = new(content); 492using ProjectFromString projectFromString = new(projectString);
Definition\ProtectImports_Tests.cs (1)
606using ProjectFromString projectFromString = new(projectContents);
Instance\ProjectInstance_Tests.cs (1)
1030using ProjectFromString projectFromString = new(content, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, ProjectCollection.GlobalProjectCollection);
Microsoft.Build.Engine.UnitTests (267)
BackEnd\BatchingEngine_Tests.cs (2)
487using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(content)); 521using ProjectFromString projectFromString = new(content);
BackEnd\BuildManager_Tests.cs (1)
3598using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
BackEnd\BuildRequestConfiguration_Tests.cs (4)
185using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@"<Project ToolsVersion='msbuilddefaulttoolsversion' xmlns='msbuildnamespace' />")); 279using ProjectFromString projectFromString = new( 357using ProjectFromString projectFromString = new(projectBody, 462using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection);
BackEnd\BuildRequestEngine_Tests.cs (1)
246using ProjectFromString projectFromString = new(content);
BackEnd\ConfigurationMetadata_Tests.cs (1)
153using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion);
BackEnd\IntrinsicTask_Tests.cs (60)
189using ProjectFromString projectFromString = new(content); 206using ProjectFromString projectFromString1 = new(content); 226using ProjectFromString projectFromString = new(content); 913using ProjectFromString projectFromString = new(content); 930using ProjectFromString projectFromString1 = new(content); 952using ProjectFromString projectFromString = new(content); 1084using ProjectFromString projectFromString = new(content); 1168using ProjectFromString projectFromString = new(content); 1211using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1234using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1260using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1298using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1328using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1348using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1370using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1390using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1412using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1437using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1469using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1511using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1558using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1660using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2284using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2317using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2350using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2388using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2428using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2463using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2493using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2553using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2578using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2609using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2651using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2696using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2740using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2785using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2864using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2922using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3128using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3179using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3220using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3275using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3302using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3350using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3393using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3432using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3463using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3495using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3559using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3594using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3623using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3654using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3681using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3710using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3739using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3768using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3805using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3834using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3864using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3952using ProjectFromString projectFromString = new(content);
BackEnd\OnError_Tests.cs (20)
36using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 146using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 191using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 223using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 257using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 290using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 322using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 347using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 375using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 403using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 436using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 478using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 503using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 533using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 611using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.Nowhere)); 633using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.Compile)); 656using ProjectFromString projectFromString = new(PostBuildBuilder("On_Success", FailAt.GenerateSatellites)); 679using ProjectFromString projectFromString = new(PostBuildBuilder("Always", FailAt.Compile)); 702using ProjectFromString projectFromString = new(PostBuildBuilder("Final_Output_Changed", FailAt.Compile)); 725using ProjectFromString projectFromString = new(PostBuildBuilder("Final_Output_Changed", FailAt.GenerateSatellites));
BackEnd\Scheduler_Tests.cs (1)
713using ProjectFromString projectFromString = new(contents);
BackEnd\TargetBuilder_Tests.cs (4)
327using ProjectFromString projectFromString = new(content); 1347using ProjectFromString projectFromString = new(projectContents, null, null); 1374using ProjectFromString projectFromString = new(projectContents, null, null); 1677using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetEntry_Tests.cs (2)
857using ProjectFromString projectFromString = new( 1181using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetUpToDateChecker_Tests.cs (10)
59using ProjectFromString projectFromString = new(content); 90using ProjectFromString projectFromString = new(content); 120using ProjectFromString projectFromString = new(content); 145using ProjectFromString projectFromString1 = new(content); 319using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 348using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 377using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 407using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 442using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 520using ProjectFromString projectFromString = new(content);
BackEnd\TaskBuilder_Tests.cs (13)
79using ProjectFromString projectFromString = new(projectFileContents); 132using ProjectFromString projectFromString = new(projectFileContents); 168using ProjectFromString projectFromString = new(contents, null, MSBuildConstants.CurrentToolsVersion, collection); 238using ProjectFromString projectFromString = new(projectFileContents); 291using ProjectFromString projectFromString = new(projectFileContents); 362using ProjectFromString projectFromString = new(projectFileContents); 412using ProjectFromString projectFromString = new(projectFileContents); 450using ProjectFromString projectFromString = new(projectFileContents); 478using ProjectFromString projectFromString = new(projectFileContents); 502using ProjectFromString projectFromString = new(projectFileContents); 533using ProjectFromString projectFromString = new(projectFileContents); 564using ProjectFromString projectFromString = new(projectFileContents); 1243using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TaskExecutionHost_Tests.cs (1)
1563using ProjectFromString projectFromString = new(projectFileContents);
Definition\ItemDefinitionGroup_Tests.cs (49)
33using ProjectFromString projectFromString = new( 55using ProjectFromString projectFromString = new( 85using ProjectFromString projectFromString = new( 119using ProjectFromString projectFromString = new( 249using ProjectFromString projectFromString = new( 288using ProjectFromString projectFromString = new( 306using ProjectFromString projectFromString = new( 328using ProjectFromString projectFromString = new(@" 358using ProjectFromString projectFromString = new(@" 387using ProjectFromString projectFromString = new(@" 421using ProjectFromString projectFromString = new( 448using ProjectFromString projectFromString = new( 475using ProjectFromString projectFromString = new( 502using ProjectFromString projectFromString = new( 529using ProjectFromString projectFromString = new( 556using ProjectFromString projectFromString = new( 583using ProjectFromString projectFromString = new( 619using ProjectFromString projectFromString = new( 658using ProjectFromString projectFromString = new( 702using ProjectFromString projectFromString = new(@" 730using ProjectFromString projectFromString = new(@" 756using ProjectFromString projectFromString = new(@" 781using ProjectFromString projectFromString = new(@" 863using ProjectFromString projectFromString = new(@" 902using ProjectFromString projectFromString = new(@" 932using ProjectFromString projectFromString = new(@" 962using ProjectFromString projectFromString = new(@" 993using ProjectFromString projectFromString = new(@" 1024using ProjectFromString projectFromString = new(@" 1096using ProjectFromString projectFromString = new(@" 1124using ProjectFromString projectFromString = new(@" 1152using ProjectFromString projectFromString = new(@" 1182using ProjectFromString projectFromString = new(@" 1226using ProjectFromString projectFromString = new(@" 1255using ProjectFromString projectFromString = new(@" 1279using ProjectFromString projectFromString = new(@" 1306using ProjectFromString projectFromString = new(@" 1333using ProjectFromString projectFromString = new(@" 1366using ProjectFromString projectFromString = new(@" 1398using ProjectFromString projectFromString = new(@" 1437using ProjectFromString projectFromString = new(@" 1478using ProjectFromString projectFromString = new(@" 1571using ProjectFromString projectFromString = new(@" 1628using ProjectFromString projectFromString = new(@" 1655using ProjectFromString projectFromString = new(@" 1682using ProjectFromString projectFromString = new(@" 1710using ProjectFromString projectFromString = new(@" 1773using ProjectFromString projectFromString = new(@" 1832using ProjectFromString projectFromString = new(@"
Definition\Project_Internal_Tests.cs (3)
55using ProjectFromString projectFromString = new(content, null, null, collection); 92using ProjectFromString projectFromString = new(content); 238using ProjectFromString projectFromString = new(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ProjectHelpers.cs (1)
24using ProjectFromString projectFromString = new(@"<Project>
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 (59)
163using ProjectFromString projectFromString = new(projXml); 171using ProjectFromString projectFromStringFoo = new(fooXml); 184using ProjectFromString projectFromStringBar = new(barXml); 844using ProjectFromString projectFromString = new(content); 921using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1006using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1208using ProjectFromString projectFromString = new(content); 1272using ProjectFromString projectFromString = new(content); 1309using ProjectFromString projectFromString = new(content); 1425using ProjectFromString projectFromString = new(content); 1448using ProjectFromString projectFromString = new(content); 1475using ProjectFromString projectFromString = new(content); 1498using ProjectFromString projectFromString = new(content); 1524using ProjectFromString projectFromString = new(content); 1552using ProjectFromString projectFromString = new(content); 1583using ProjectFromString projectFromString = new(content); 1622using ProjectFromString projectFromString = new(content); 1654using ProjectFromString projectFromString = new(content); 1683using ProjectFromString projectFromString = new(content); 1722using ProjectFromString projectFromString = new(content); 1751using ProjectFromString projectFromString = new(content); 1776using ProjectFromString projectFromString = new(content); 1806using ProjectFromString projectFromString = new(content); 1845using ProjectFromString projectFromString = new(content); 1882using ProjectFromString projectFromString = new(content); 1914using ProjectFromString projectFromString = new(content); 2019using ProjectFromString projectFromString = new(content); 2076using ProjectFromString projectFromString = new(content); 2137using ProjectFromString projectFromString = new(content); 2174using ProjectFromString projectFromString = new(content); 2201using ProjectFromString projectFromString = new(content); 2312using ProjectFromString projectFromString = new(content); 2337using ProjectFromString projectFromString = new(content); 2361using ProjectFromString projectFromString = new(content); 2887using ProjectFromString projectFromString = new(content); 2912using ProjectFromString projectFromString = new(content); 2937using ProjectFromString projectFromString = new(content); 2967using ProjectFromString projectFromString = new(content, globalProperties, null); 2997using ProjectFromString projectFromString = new(content, globalProperties, null); 3027using ProjectFromString projectFromString = new(content, globalProperties, null); 3057using ProjectFromString projectFromString = new(content, globalProperties, null); 3101using ProjectFromString projectFromString = new(content, globalProperties, null, collection); 3173using ProjectFromString projectFromString = new(content, globalProperties, null); 3207using ProjectFromString projectFromString = new(content, globalProperties, null); 3239using ProjectFromString projectFromString = new(content, globalProperties, null); 3269using ProjectFromString projectFromString = new(content, globalProperties, null); 3306using ProjectFromString projectFromString = new(content); 3352using ProjectFromString projectFromString = new(content, globalProperties, null); 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); 4255using ProjectFromString projectFromString = new(content, globalProperties, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4299using ProjectFromString projectFromString = new(content, null, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4577using ProjectFromString projectFromString = new(content); 4697using ProjectFromString projectFromString = new(content, globalProperties, null, collection);
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
37using ProjectFromString projectFromString = new(projectContent.Cleanup()); 59using ProjectFromString projectFromString = new(projectContent.Cleanup()); 81using ProjectFromString projectFromString = new(projectContent.Cleanup()); 103using ProjectFromString projectFromString = new(projectContent.Cleanup()); 123using ProjectFromString projectFromString = new(projectContent.Cleanup()); 145using ProjectFromString projectFromString = new(projectContent.Cleanup()); 167using ProjectFromString projectFromString = new(projectContent.Cleanup()); 189using ProjectFromString projectFromString = new(projectContent.Cleanup()); 209using ProjectFromString projectFromString = new(projectContent.Cleanup()); 231using ProjectFromString projectFromString = new(projectContent.Cleanup()); 253using ProjectFromString projectFromString = new(projectContent.Cleanup()); 275using ProjectFromString projectFromString = new(projectContent.Cleanup()); 295using ProjectFromString projectFromString = new(projectContent.Cleanup()); 317using ProjectFromString projectFromString = new(projectContent.Cleanup()); 339using ProjectFromString projectFromString = new(projectContent.Cleanup()); 361using ProjectFromString projectFromString = new(projectContent.Cleanup()); 381using ProjectFromString projectFromString = new(projectContent.Cleanup()); 403using ProjectFromString projectFromString = new(projectContent.Cleanup()); 425using ProjectFromString projectFromString = new(projectContent.Cleanup()); 447using ProjectFromString projectFromString = new(projectContent.Cleanup());
EvaluationProfiler_Tests.cs (1)
304using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
Instance\HostServices_Tests.cs (1)
483using ProjectFromString projectFromString = new(contents, new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion);
Instance\ProjectInstance_Internal_Tests.cs (2)
144using ProjectFromString projectFromString = new(projectFileContent); 968using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
1359using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion: null); 1375using ProjectFromString projectFromString = new(content, null, toolsVersion: null);
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
53using ProjectFromString projectFromString = new(projectBody); 96using ProjectFromString projectFromString = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection); 106using ProjectFromString projectFromString1 = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 148using ProjectFromString projectFromString = new(projectBody); 200using ProjectFromString projectFromString1 = new(projectBody1); 201using ProjectFromString projectFromString2 = new(projectBody2); 257using ProjectFromString projectFromString = new(projectBody); 306using ProjectFromString projectFromString = new(projectBody);