1 write to _comparer
System.Linq (1)
System\Linq\Union.cs (1)
109
_comparer
= comparer;
8 references to _comparer
System.Linq (8)
System\Linq\Union.cs (7)
26
return first is UnionIterator<TSource> union && AreEqualityComparersEqual(comparer, union.
_comparer
) ? union.Union(second) : new UnionIterator2<TSource>(first, second, comparer);
139
var set = new HashSet<TSource>(DefaultInternalSetCapacity,
_comparer
);
226
private protected override Iterator<TSource> Clone() => new UnionIterator2<TSource>(_first, _second,
_comparer
);
242
return new UnionIteratorN<TSource>(sources, 2,
_comparer
);
265
private protected override Iterator<TSource> Clone() => new UnionIteratorN<TSource>(_sources, _headIndex,
_comparer
);
276
return new UnionIterator2<TSource>(this, next,
_comparer
);
279
return new UnionIteratorN<TSource>(_sources.Add(next), _headIndex + 1,
_comparer
);
System\Linq\Union.SpeedOpt.cs (1)
14
var set = new HashSet<TSource>(
_comparer
);