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