2 implementations of ItemTypes
Microsoft.Build (2)
Collections\ItemDictionary.cs (1)
94public ICollection<string> ItemTypes
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
64public ICollection<string> ItemTypes => _itemsByType.Keys;
15 references to ItemTypes
Microsoft.Build (5)
Definition\Project.cs (1)
4178public 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)
2305Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2310Assert.Single(p.ItemsToBuildWith.ItemTypes); 2338Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2343Assert.Single(p.ItemsToBuildWith.ItemTypes); 2376Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2381Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2412Assert.Empty(p.ItemsToBuildWith.ItemTypes); 2417Assert.Single(p.ItemsToBuildWith.ItemTypes); 2450Assert.Equal(2, p.ItemsToBuildWith.ItemTypes.Count); 2456Assert.Single(p.ItemsToBuildWith.ItemTypes);