11 references to HasLimit
System.Linq (11)
System\Linq\SkipTake.SpeedOpt.cs (11)
254
if (!
HasLimit
)
305
if ((!
HasLimit
|| taken < Limit) && _enumerator.MoveNext())
307
if (
HasLimit
)
329
if (!
HasLimit
)
354
if (!
HasLimit
)
382
if (index >= 0 && (!
HasLimit
|| index < Limit))
405
Debug.Assert(!
HasLimit
|| Limit > 0);
431
return !
HasLimit
?
441
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
467
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.