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