13 references to Add
System.Core (13)
System\Linq\Enumerable.cs (6)
839
if (set.
Add
(element)) yield return element;
859
if (set.
Add
(element)) yield return element;
861
if (set.
Add
(element)) yield return element;
880
foreach (TSource element in second) set.
Add
(element);
901
foreach (TSource element in second) set.
Add
(element);
903
if (set.
Add
(element)) yield return element;
System\Linq\Parallel\QueryOperators\Binary\ExceptQueryOperator.cs (3)
195
m_hashLookup.
Add
(rightElement.First);
208
if (m_hashLookup.
Add
(leftElement.First))
281
rightLookup.
Add
(rightElement.First);
System\Linq\Parallel\QueryOperators\Binary\IntersectQueryOperator.cs (1)
183
m_hashLookup.
Add
(rightElement.First);
System\Linq\Parallel\QueryOperators\Binary\UnionQueryOperator.cs (2)
247
if (m_hashLookup.
Add
(currentLeftElement.First))
274
if (m_hashLookup.
Add
(currentRightElement.First))
System\Linq\Parallel\QueryOperators\Unary\DistinctQueryOperator.cs (1)
167
if (m_hashLookup.
Add
(current.First))