Implemented interface member:
method
Add
System.Collections.Generic.ISet<T>.Add(T)
17 references to Add
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
122routeKeys.Add(key);
Microsoft.Build (2)
Evaluation\Expander.cs (1)
2513directories.Add(directoryName);
Graph\ProjectGraph.cs (1)
761if (seenTargets.Add(targetList[i]))
Microsoft.DotNet.Build.Tasks.Packaging (1)
ApplyBaseLine.cs (1)
69versions.Add(new Version(baseLinePackage.GetMetadata("Version")));
System.Collections (10)
System\Collections\Generic\SortedDictionary.cs (4)
49_set.Add(pair); 61_set.Add(keyValuePair); 133_set.Add(new KeyValuePair<TKey, TValue>(key, value)); 199_set.Add(new KeyValuePair<TKey, TValue>(key, value));
System\Collections\Generic\SortedSet.cs (6)
143Add(item); 301void ICollection<T>.Add(T item) => Add(item); 1064Add(item); 1144bool result = Contains(item) ? Remove(item) : Add(item); 1167bool result = Contains(current) ? Remove(current) : Add(current); 1577Add(items[i]);
System.Collections.Immutable (3)
System\Collections\Immutable\ImmutableArray_1.Builder.cs (1)
629while (index >= 0 && !indicesToRemove.Add(index) && index + 1 < _count)
System\Collections\Immutable\ImmutableArray_1.cs (2)
702} while (index >= 0 && !indicesToRemove.Add(index) && index < self.Length - 1); 1002} while (index >= 0 && !indicesToRemove.Add(index) && index < self.Length - 1);