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