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