2 overrides of GetEnumerable
System.Linq (2)
System\Linq\Union.cs (2)
228internal override IEnumerable<TSource>? GetEnumerable(int index) 267internal override IEnumerable<TSource>? GetEnumerable(int index) => index > _headIndex ? null : _sources.GetNode(_headIndex - index).Item;
5 references to GetEnumerable
System.Linq (5)
System\Linq\Union.cs (3)
170for (IEnumerable<TSource>? enumerable = GetEnumerable(0); enumerable is not null; enumerable = GetEnumerable(_state - 1)) 192IEnumerable<TSource>? enumerable = GetEnumerable(_state - 1);
System\Linq\Union.SpeedOpt.cs (2)
17IEnumerable<TSource>? enumerable = GetEnumerable(index); 36for (int i = 0; (source = GetEnumerable(i)) is not null; i++)