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)
51if (!_itemsByType.TryGetValue(itemType, out ICollection<TCached>? list)) 64public ICollection<string> ItemTypes => _itemsByType.Keys; 99foreach (var kvp in _itemsByType) 153if (_itemsByType.TryGetValue(itemType, out ICollection<TCached>? items)) 162public bool HasEmptyMarker(string itemType) => _itemsByType.Values.Any(list => list.Count == 0);