2 overrides of AddIfNotPresent
System.Collections (2)
System\Collections\Generic\SortedDictionary.cs (1)
893
internal override bool
AddIfNotPresent
(T item)
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
52
internal override bool
AddIfNotPresent
(T item)
3 references to AddIfNotPresent
System.Collections (3)
System\Collections\Generic\SortedDictionary.cs (1)
895
bool ret = base.
AddIfNotPresent
(item);
System\Collections\Generic\SortedSet.cs (1)
299
public bool Add(T item) =>
AddIfNotPresent
(item); // Hack so the implementation can be made virtual
System\Collections\Generic\SortedSet.TreeSubSet.cs (1)
59
bool ret = _underlying.
AddIfNotPresent
(item);