35 references to Items
Microsoft.Build (8)
Construction\ProjectItemGroupElement.cs (1)
109foreach (ProjectItemElement item in Items)
Construction\ProjectRootElement.cs (1)
1004if (itemGroup.Items.Any(item => MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, item.ItemType)))
Definition\Project.cs (4)
3067if (group.Count == 0 || MSBuildNameIgnoreCaseComparer.Default.Equals(itemType, group.Items.First().ItemType)) 3084!IsSuitableExistingItemXml(groupToAppendTo.Items.First(), unevaluatedInclude, metadata)) 3091itemElement = groupToAppendTo.Items.First(); 3877foreach (ProjectItemElement existingItemXml in itemGroupXml.Items)
Evaluation\Evaluator.cs (2)
500foreach (ProjectItemElement itemElement in itemGroupElement.Items) 1015foreach (ProjectItemElement itemElement in itemGroupElement.Items)
Microsoft.Build.Engine.OM.UnitTests (27)
Construction\ConstructionEditing_Tests.cs (1)
1789Assert.Equal(item, Helpers.GetFirst(Helpers.GetFirst(project.ItemGroups).Items));
Construction\ProjectItemElement_Tests.cs (2)
361var items = Helpers.MakeList(itemGroup.Items); 413ProjectItemElement item = Helpers.GetFirst(itemGroup.Items);
Construction\ProjectItemGroupElement_tests.cs (2)
46Assert.Equal(0, Helpers.Count(group.Items)); 68var items = Helpers.MakeList(group.Items);
Construction\ProjectMetadataElement_Tests.cs (10)
303var items = Helpers.MakeList(itemGroup.Items); 431var items = Helpers.MakeList(itemGroup.Items); 490var items = Helpers.MakeList(itemGroup.Items); 567var items = Helpers.MakeList(itemGroup.Items); 684var items = Helpers.MakeList(itemGroup.Items); 813var items = Helpers.MakeList(itemGroup.Items); 945var items = Helpers.MakeList(itemGroup.Items); 1060var items = Helpers.MakeList(itemGroup.Items); 1171var items = Helpers.MakeList(itemGroup.Items); 1272ProjectItemElement item = Helpers.GetFirst(itemGroup.Items);
Definition\DefinitionEditing_Tests.cs (6)
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); 1189Assert.Single(Helpers.MakeList(itemGroupElement.Items)); 1236ProjectItemElement itemElement = Helpers.GetFirst(Helpers.GetFirst(project.Xml.ItemGroups).Items); 1283Assert.Equal(2, Helpers.MakeList(itemGroupElement.Items).Count);
ObjectModelRemoting\Helpers\ViewValidation.construction.cs (2)
923Verify(viewXml.Items, realXml.Items, Verify, context);
ObjectModelRemoting\LinkedConstructionModify_Tests.cs (3)
696Assert.Empty(itemGrp.View.Items); 698Assert.Equal(2, itemGrp.View.Items.Count); 706Assert.Equal(4, itemGrp.View.Items.Count);
ObjectModelRemoting\LinkedSpecialCasesScenarios.cs (1)
173Assert.Empty(newCopyFrom.View.Items);