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