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