10 references to HasLimit
System.Linq (10)
System\Linq\SkipTake.SpeedOpt.cs (10)
273
if (!
HasLimit
)
324
if ((!
HasLimit
|| taken < Limit) && _enumerator.MoveNext())
326
if (
HasLimit
)
348
if (!
HasLimit
)
373
if (!
HasLimit
)
401
if (index >= 0 && (!
HasLimit
|| index < Limit))
424
Debug.Assert(!
HasLimit
|| Limit > 0);
469
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
495
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
523
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.