2 writes to _enumerator
System.Linq (2)
System\Linq\SkipTake.SpeedOpt.cs (2)
241
_enumerator
= null;
292
_enumerator
= _source.GetEnumerator();
7 references to _enumerator
System.Linq (7)
System\Linq\SkipTake.SpeedOpt.cs (7)
238
if (
_enumerator
is not null)
240
_enumerator
.Dispose();
296
Debug.Assert(
_enumerator
is not null);
297
if (!SkipBeforeFirst(
_enumerator
))
306
Debug.Assert(
_enumerator
is not null);
307
if ((!HasLimit || taken < Limit) &&
_enumerator
.MoveNext())
316
_current =
_enumerator
.Current;