1 write to _itemsByType
Microsoft.Build (1)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (1)
37
_itemsByType
= itemsByType ?? throw new ArgumentNullException(nameof(itemsByType));
4 references to _itemsByType
Microsoft.Build (4)
Instance\ImmutableProjectCollections\ImmutableItemDictionary.cs (4)
46
if (!
_itemsByType
.TryGetValue(itemType, out ICollection<TCached>? list))
59
public ICollection<string> ItemTypes =>
_itemsByType
.Keys;
70
foreach (var kvp in
_itemsByType
)
124
if (
_itemsByType
.TryGetValue(itemType, out ICollection<TCached>? items))