1 write to _headIndex
System.Linq (1)
System\Linq\Union.cs (1)
262
_headIndex
= headIndex;
5 references to _headIndex
System.Linq (5)
System\Linq\Union.cs (5)
265
private protected override Iterator<TSource> Clone() => new UnionIteratorN<TSource>(_sources,
_headIndex
, _comparer);
267
internal override IEnumerable<TSource>? GetEnumerable(int index) => index >
_headIndex
? null : _sources.GetNode(
_headIndex
- index).Item;
271
if (
_headIndex
== int.MaxValue - 2)
279
return new UnionIteratorN<TSource>(_sources.Add(next),
_headIndex
+ 1, _comparer);