7 instantiations of ItemData
Microsoft.Build (7)
Utilities\Utilities.cs (7)
720.Select(t => t.itemValue.Select(itemValue => new ItemData(t.itemType, (IItemData)itemValue))) 727.Select(t => t.itemValue.Select(itemValue => new ItemData(t.itemType, (IItemData)itemValue))) 751.Select(i => new ItemData(i.ItemType, (IItemData)i)); 757.Select(i => new ItemData(i.ItemType, (IItemData)i)); 780.Select(i => new ItemData(i.ItemType, (IItemData)i))) 787.Select(i => new ItemData(i.ItemType, (IItemData)i))) 849yield return new ItemData(itemType!, itemValue);
22 references to ItemData
Microsoft.Build (20)
BuildCheck\Checks\CopyAlwaysCheck.cs (1)
71foreach (ItemData itemData in context.Data.EnumerateItemsOfTypes([ItemNames.Content, ItemNames.Compile, ItemNames.None, ItemNames.EmbeddedResource]))
BuildCheck\Checks\EmbeddedResourceCheck.cs (1)
46foreach (ItemData itemData in context.Data.EnumerateItemsOfType(ItemNames.EmbeddedResource))
BuildCheck\Checks\PreferProjectReferenceCheck.cs (1)
90foreach (ItemData itemData in context.Data.EnumerateItemsOfType(ItemNames.Reference))
BuildCheck\OM\ParsedItemsCheckData.cs (3)
76public IEnumerable<ItemData> EvaluatedItems => _evaluationFinishedEventArgs.EnumerateItems(); 81public IEnumerable<ItemData> EnumerateItemsOfType(string typeName) => _evaluationFinishedEventArgs.EnumerateItemsOfType(typeName); 86public IEnumerable<ItemData> EnumerateItemsOfTypes(string[] typeNames) => _evaluationFinishedEventArgs.EnumerateItemsOfTypes(typeNames);
Logging\BuildEventArgsExtensions.cs (9)
35public static IEnumerable<ItemData> EnumerateItems( 44public static IEnumerable<ItemData> EnumerateItemsOfType( 53public static IEnumerable<ItemData> EnumerateItemsOfTypes( 61public static IEnumerable<ItemData> EnumerateItems( 70public static IEnumerable<ItemData> EnumerateItemsOfType( 79public static IEnumerable<ItemData> EnumerateItemsOfTypes( 86private static IEnumerable<ItemData> EnumerateItems(IEnumerable? items) 89private static IEnumerable<ItemData> EnumerateItemsOfType(IEnumerable? items, string typeName) 92private static IEnumerable<ItemData> EnumerateItemsOfTypes(IEnumerable? items, string[] typeNames)
Utilities\Utilities.cs (5)
701public static IEnumerable<ItemData> EnumerateItems(IEnumerable items) 740public static IEnumerable<ItemData> EnumerateItemsOfType(IEnumerable items, string typeName) 769public static IEnumerable<ItemData> EnumerateItemsOfTypes(IEnumerable items, string[] typeNames) 801foreach (var tuple in EnumerateItems(items)) 813private static IEnumerable<ItemData> CastItemsOneByOne(IEnumerable items, string[] itemTypeNamesToFetch)
Microsoft.Build.Engine.UnitTests (2)
BuildEventArgsDataEnumeration.cs (2)
67List<ItemData> results = args.EnumerateItems().ToList(); 109List<ItemData> results = args.EnumerateItemsOfType("Key").ToList();