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