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