2 implementations of ItemTypes
Microsoft.Build (2)
Collections\ItemDictionary.cs (1)
94
public ICollection<string>
ItemTypes
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
61
public ICollection<string>
ItemTypes
=> _itemsByType.Keys;
15 references to ItemTypes
Microsoft.Build (5)
Definition\Project.cs (1)
4185
public ICollection<string> ItemTypes => Items.
ItemTypes
;
Instance\ProjectInstance.cs (4)
1110
return _items.
ItemTypes
;
2291
foreach (string itemType in _items.
ItemTypes
)
2506
int typeCount = _items.
ItemTypes
.Count;
2509
foreach (string itemType in _items.
ItemTypes
)
Microsoft.Build.Engine.UnitTests (10)
BackEnd\IntrinsicTask_Tests.cs (10)
2304
Assert.Empty(p.ItemsToBuildWith.
ItemTypes
);
2309
Assert.Single(p.ItemsToBuildWith.
ItemTypes
);
2337
Assert.Empty(p.ItemsToBuildWith.
ItemTypes
);
2342
Assert.Single(p.ItemsToBuildWith.
ItemTypes
);
2375
Assert.Equal(2, p.ItemsToBuildWith.
ItemTypes
.Count);
2380
Assert.Equal(2, p.ItemsToBuildWith.
ItemTypes
.Count);
2411
Assert.Empty(p.ItemsToBuildWith.
ItemTypes
);
2416
Assert.Single(p.ItemsToBuildWith.
ItemTypes
);
2449
Assert.Equal(2, p.ItemsToBuildWith.
ItemTypes
.Count);
2455
Assert.Single(p.ItemsToBuildWith.
ItemTypes
);