8[DebuggerDisplay(
"Count = 0")]
13 [
ExcludeFromCodeCoverage(Justification =
"Shouldn't be called, and as undefined can return or throw anything anyway")]
14 public TElement
Current =>
default(TElement);
16 [
ExcludeFromCodeCoverage(Justification =
"Shouldn't be called, and as undefined can return or throw anything anyway")]
17 object IEnumerator.Current =>
null;
59 return default(TElement);
65 return default(TElement);
71 return default(TElement);
76 return Array.Empty<TElement>();
static readonly IPartition< TElement > Instance
TElement TryGetFirst(out bool found)
IEnumerator< TElement > GetEnumerator()
int GetCount(bool onlyIfCheap)
IPartition< TElement > Skip(int count)
TElement TryGetLast(out bool found)
TElement TryGetElementAt(int index, out bool found)
IPartition< TElement > Take(int count)
List< TElement > ToList()
new IEnumerator< T > GetEnumerator()