45 references to AddItemGroup
installer.tasks (1)
GenerateFileVersionProps.cs (1)
127var itemGroup = props.AddItemGroup();
Microsoft.Build (4)
Construction\ProjectRootElement.cs (1)
1017itemGroupToAddTo = AddItemGroup();
Definition\Project.cs (1)
3077groupToAppendTo = Xml.AddItemGroup();
Evaluation\Evaluator.cs (1)
1934var itemGroup = project.AddItemGroup();
Instance\ProjectInstance.cs (1)
2293ProjectItemGroupElement itemGroupElement = rootElement.AddItemGroup();
Microsoft.Build.Engine.OM.UnitTests (39)
Construction\ConstructionEditing_Tests.cs (29)
1075var itemGroup = project.AddItemGroup(); 1583project.AddItemGroup(); 1600project.AddItemGroup(); 1601ProjectItemGroupElement itemGroup2 = project.AddItemGroup(); 1621project.AddItemGroup(); 1640project.AddItemGroup(); 1642ProjectItemGroupElement itemGroup2 = project.AddItemGroup(); 1664project.AddItemGroup(); 1703project.AddItemGroup(); 1724ProjectItemGroupElement itemGroup = project.AddItemGroup(); 1747ProjectItemGroupElement itemGroup = project.AddItemGroup(); 1749project.AddItemGroup(); 1773project.AddItemGroup(); 1774ProjectItemGroupElement itemGroup = project.AddItemGroup(); 1970ProjectItemGroupElement itemGroup = project.AddItemGroup(); 2373ProjectItemGroupElement group1 = xml.AddItemGroup(); 2379ProjectItemGroupElement group2 = xml.AddItemGroup(); 2396ProjectItemGroupElement group1 = xml.AddItemGroup(); 2402ProjectItemGroupElement group2 = xml.AddItemGroup(); 2419ProjectItemGroupElement group1 = xml.AddItemGroup(); 2425ProjectItemGroupElement group2 = xml.AddItemGroup(); 2442ProjectItemGroupElement group1 = xml.AddItemGroup(); 2448ProjectItemGroupElement group2 = xml.AddItemGroup(); 2465ProjectItemGroupElement group1 = xml.AddItemGroup(); 2471ProjectItemGroupElement group2 = xml.AddItemGroup(); 2488ProjectItemGroupElement group1 = xml.AddItemGroup(); 2495ProjectItemGroupElement group2 = xml.AddItemGroup(); 3110var itemGroup = project.AddItemGroup(); 3144var itemGroup = project.AddItemGroup();
Construction\ProjectItemElement_Tests.cs (1)
1027ProjectItemElement item = project.AddItemGroup().AddItem("i", "i1");
Construction\ProjectItemGroupElement_tests.cs (2)
82project.AddItemGroup(); 99project.AddItemGroup();
Construction\ProjectRootElement_Tests.cs (1)
1167var ig = pre.AddItemGroup();
Construction\WhiteSpacePreservation_Tests.cs (2)
42pe.AddItemGroup(); 102var itemGroup = pe.AddItemGroup();
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (2)
86xmlPair.Add2NewLabeledChildrenWithVerify<ProjectItemGroupElement>("ItemGroup", (p, l) => p.AddItemGroup(), out var itemGroup1, out var itemGroup2); 694var itemGrp = xmlPair.AddNewLabeledChaildWithVerify<ProjectItemGroupElement>(ObjectType.View, "igrp", (p, s) => p.AddItemGroup());
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (2)
165var newCopyFrom = xmlPair.AddNewLabeledChaildWithVerify<ProjectItemGroupElement>(ObjectType.View, "newGrop", (p, l) => p.AddItemGroup()); 183var newDeepCopy = xmlPair.AddNewLabeledChaildWithVerify<ProjectItemGroupElement>(ObjectType.View, "newGrop", (p, l) => p.AddItemGroup());
Microsoft.Build.Engine.UnitTests (1)
EscapingInProjects_Tests.cs (1)
646ProjectItemGroupElement itemgroup = projectElement.AddItemGroup();