25 references to ItemGroups
Microsoft.Build (4)
BuildCheck\Infrastructure\BuildEventsProcessor.cs (1)
94
new ItemsHolder(xml.Items, xml.
ItemGroups
));
Construction\ProjectRootElement.cs (1)
992
foreach (ProjectItemGroupElement itemGroup in
ItemGroups
)
Definition\Project.cs (2)
3060
foreach (ProjectItemGroupElement group in Xml.
ItemGroups
)
3860
foreach (ProjectItemGroupElement itemGroupXml in Xml.
ItemGroups
)
Microsoft.Build.Engine.OM.UnitTests (21)
Construction\ConstructionEditing_Tests.cs (3)
1610
Assert.Equal(itemGroup2, Helpers.GetLast(project.
ItemGroups
));
1652
Assert.Equal(itemGroup2, Helpers.GetLast(project.
ItemGroups
));
1789
Assert.Equal(item, Helpers.GetFirst(Helpers.GetFirst(project.
ItemGroups
).Items));
Construction\ProjectItemGroupElement_tests.cs (3)
27
Assert.Empty(project.
ItemGroups
);
85
ProjectItemGroupElement itemGroup = Helpers.GetFirst(project.
ItemGroups
);
102
ProjectItemGroupElement itemGroup = Helpers.GetFirst(project.
ItemGroups
);
Construction\ProjectRootElement_Tests.cs (1)
544
Console.WriteLine(@"Root ItemGroups: {0}", Helpers.MakeList(project.
ItemGroups
).Count);
Construction\WhiteSpacePreservation_Tests.cs (3)
257
(pe, p) => { pe.
ItemGroups
.ElementAt(1).AddItem("i2", "b"); });
330
(pe, p) => { pe.
ItemGroups
.First().AddItem("i2", "b"); });
404
var itemGroup = pe.
ItemGroups
.First();
Definition\DefinitionEditing_Tests.cs (7)
898
ProjectItemElement newItemElement = Helpers.GetFirst((Helpers.GetFirst(project.Xml.
ItemGroups
)).Items);
926
ProjectItemElement newItemElement = Helpers.GetLast((Helpers.GetLast(project.Xml.
ItemGroups
)).Items);
952
ProjectItemElement newItemElement = Helpers.GetLast((Helpers.GetLast(project.Xml.
ItemGroups
)).Items);
1188
ProjectItemGroupElement itemGroupElement = Helpers.GetFirst(project.Xml.
ItemGroups
);
1236
ProjectItemElement itemElement = Helpers.GetFirst(Helpers.GetFirst(project.Xml.
ItemGroups
).Items);
1282
ProjectItemGroupElement itemGroupElement = Helpers.GetFirst(project.Xml.
ItemGroups
);
1764
project.Xml.
ItemGroups
.First().Parent.RemoveAllChildren();
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
549
ViewValidation.Verify(viewXml.
ItemGroups
, realXml.
ItemGroups
, Verify, context);
ObjectModelRemoting\LinkedConstructionReadOnly_Tests.cs (2)
179
var realItemGroups = preReal.
ItemGroups
.ToList();
180
var viewItemGroups = preView.
ItemGroups
.ToList();