Implemented interface members:
method
Contains
System.Collections.Generic.ICollection<T>.Contains(T)
method
Contains
System.Collections.Generic.IReadOnlySet<T>.Contains(T)
1 override of Contains
System.Collections (1)
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
68public override bool Contains(T item)
13 references to Contains
Microsoft.Build (1)
Evaluation\Expander.cs (1)
2507if (directories.Contains(directoryName))
System.Collections (12)
System\Collections\Generic\SortedDictionary.cs (1)
211return _set.Contains(new KeyValuePair<TKey, TValue>(key, default(TValue)!));
System\Collections\Generic\SortedSet.cs (10)
141if (!Contains(item)) 154if (!(comparer.Compare(item, min) < 0 || comparer.Compare(item, max) > 0) && Contains(item)) 165if (!Contains(item)) 1055if (Contains(item)) 1144bool result = Contains(item) ? Remove(item) : Add(item); 1167bool result = Contains(current) ? Remove(current) : Add(current); 1202if (!prunedOther.Contains(item)) 1249if (!pruned.Contains(item)) 1278if (!pruned.Contains(item)) 1337if (Contains(item))
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
74return base.Contains(item);