1 write to _itemsByType
Microsoft.Build (1)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
41
_itemsByType
= itemsByType ?? throw new ArgumentNullException(nameof(itemsByType));
5 references to _itemsByType
Microsoft.Build (5)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (5)
51
if (!
_itemsByType
.TryGetValue(itemType, out ICollection<TCached>? list))
64
public ICollection<string> ItemTypes =>
_itemsByType
.Keys;
99
foreach (var kvp in
_itemsByType
)
153
if (
_itemsByType
.TryGetValue(itemType, out ICollection<TCached>? items))
162
public bool HasEmptyMarker(string itemType) =>
_itemsByType
.Values.Any(list => list.Count == 0);