11 references to HasLimit
System.Linq (11)
System\Linq\SkipTake.SpeedOpt.cs (11)
254
if (!
HasLimit
)
307
if ((!
HasLimit
|| taken < Limit) && _enumerator.MoveNext())
309
if (
HasLimit
)
331
if (!
HasLimit
)
356
if (!
HasLimit
)
384
if (index >= 0 && (!
HasLimit
|| index < Limit))
409
Debug.Assert(!
HasLimit
|| Limit > 0);
435
return !
HasLimit
?
445
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
471
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
499
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.