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)
238if (_enumerator is not null) 240_enumerator.Dispose(); 296Debug.Assert(_enumerator is not null); 297if (!SkipBeforeFirst(_enumerator)) 306Debug.Assert(_enumerator is not null); 307if ((!HasLimit || taken < Limit) && _enumerator.MoveNext()) 316_current = _enumerator.Current;