338 instantiations of ProjectFromString
Microsoft.Build.Engine.OM.UnitTests (61)
Construction\ConstructionEditing_Tests.cs (2)
2322using ProjectFromString projectFromString = new(projectFileContents); 2350using 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)
717using ProjectFromString projectFromString = new(content); 757using ProjectFromString projectFromString = new(content); 997using ProjectFromString projectFromString = new(content); 1332using ProjectFromString projectFromString = new(content); 1432using ProjectFromString projectFromString = new(content); 2006using ProjectFromString projectFromString = new(content); 2589using ProjectFromString projectFromString = new(projectContents);
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
341using 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)
159using ProjectFromString projectFromString = new(content); 1194using ProjectFromString projectFromString = new(content); 1237using ProjectFromString projectFromString = new(content); 1288using ProjectFromString projectFromString = new(content); 1358using ProjectFromString projectFromString = new(content); 1456using ProjectFromString projectFromString = new(content);
Definition\ProjectItemDefinition_Tests.cs (10)
213using ProjectFromString projectFromString = new(content); 244using ProjectFromString projectFromString = new(content); 271using ProjectFromString projectFromString = new(content); 298using ProjectFromString projectFromString = new(content); 329using ProjectFromString projectFromString = new(content); 357using ProjectFromString projectFromString = new(content); 387using ProjectFromString projectFromString = new(content); 415using ProjectFromString projectFromString = new(content); 450using ProjectFromString projectFromString = new(content); 657using ProjectFromString projectFromString = new(content);
Definition\ProjectMetadata_Tests.cs (11)
158using ProjectFromString projectFromString = new(content); 185using ProjectFromString projectFromString = new(content); 211using ProjectFromString projectFromString = new(content); 238using ProjectFromString projectFromString = new(content); 270using ProjectFromString projectFromString = new(content); 302using ProjectFromString projectFromString = new(content); 334using ProjectFromString projectFromString = new(content); 365using ProjectFromString projectFromString = new(content); 394using ProjectFromString projectFromString = new(content); 428using ProjectFromString projectFromString = new(content); 491using ProjectFromString projectFromString = new(projectString);
Definition\ProtectImports_Tests.cs (1)
605using ProjectFromString projectFromString = new(projectContents);
Instance\ProjectInstance_Tests.cs (1)
1029using 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)
3597using 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)
245using ProjectFromString projectFromString = new(content);
BackEnd\ConfigurationMetadata_Tests.cs (1)
151using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion);
BackEnd\IntrinsicTask_Tests.cs (60)
188using ProjectFromString projectFromString = new(content); 205using ProjectFromString projectFromString1 = new(content); 225using ProjectFromString projectFromString = new(content); 912using ProjectFromString projectFromString = new(content); 929using ProjectFromString projectFromString1 = new(content); 951using ProjectFromString projectFromString = new(content); 1083using ProjectFromString projectFromString = new(content); 1167using ProjectFromString projectFromString = new(content); 1210using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1233using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1259using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1297using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1327using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1347using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1369using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1389using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1411using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1436using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1468using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1510using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1557using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1659using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2283using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2316using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2349using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2387using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2427using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2462using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2492using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2552using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2577using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2608using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2650using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2695using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2739using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2784using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2863using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2921using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3127using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3178using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3219using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3274using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3301using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3349using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3392using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3431using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3462using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3494using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3558using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3593using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3622using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3653using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3680using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3709using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3738using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3767using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3804using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3833using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3863using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3951using 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)
712using ProjectFromString projectFromString = new(contents);
BackEnd\TargetBuilder_Tests.cs (4)
326using ProjectFromString projectFromString = new(content); 1346using ProjectFromString projectFromString = new(projectContents, null, null); 1373using ProjectFromString projectFromString = new(projectContents, null, null); 1676using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetEntry_Tests.cs (2)
856using ProjectFromString projectFromString = new( 1180using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetUpToDateChecker_Tests.cs (10)
58using ProjectFromString projectFromString = new(content); 89using ProjectFromString projectFromString = new(content); 119using ProjectFromString projectFromString = new(content); 144using ProjectFromString projectFromString1 = new(content); 318using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 347using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 376using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 406using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 441using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 519using ProjectFromString projectFromString = new(content);
BackEnd\TaskBuilder_Tests.cs (13)
78using ProjectFromString projectFromString = new(projectFileContents); 131using ProjectFromString projectFromString = new(projectFileContents); 167using ProjectFromString projectFromString = new(contents, null, MSBuildConstants.CurrentToolsVersion, collection); 237using ProjectFromString projectFromString = new(projectFileContents); 290using ProjectFromString projectFromString = new(projectFileContents); 361using ProjectFromString projectFromString = new(projectFileContents); 411using ProjectFromString projectFromString = new(projectFileContents); 449using ProjectFromString projectFromString = new(projectFileContents); 477using ProjectFromString projectFromString = new(projectFileContents); 501using ProjectFromString projectFromString = new(projectFileContents); 532using ProjectFromString projectFromString = new(projectFileContents); 563using ProjectFromString projectFromString = new(projectFileContents); 1242using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TaskExecutionHost_Tests.cs (1)
1562using 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)
54using ProjectFromString projectFromString = new(content, null, null, collection); 91using ProjectFromString projectFromString = new(content); 237using ProjectFromString projectFromString = new(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ProjectHelpers.cs (1)
22using ProjectFromString projectFromString = new(@"<Project>
Definition\ToolsVersion_Tests.cs (11)
311using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 348using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 384using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 414using ProjectFromString projectFromString = new(content, null /* no global properties */, "goober", p); 446using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 554using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 592using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 633using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 704using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 789using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 900using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
Evaluation\Evaluator_Tests.cs (59)
198using ProjectFromString projectFromString = new(projXml); 206using ProjectFromString projectFromStringFoo = new(fooXml); 219using ProjectFromString projectFromStringBar = new(barXml); 879using ProjectFromString projectFromString = new(content); 956using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1041using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1243using ProjectFromString projectFromString = new(content); 1307using ProjectFromString projectFromString = new(content); 1344using ProjectFromString projectFromString = new(content); 1460using ProjectFromString projectFromString = new(content); 1483using ProjectFromString projectFromString = new(content); 1510using ProjectFromString projectFromString = new(content); 1533using ProjectFromString projectFromString = new(content); 1559using ProjectFromString projectFromString = new(content); 1587using ProjectFromString projectFromString = new(content); 1618using ProjectFromString projectFromString = new(content); 1657using ProjectFromString projectFromString = new(content); 1689using ProjectFromString projectFromString = new(content); 1718using ProjectFromString projectFromString = new(content); 1757using ProjectFromString projectFromString = new(content); 1786using ProjectFromString projectFromString = new(content); 1811using ProjectFromString projectFromString = new(content); 1841using ProjectFromString projectFromString = new(content); 1880using ProjectFromString projectFromString = new(content); 1917using ProjectFromString projectFromString = new(content); 1949using ProjectFromString projectFromString = new(content); 2054using ProjectFromString projectFromString = new(content); 2111using ProjectFromString projectFromString = new(content); 2172using ProjectFromString projectFromString = new(content); 2209using ProjectFromString projectFromString = new(content); 2236using ProjectFromString projectFromString = new(content); 2347using ProjectFromString projectFromString = new(content); 2372using ProjectFromString projectFromString = new(content); 2396using ProjectFromString projectFromString = new(content); 2922using ProjectFromString projectFromString = new(content); 2947using ProjectFromString projectFromString = new(content); 2972using ProjectFromString projectFromString = new(content); 3002using ProjectFromString projectFromString = new(content, globalProperties, null); 3032using ProjectFromString projectFromString = new(content, globalProperties, null); 3062using ProjectFromString projectFromString = new(content, globalProperties, null); 3092using ProjectFromString projectFromString = new(content, globalProperties, null); 3136using ProjectFromString projectFromString = new(content, globalProperties, null, collection); 3208using ProjectFromString projectFromString = new(content, globalProperties, null); 3242using ProjectFromString projectFromString = new(content, globalProperties, null); 3274using ProjectFromString projectFromString = new(content, globalProperties, null); 3304using ProjectFromString projectFromString = new(content, globalProperties, null); 3341using ProjectFromString projectFromString = new(content); 3387using ProjectFromString projectFromString = new(content, globalProperties, null); 3887using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 3953using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4005using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4057using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4116using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4179using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4238using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4290using ProjectFromString projectFromString = new(content, globalProperties, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4334using ProjectFromString projectFromString = new(content, null, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4612using ProjectFromString projectFromString = new(content); 4732using ProjectFromString projectFromString = new(content, globalProperties, null, collection);
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
32using ProjectFromString projectFromString = new(projectContent.Cleanup()); 54using ProjectFromString projectFromString = new(projectContent.Cleanup()); 76using ProjectFromString projectFromString = new(projectContent.Cleanup()); 98using ProjectFromString projectFromString = new(projectContent.Cleanup()); 118using ProjectFromString projectFromString = new(projectContent.Cleanup()); 140using ProjectFromString projectFromString = new(projectContent.Cleanup()); 162using ProjectFromString projectFromString = new(projectContent.Cleanup()); 184using ProjectFromString projectFromString = new(projectContent.Cleanup()); 204using ProjectFromString projectFromString = new(projectContent.Cleanup()); 226using ProjectFromString projectFromString = new(projectContent.Cleanup()); 248using ProjectFromString projectFromString = new(projectContent.Cleanup()); 270using ProjectFromString projectFromString = new(projectContent.Cleanup()); 290using ProjectFromString projectFromString = new(projectContent.Cleanup()); 312using ProjectFromString projectFromString = new(projectContent.Cleanup()); 334using ProjectFromString projectFromString = new(projectContent.Cleanup()); 356using ProjectFromString projectFromString = new(projectContent.Cleanup()); 376using ProjectFromString projectFromString = new(projectContent.Cleanup()); 398using ProjectFromString projectFromString = new(projectContent.Cleanup()); 420using ProjectFromString projectFromString = new(projectContent.Cleanup()); 442using ProjectFromString projectFromString = new(projectContent.Cleanup());
EvaluationProfiler_Tests.cs (1)
303using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
Instance\HostServices_Tests.cs (1)
482using ProjectFromString projectFromString = new(contents, new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion);
Instance\ProjectInstance_Internal_Tests.cs (2)
143using ProjectFromString projectFromString = new(projectFileContent); 967using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
1358using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion: null); 1374using ProjectFromString projectFromString = new(content, null, toolsVersion: null);
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
51using ProjectFromString projectFromString = new(projectBody); 94using ProjectFromString projectFromString = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection); 104using ProjectFromString projectFromString1 = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 146using ProjectFromString projectFromString = new(projectBody); 198using ProjectFromString projectFromString1 = new(projectBody1); 199using ProjectFromString projectFromString2 = new(projectBody2); 255using ProjectFromString projectFromString = new(projectBody); 304using ProjectFromString projectFromString = new(projectBody);
338 references to ProjectFromString
Microsoft.Build.Engine.OM.UnitTests (61)
Construction\ConstructionEditing_Tests.cs (2)
2322using ProjectFromString projectFromString = new(projectFileContents); 2350using 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)
717using ProjectFromString projectFromString = new(content); 757using ProjectFromString projectFromString = new(content); 997using ProjectFromString projectFromString = new(content); 1332using ProjectFromString projectFromString = new(content); 1432using ProjectFromString projectFromString = new(content); 2006using ProjectFromString projectFromString = new(content); 2589using ProjectFromString projectFromString = new(projectContents);
Definition\EditingElementsReferencedByOrReferences_Tests.cs (1)
341using 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)
159using ProjectFromString projectFromString = new(content); 1194using ProjectFromString projectFromString = new(content); 1237using ProjectFromString projectFromString = new(content); 1288using ProjectFromString projectFromString = new(content); 1358using ProjectFromString projectFromString = new(content); 1456using ProjectFromString projectFromString = new(content);
Definition\ProjectItemDefinition_Tests.cs (10)
213using ProjectFromString projectFromString = new(content); 244using ProjectFromString projectFromString = new(content); 271using ProjectFromString projectFromString = new(content); 298using ProjectFromString projectFromString = new(content); 329using ProjectFromString projectFromString = new(content); 357using ProjectFromString projectFromString = new(content); 387using ProjectFromString projectFromString = new(content); 415using ProjectFromString projectFromString = new(content); 450using ProjectFromString projectFromString = new(content); 657using ProjectFromString projectFromString = new(content);
Definition\ProjectMetadata_Tests.cs (11)
158using ProjectFromString projectFromString = new(content); 185using ProjectFromString projectFromString = new(content); 211using ProjectFromString projectFromString = new(content); 238using ProjectFromString projectFromString = new(content); 270using ProjectFromString projectFromString = new(content); 302using ProjectFromString projectFromString = new(content); 334using ProjectFromString projectFromString = new(content); 365using ProjectFromString projectFromString = new(content); 394using ProjectFromString projectFromString = new(content); 428using ProjectFromString projectFromString = new(content); 491using ProjectFromString projectFromString = new(projectString);
Definition\ProtectImports_Tests.cs (1)
605using ProjectFromString projectFromString = new(projectContents);
Instance\ProjectInstance_Tests.cs (1)
1029using 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)
3597using 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)
245using ProjectFromString projectFromString = new(content);
BackEnd\ConfigurationMetadata_Tests.cs (1)
151using ProjectFromString projectFromString = new(projectBody, globalProperties, ObjectModelHelpers.MSBuildDefaultToolsVersion);
BackEnd\IntrinsicTask_Tests.cs (60)
188using ProjectFromString projectFromString = new(content); 205using ProjectFromString projectFromString1 = new(content); 225using ProjectFromString projectFromString = new(content); 912using ProjectFromString projectFromString = new(content); 929using ProjectFromString projectFromString1 = new(content); 951using ProjectFromString projectFromString = new(content); 1083using ProjectFromString projectFromString = new(content); 1167using ProjectFromString projectFromString = new(content); 1210using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1233using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1259using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1297using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1327using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1347using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1369using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1389using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1411using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1436using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1468using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1510using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1557using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 1659using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2283using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2316using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2349using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2387using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2427using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2462using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2492using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2552using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2577using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2608using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2650using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2695using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2739using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2784using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2863using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 2921using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3127using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3178using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3219using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3274using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3301using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3349using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3392using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3431using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3462using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3494using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3558using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3593using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3622using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3653using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3680using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3709using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3738using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3767using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3804using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3833using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3863using ProjectFromString projectFromString = new(ObjectModelHelpers.CleanupFileContents(@" 3951using 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)
712using ProjectFromString projectFromString = new(contents);
BackEnd\TargetBuilder_Tests.cs (4)
326using ProjectFromString projectFromString = new(content); 1346using ProjectFromString projectFromString = new(projectContents, null, null); 1373using ProjectFromString projectFromString = new(projectContents, null, null); 1676using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetEntry_Tests.cs (2)
856using ProjectFromString projectFromString = new( 1180using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TargetUpToDateChecker_Tests.cs (10)
58using ProjectFromString projectFromString = new(content); 89using ProjectFromString projectFromString = new(content); 119using ProjectFromString projectFromString = new(content); 144using ProjectFromString projectFromString1 = new(content); 318using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 347using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 376using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 406using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 441using ProjectFromString projectFromString = new(projectText.Replace("`", "\"")); 519using ProjectFromString projectFromString = new(content);
BackEnd\TaskBuilder_Tests.cs (13)
78using ProjectFromString projectFromString = new(projectFileContents); 131using ProjectFromString projectFromString = new(projectFileContents); 167using ProjectFromString projectFromString = new(contents, null, MSBuildConstants.CurrentToolsVersion, collection); 237using ProjectFromString projectFromString = new(projectFileContents); 290using ProjectFromString projectFromString = new(projectFileContents); 361using ProjectFromString projectFromString = new(projectFileContents); 411using ProjectFromString projectFromString = new(projectFileContents); 449using ProjectFromString projectFromString = new(projectFileContents); 477using ProjectFromString projectFromString = new(projectFileContents); 501using ProjectFromString projectFromString = new(projectFileContents); 532using ProjectFromString projectFromString = new(projectFileContents); 563using ProjectFromString projectFromString = new(projectFileContents); 1242using ProjectFromString projectFromString = new(projectFileContents);
BackEnd\TaskExecutionHost_Tests.cs (1)
1562using 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)
54using ProjectFromString projectFromString = new(content, null, null, collection); 91using ProjectFromString projectFromString = new(content); 237using ProjectFromString projectFromString = new(projectContents, new Dictionary<string, string>(), MSBuildConstants.CurrentToolsVersion, projectCollection, ProjectLoadSettings.DoNotEvaluateElementsWithFalseCondition);
Definition\ProjectHelpers.cs (1)
22using ProjectFromString projectFromString = new(@"<Project>
Definition\ToolsVersion_Tests.cs (11)
311using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 348using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 384using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 414using ProjectFromString projectFromString = new(content, null /* no global properties */, "goober", p); 446using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 554using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 592using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 633using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 704using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 789using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p); 900using ProjectFromString projectFromString = new(content, null /* no global properties */, null /* don't explicitly set the toolsversion */, p);
Evaluation\Evaluator_Tests.cs (59)
198using ProjectFromString projectFromString = new(projXml); 206using ProjectFromString projectFromStringFoo = new(fooXml); 219using ProjectFromString projectFromStringBar = new(barXml); 879using ProjectFromString projectFromString = new(content); 956using ProjectFromString projectFromString = new(content, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1041using ProjectFromString projectFromString = new(manifest, null, null, pc, ProjectLoadSettings.RecordDuplicateButNotCircularImports); 1243using ProjectFromString projectFromString = new(content); 1307using ProjectFromString projectFromString = new(content); 1344using ProjectFromString projectFromString = new(content); 1460using ProjectFromString projectFromString = new(content); 1483using ProjectFromString projectFromString = new(content); 1510using ProjectFromString projectFromString = new(content); 1533using ProjectFromString projectFromString = new(content); 1559using ProjectFromString projectFromString = new(content); 1587using ProjectFromString projectFromString = new(content); 1618using ProjectFromString projectFromString = new(content); 1657using ProjectFromString projectFromString = new(content); 1689using ProjectFromString projectFromString = new(content); 1718using ProjectFromString projectFromString = new(content); 1757using ProjectFromString projectFromString = new(content); 1786using ProjectFromString projectFromString = new(content); 1811using ProjectFromString projectFromString = new(content); 1841using ProjectFromString projectFromString = new(content); 1880using ProjectFromString projectFromString = new(content); 1917using ProjectFromString projectFromString = new(content); 1949using ProjectFromString projectFromString = new(content); 2054using ProjectFromString projectFromString = new(content); 2111using ProjectFromString projectFromString = new(content); 2172using ProjectFromString projectFromString = new(content); 2209using ProjectFromString projectFromString = new(content); 2236using ProjectFromString projectFromString = new(content); 2347using ProjectFromString projectFromString = new(content); 2372using ProjectFromString projectFromString = new(content); 2396using ProjectFromString projectFromString = new(content); 2922using ProjectFromString projectFromString = new(content); 2947using ProjectFromString projectFromString = new(content); 2972using ProjectFromString projectFromString = new(content); 3002using ProjectFromString projectFromString = new(content, globalProperties, null); 3032using ProjectFromString projectFromString = new(content, globalProperties, null); 3062using ProjectFromString projectFromString = new(content, globalProperties, null); 3092using ProjectFromString projectFromString = new(content, globalProperties, null); 3136using ProjectFromString projectFromString = new(content, globalProperties, null, collection); 3208using ProjectFromString projectFromString = new(content, globalProperties, null); 3242using ProjectFromString projectFromString = new(content, globalProperties, null); 3274using ProjectFromString projectFromString = new(content, globalProperties, null); 3304using ProjectFromString projectFromString = new(content, globalProperties, null); 3341using ProjectFromString projectFromString = new(content); 3387using ProjectFromString projectFromString = new(content, globalProperties, null); 3887using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 3953using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4005using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4057using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4116using ProjectFromString projectFromString = new(content, null, "Fake", fakeProjectCollection); 4179using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4238using ProjectFromString projectFromString = new(content, globalProperties, "Fake", fakeProjectCollection); 4290using ProjectFromString projectFromString = new(content, globalProperties, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4334using ProjectFromString projectFromString = new(content, null, "Fake", "FakeSubToolset", fakeProjectCollection, ProjectLoadSettings.Default); 4612using ProjectFromString projectFromString = new(content); 4732using ProjectFromString projectFromString = new(content, globalProperties, null, collection);
Evaluation\IntrinsicFunctionOverload_Tests.cs (20)
32using ProjectFromString projectFromString = new(projectContent.Cleanup()); 54using ProjectFromString projectFromString = new(projectContent.Cleanup()); 76using ProjectFromString projectFromString = new(projectContent.Cleanup()); 98using ProjectFromString projectFromString = new(projectContent.Cleanup()); 118using ProjectFromString projectFromString = new(projectContent.Cleanup()); 140using ProjectFromString projectFromString = new(projectContent.Cleanup()); 162using ProjectFromString projectFromString = new(projectContent.Cleanup()); 184using ProjectFromString projectFromString = new(projectContent.Cleanup()); 204using ProjectFromString projectFromString = new(projectContent.Cleanup()); 226using ProjectFromString projectFromString = new(projectContent.Cleanup()); 248using ProjectFromString projectFromString = new(projectContent.Cleanup()); 270using ProjectFromString projectFromString = new(projectContent.Cleanup()); 290using ProjectFromString projectFromString = new(projectContent.Cleanup()); 312using ProjectFromString projectFromString = new(projectContent.Cleanup()); 334using ProjectFromString projectFromString = new(projectContent.Cleanup()); 356using ProjectFromString projectFromString = new(projectContent.Cleanup()); 376using ProjectFromString projectFromString = new(projectContent.Cleanup()); 398using ProjectFromString projectFromString = new(projectContent.Cleanup()); 420using ProjectFromString projectFromString = new(projectContent.Cleanup()); 442using ProjectFromString projectFromString = new(projectContent.Cleanup());
EvaluationProfiler_Tests.cs (1)
303using ProjectFromString projectFromString = new(contents, null, toolsVersion, projectCollection);
Instance\HostServices_Tests.cs (1)
482using ProjectFromString projectFromString = new(contents, new Dictionary<string, string>(), ObjectModelHelpers.MSBuildDefaultToolsVersion);
Instance\ProjectInstance_Internal_Tests.cs (2)
143using ProjectFromString projectFromString = new(projectFileContent); 967using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion ?? ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection ?? ProjectCollection.GlobalProjectCollection);
Microsoft.Build.UnitTests.Shared (2)
ObjectModelHelpers.cs (2)
1358using ProjectFromString projectFromString = new(content, globalProperties, toolsVersion: null); 1374using ProjectFromString projectFromString = new(content, null, toolsVersion: null);
Microsoft.Build.Utilities.UnitTests (8)
MuxLogger_Tests.cs (8)
51using ProjectFromString projectFromString = new(projectBody); 94using ProjectFromString projectFromString = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, projectCollection); 104using ProjectFromString projectFromString1 = new(projectBody, null, ObjectModelHelpers.MSBuildDefaultToolsVersion, collection); 146using ProjectFromString projectFromString = new(projectBody); 198using ProjectFromString projectFromString1 = new(projectBody1); 199using ProjectFromString projectFromString2 = new(projectBody2); 255using ProjectFromString projectFromString = new(projectBody); 304using ProjectFromString projectFromString = new(projectBody);