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