327 references to Create
installer.tasks (1)
GenerateFileVersionProps.cs (1)
126props = ProjectRootElement.Create();
Microsoft.Build (3)
Construction\Solution\SolutionProjectGenerator.cs (1)
859ProjectRootElement traversalProject = ProjectRootElement.Create();
Evaluation\Evaluator.cs (1)
1920ProjectRootElement project = ProjectRootElement.Create();
Instance\ProjectInstance.cs (1)
2277ProjectRootElement rootElement = ProjectRootElement.Create();
Microsoft.Build.BuildCheck.UnitTests (1)
ParsedItemsAnalysisDataTests.cs (1)
18ProjectRootElement root = ProjectRootElement.Create();
Microsoft.Build.CommandLine.UnitTests (1)
CommandLineSwitches_Tests.cs (1)
1156ProjectRootElement project = ProjectRootElement.Create();
Microsoft.Build.Engine.OM.UnitTests (264)
Construction\ConstructionEditing_Tests.cs (158)
31ProjectRootElement project = ProjectRootElement.Create(); 55ProjectRootElement project = ProjectRootElement.Create(); 77ProjectRootElement project = ProjectRootElement.Create(); 107ProjectRootElement project1 = ProjectRootElement.Create(); 108ProjectRootElement project2 = ProjectRootElement.Create(); 121ProjectRootElement project1 = ProjectRootElement.Create(); 122ProjectRootElement project2 = ProjectRootElement.Create(); 135ProjectRootElement project1 = ProjectRootElement.Create(); 136ProjectRootElement project2 = ProjectRootElement.Create(); 150ProjectRootElement project1 = ProjectRootElement.Create(); 151ProjectRootElement project2 = ProjectRootElement.Create(); 166ProjectRootElement project = ProjectRootElement.Create(); 180ProjectRootElement project = ProjectRootElement.Create(); 196ProjectRootElement project = ProjectRootElement.Create(); 212ProjectRootElement project = ProjectRootElement.Create(); 230ProjectRootElement project = ProjectRootElement.Create(); 248ProjectRootElement project = ProjectRootElement.Create(); 262ProjectRootElement project = ProjectRootElement.Create(); 276ProjectRootElement project = ProjectRootElement.Create(); 291ProjectRootElement project = ProjectRootElement.Create(); 306ProjectRootElement project = ProjectRootElement.Create(); 321ProjectRootElement project = ProjectRootElement.Create(); 336ProjectRootElement project = ProjectRootElement.Create(); 352ProjectRootElement project = ProjectRootElement.Create(); 366ProjectRootElement project = ProjectRootElement.Create(); 390ProjectRootElement project = ProjectRootElement.Create(); 412ProjectRootElement project = ProjectRootElement.Create(); 437ProjectRootElement project = ProjectRootElement.Create(); 466ProjectRootElement project = ProjectRootElement.Create(); 489ProjectRootElement project = ProjectRootElement.Create(); 511ProjectRootElement project = ProjectRootElement.Create(); 543ProjectRootElement project = ProjectRootElement.Create(); 564ProjectRootElement project = ProjectRootElement.Create(); 585ProjectRootElement project = ProjectRootElement.Create(); 608ProjectRootElement project = ProjectRootElement.Create(); 632ProjectRootElement project = ProjectRootElement.Create(); 646ProjectRootElement project = ProjectRootElement.Create(); 662ProjectRootElement project = ProjectRootElement.Create(); 676ProjectRootElement project = ProjectRootElement.Create(); 703ProjectRootElement project = ProjectRootElement.Create(); 731ProjectRootElement project = ProjectRootElement.Create(); 1074var project = ProjectRootElement.Create(); 1137var project = ProjectRootElement.Create(); 1173ProjectRootElement project = ProjectRootElement.Create(); 1194ProjectRootElement project = ProjectRootElement.Create(); 1207ProjectRootElement project1 = ProjectRootElement.Create(); 1209ProjectRootElement project2 = ProjectRootElement.Create(); 1222ProjectRootElement project = ProjectRootElement.Create(); 1239ProjectRootElement project = ProjectRootElement.Create(); 1257ProjectRootElement project = ProjectRootElement.Create(); 1273ProjectRootElement project = ProjectRootElement.Create(); 1289ProjectRootElement project = ProjectRootElement.Create(); 1305ProjectRootElement project = ProjectRootElement.Create(); 1333ProjectRootElement project = ProjectRootElement.Create(); 1357ProjectRootElement project = ProjectRootElement.Create(); 1381ProjectRootElement project = ProjectRootElement.Create(); 1398ProjectRootElement project = ProjectRootElement.Create(); 1412ProjectRootElement project = ProjectRootElement.Create(); 1438ProjectRootElement project = ProjectRootElement.Create(); 1461ProjectRootElement project = ProjectRootElement.Create(); 1483ProjectRootElement project = ProjectRootElement.Create(); 1503ProjectRootElement project = ProjectRootElement.Create(); 1525ProjectRootElement project = ProjectRootElement.Create(); 1551ProjectRootElement project = ProjectRootElement.Create(); 1582ProjectRootElement project = ProjectRootElement.Create(); 1599ProjectRootElement project = ProjectRootElement.Create(); 1619ProjectRootElement project = ProjectRootElement.Create(); 1639ProjectRootElement project = ProjectRootElement.Create(); 1662ProjectRootElement project = ProjectRootElement.Create(); 1682ProjectRootElement project = ProjectRootElement.Create(); 1702ProjectRootElement project = ProjectRootElement.Create(); 1723ProjectRootElement project = ProjectRootElement.Create(); 1746ProjectRootElement project = ProjectRootElement.Create(); 1772ProjectRootElement project = ProjectRootElement.Create(); 1799ProjectRootElement project = ProjectRootElement.Create(); 1827ProjectRootElement project = ProjectRootElement.Create(); 1851ProjectRootElement project = ProjectRootElement.Create(); 1877ProjectRootElement project = ProjectRootElement.Create(); 1908ProjectRootElement project = ProjectRootElement.Create(); 1929ProjectRootElement project = ProjectRootElement.Create(); 1969ProjectRootElement project = ProjectRootElement.Create(); 2004ProjectRootElement project = ProjectRootElement.Create(); 2025ProjectRootElement project = ProjectRootElement.Create(); 2047ProjectRootElement project = ProjectRootElement.Create(); 2070ProjectRootElement project = ProjectRootElement.Create(); 2095ProjectRootElement project = ProjectRootElement.Create(); 2119ProjectRootElement project = ProjectRootElement.Create(); 2140ProjectRootElement project = ProjectRootElement.Create(); 2161ProjectRootElement project = ProjectRootElement.Create(); 2185ProjectRootElement project = ProjectRootElement.Create(); 2208ProjectRootElement project = ProjectRootElement.Create(); 2232ProjectRootElement project = ProjectRootElement.Create(); 2259ProjectRootElement project = ProjectRootElement.Create(); 2271ProjectRootElement project = ProjectRootElement.Create(); 2283ProjectRootElement project = ProjectRootElement.Create(); 2293ProjectRootElement project = ProjectRootElement.Create(); 2372ProjectRootElement xml = ProjectRootElement.Create(); 2395ProjectRootElement xml = ProjectRootElement.Create(); 2418ProjectRootElement xml = ProjectRootElement.Create(); 2441ProjectRootElement xml = ProjectRootElement.Create(); 2464ProjectRootElement xml = ProjectRootElement.Create(); 2487ProjectRootElement xml = ProjectRootElement.Create(); 2514ProjectRootElement project = ProjectRootElement.Create(); 2526ProjectRootElement project = ProjectRootElement.Create(); 2538ProjectRootElement.Create().CreateImportGroupElement().Condition = "c"; 2547var element = ProjectRootElement.Create().AddItemDefinition("i").AddMetadata("m", "M1"); 2558var element = ProjectRootElement.Create().AddItem("i", "i1").AddMetadata("m", "M1"); 2569var element = ProjectRootElement.Create().AddItem("i", "i1"); 2580var element = ProjectRootElement.Create().AddItem("i", "i1"); 2591var element = ProjectRootElement.Create().AddProperty("p", "v1"); 2602var element = ProjectRootElement.Create().AddProperty("p", "v1"); 2613var element = ProjectRootElement.Create().AddUsingTask("n", "af", null); 2624var element = ProjectRootElement.Create().AddUsingTask("n", "af", null); 2635var element = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2646var element = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2657var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2670var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2683var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2696var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2709var element = ProjectRootElement.Create().AddTarget("t"); 2720var element = ProjectRootElement.Create().AddTarget("t"); 2731var element = ProjectRootElement.Create().AddTarget("t"); 2742var element = ProjectRootElement.Create().AddTarget("t"); 2753var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt"); 2764var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt"); 2775var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputItem("tp", "i"); 2786var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputItem("tp", "i"); 2797var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputProperty("tp", "p"); 2808var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputProperty("tp", "p"); 2819var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 2830var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 2841var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1").AddMetadata("m", "m1"); 2852var element = ProjectRootElement.Create().AddTarget("t").AddPropertyGroup().AddProperty("p", "v1"); 2863var element = ProjectRootElement.Create().AddImportGroup().AddImport("p"); 2874var element = ProjectRootElement.Create().AddImportGroup().AddImport("p"); 2885ProjectRootElement.Create().CreateImportGroupElement().Condition = "c"; 2894var element = ProjectRootElement.Create().AddItemDefinition("i").AddMetadata("m", "M1"); 2905var element = ProjectRootElement.Create().AddItem("i", "i1").AddMetadata("m", "M1"); 2916var element = ProjectRootElement.Create().AddItem("i", "i1"); 2927var element = ProjectRootElement.Create().AddItem("i", "i1"); 2938var element = ProjectRootElement.Create().AddProperty("p", "v1"); 2949var element = ProjectRootElement.Create().AddProperty("p", "v1"); 2960var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2973var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2986var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 2999var usingTask = ProjectRootElement.Create().AddUsingTask("n", null, "an"); 3012var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt"); 3023var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt"); 3034var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputItem("tp", "i"); 3045var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputItem("tp", "i"); 3056var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputProperty("tp", "p"); 3067var element = ProjectRootElement.Create().AddTarget("t").AddTask("tt").AddOutputProperty("tp", "p"); 3078var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 3089var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1"); 3100var element = ProjectRootElement.Create().AddTarget("t").AddItemGroup().AddItem("i", "i1").AddMetadata("m", "m1"); 3109var project = ProjectRootElement.Create(); 3143var project = ProjectRootElement.Create(); 3184var element = ProjectRootElement.Create().AddTarget("t").AddPropertyGroup().AddProperty("p", "v1");
Construction\ElementLocationPublic_Tests.cs (3)
29ProjectRootElement project = ProjectRootElement.Create(); 46ProjectRootElement project = ProjectRootElement.Create(); 67ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectImportElement_Tests.cs (4)
29ProjectRootElement project = ProjectRootElement.Create(); 163ProjectRootElement importProject1 = ProjectRootElement.Create(); 168ProjectRootElement importProject2 = ProjectRootElement.Create(); 207ProjectRootElement importProject = ProjectRootElement.Create();
Construction\ProjectImportGroupElement_Tests.cs (3)
147ProjectRootElement project = ProjectRootElement.Create(); 371ProjectRootElement project = ProjectRootElement.Create(); 388ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectItemDefinitionElement_Tests.cs (1)
206ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectItemDefinitionGroupElement_Tests.cs (3)
25ProjectRootElement project = ProjectRootElement.Create(); 101ProjectRootElement project = ProjectRootElement.Create(); 118ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectItemElement_Tests.cs (2)
1005ProjectRootElement project = ProjectRootElement.Create(); 1025ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectItemGroupElement_tests.cs (3)
25ProjectRootElement project = ProjectRootElement.Create(); 81ProjectRootElement project = ProjectRootElement.Create(); 98ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectOnErrorElement_Tests.cs (2)
258ProjectRootElement project = ProjectRootElement.Create(); 276ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectPropertyElement_Tests.cs (2)
174ProjectRootElement project = ProjectRootElement.Create(); 256ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectPropertyGroupElement_Tests.cs (4)
24ProjectRootElement project = ProjectRootElement.Create(); 79ProjectRootElement project = ProjectRootElement.Create(); 96ProjectRootElement project = ProjectRootElement.Create(); 113ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectRootElement_Tests.cs (19)
106ProjectRootElement project = ProjectRootElement.Create(); 121ProjectRootElement project = ProjectRootElement.Create(); 134ProjectRootElement project = ProjectRootElement.Create(); 147ProjectRootElement project = ProjectRootElement.Create(); 160ProjectRootElement project = ProjectRootElement.Create(); 175ProjectRootElement projectXml1 = ProjectRootElement.Create(); 190ProjectRootElement projectXml1 = ProjectRootElement.Create(); 206ProjectRootElement projectXml1 = ProjectRootElement.Create(); 259ProjectRootElement projectXml1 = ProjectRootElement.Create(); 262ProjectRootElement projectXml2 = ProjectRootElement.Create(); 572ProjectRootElement project = ProjectRootElement.Create(); 599ProjectRootElement project = ProjectRootElement.Create(); 633ProjectRootElement project = ProjectRootElement.Create(); 660ProjectRootElement project = ProjectRootElement.Create(); 696ProjectRootElement project = ProjectRootElement.Create(); 1162var pre = ProjectRootElement.Create(); 1210var pre = ProjectRootElement.Create(); 1225var pre = ProjectRootElement.Create(); 1907var pre3 = ProjectRootElement.Create();
Construction\ProjectTargetElement_Tests.cs (9)
33ProjectRootElement project = ProjectRootElement.Create(); 43ProjectRootElement project = ProjectRootElement.Create(); 219ProjectRootElement project = ProjectRootElement.Create(); 235ProjectRootElement project = ProjectRootElement.Create(); 251ProjectRootElement project = ProjectRootElement.Create(); 267ProjectRootElement project = ProjectRootElement.Create(); 283ProjectRootElement project = ProjectRootElement.Create(); 299ProjectRootElement project = ProjectRootElement.Create(); 316ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectTaskElement_Tests.cs (2)
273ProjectRootElement project = ProjectRootElement.Create(); 288ProjectRootElement project = ProjectRootElement.Create();
Construction\ProjectUsingTaskElement_Tests.cs (4)
26ProjectRootElement project = ProjectRootElement.Create(); 303ProjectRootElement project = ProjectRootElement.Create(); 318ProjectRootElement project = ProjectRootElement.Create(); 333ProjectRootElement project = ProjectRootElement.Create();
Definition\DefinitionEditing_Tests.cs (2)
1523ProjectRootElement xml = ProjectRootElement.Create(); 2045ProjectRootElement xml = ProjectRootElement.Create();
Definition\Project_Tests.cs (15)
273XmlReader reader = XmlReader.Create(new StringReader(ProjectRootElement.Create().RawXml)); 324ProjectRootElement xml = ProjectRootElement.Create(); 338ProjectRootElement xml = ProjectRootElement.Create(); 366ProjectRootElement xml = ProjectRootElement.Create(); 388ProjectRootElement xml = ProjectRootElement.Create(); 963Project project = new Project(ProjectRootElement.Create(), initial, null); 1084ProjectRootElement xml = ProjectRootElement.Create(); 1364ProjectRootElement.Create().Save(path); 1741ProjectRootElement projectConstruction = ProjectRootElement.Create(); 2141ProjectRootElement xml = ProjectRootElement.Create(); 2155ProjectRootElement xml = ProjectRootElement.Create(); 2169ProjectRootElement xml = ProjectRootElement.Create(); 2378ProjectRootElement root1 = ProjectRootElement.Create(); 2380ProjectRootElement root2 = ProjectRootElement.Create(); 4239ProjectRootElement projectXml = ProjectRootElement.Create();
Definition\ProjectCollection_Tests.cs (5)
300ProjectRootElement xml = ProjectRootElement.Create(); 408ProjectRootElement xml = ProjectRootElement.Create(); 508ProjectRootElement xml = ProjectRootElement.Create(); 1462ProjectRootElement xml = ProjectRootElement.Create(); 1473ProjectRootElement xml = ProjectRootElement.Create();
Definition\ProjectItem_Tests.cs (6)
1891ProjectRootElement xml = ProjectRootElement.Create(); 1915ProjectRootElement xml = ProjectRootElement.Create(); 1948ProjectRootElement xml = ProjectRootElement.Create(); 2063ProjectRootElement xml = ProjectRootElement.Create(); 2094ProjectRootElement xml = ProjectRootElement.Create(); 2126ProjectRootElement xml = ProjectRootElement.Create();
Definition\ProjectItemDefinition_Tests.cs (6)
32ProjectRootElement xml = ProjectRootElement.Create(); 59ProjectRootElement xml = ProjectRootElement.Create(); 79ProjectRootElement xml = ProjectRootElement.Create(); 99ProjectRootElement xml = ProjectRootElement.Create(); 130ProjectRootElement main = ProjectRootElement.Create(); 160ProjectRootElement main = ProjectRootElement.Create();
Definition\ProjectMetadata_Tests.cs (1)
465ProjectRootElement xml = ProjectRootElement.Create();
Definition\ProjectProperty_Tests.cs (1)
270ProjectRootElement xml = ProjectRootElement.Create();
Instance\ProjectInstance_Tests.cs (6)
204Project p = new Project(ProjectRootElement.Create(), globals, null); 346ProjectInstance instance = new ProjectInstance(ProjectRootElement.Create()); 358ProjectInstance instance = new ProjectInstance(ProjectRootElement.Create()); 370ProjectInstance instance = new ProjectInstance(ProjectRootElement.Create()); 381ProjectRootElement xml = ProjectRootElement.Create(); 1042ProjectRootElement xml = ProjectRootElement.Create();
Instance\ProjectTargetInstance_Tests.cs (3)
52ProjectRootElement projectXml = ProjectRootElement.Create(); 72ProjectRootElement projectXml = ProjectRootElement.Create(); 92ProjectRootElement projectXml = ProjectRootElement.Create();
Microsoft.Build.Engine.UnitTests (56)
BackEnd\TaskHost_Tests.cs (1)
78configuration.Project = new ProjectInstance(ProjectRootElement.Create());
BackEnd\TaskRegistry_Tests.cs (31)
105ProjectRootElement project = ProjectRootElement.Create(); 139ProjectRootElement project = ProjectRootElement.Create(); 181ProjectRootElement project = ProjectRootElement.Create(); 246ProjectRootElement project = ProjectRootElement.Create(); 285ProjectRootElement project = ProjectRootElement.Create(); 313ProjectRootElement project = ProjectRootElement.Create(); 354ProjectRootElement project = ProjectRootElement.Create(); 390ProjectRootElement project = ProjectRootElement.Create(); 426ProjectRootElement project = ProjectRootElement.Create(); 464ProjectRootElement project = ProjectRootElement.Create(); 502ProjectRootElement project = ProjectRootElement.Create(); 569ProjectRootElement project = ProjectRootElement.Create(); 610ProjectRootElement project = ProjectRootElement.Create(); 698ProjectRootElement project = ProjectRootElement.Create(); 771ProjectRootElement project = ProjectRootElement.Create(); 823ProjectRootElement project = ProjectRootElement.Create(); 937ProjectRootElement project = ProjectRootElement.Create(); 985ProjectRootElement project = ProjectRootElement.Create(); 1047ProjectRootElement project = ProjectRootElement.Create(); 1110ProjectRootElement project = ProjectRootElement.Create(); 1163ProjectRootElement project = ProjectRootElement.Create(); 1214ProjectRootElement project = ProjectRootElement.Create(); 1238ProjectRootElement project = ProjectRootElement.Create(); 1263ProjectRootElement project = ProjectRootElement.Create(); 1295ProjectRootElement project = ProjectRootElement.Create(); 1665ProjectRootElement project = ProjectRootElement.Create(); 1728ProjectRootElement project = ProjectRootElement.Create(); 1752ProjectRootElement project = ProjectRootElement.Create(); 1907ProjectRootElement project = ProjectRootElement.Create(); 2137ProjectRootElement project = ProjectRootElement.Create(); 2155ProjectRootElement project = ProjectRootElement.Create();
Construction\SolutionProjectGenerator_Tests.cs (5)
302ProjectRootElement projectXml = ProjectRootElement.Create(); 845ProjectRootElement projectXml = ProjectRootElement.Create(); 1098ProjectRootElement projectXml = ProjectRootElement.Create(); 1168ProjectRootElement projectXml = ProjectRootElement.Create(); 1213ProjectRootElement projectXml = ProjectRootElement.Create();
Definition\ProjectEvaluationContext_Tests.cs (1)
249ProjectRootElement.Create(),
Evaluation\Evaluator_Tests.cs (3)
1824ProjectRootElement import = ProjectRootElement.Create(); 2713ProjectRootElement xml = ProjectRootElement.Create(); 2730ProjectRootElement xml = ProjectRootElement.Create();
ExpressionTree_Tests.cs (6)
183ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create()); 213ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create()); 248ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create()); 280ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create()); 297ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create()); 326ProjectInstance parentProject = new ProjectInstance(ProjectRootElement.Create());
ExpressionTreeExpression_Tests.cs (1)
371ProjectRootElement xml = ProjectRootElement.Create();
Graph\ProjectGraph_Tests.cs (8)
820ProjectRootElement project1Xml = ProjectRootElement.Create(); 825ProjectRootElement project2Xml = ProjectRootElement.Create(); 831ProjectRootElement project3Xml = ProjectRootElement.Create(); 837ProjectRootElement project4Xml = ProjectRootElement.Create(); 838ProjectRootElement project5Xml = ProjectRootElement.Create(); 839ProjectRootElement project6Xml = ProjectRootElement.Create(); 840ProjectRootElement project7Xml = ProjectRootElement.Create(); 841ProjectRootElement project8Xml = ProjectRootElement.Create();
Microsoft.DotNet.Arcade.Sdk (1)
src\SaveItems.cs (1)
31var project = ProjectRootElement.Create();