Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetEnumerable()

override IEnumerable< TSource > System.Linq.Enumerable.ConcatNIterator< TSource >.GetEnumerable ( int index)
inlinepackage

Definition at line 585 of file Enumerable.cs.

586 {
587 if (index > _headIndex)
588 {
589 return null;
590 }
593 do
594 {
596 if (index == concatNIterator2._headIndex)
597 {
598 return concatNIterator2._head;
599 }
600 }
601 while ((concatNIterator = concatNIterator2.PreviousN) != null);
602 return concatNIterator2._tail.GetEnumerable(index);
603 }

References System.Linq.Enumerable.ConcatNIterator< TSource >._headIndex, and System.Linq.index.

Referenced by System.Linq.Enumerable.ConcatNIterator< TSource >.LazyToArray().