10 references to HasLimit
System.Linq (10)
System\Linq\SkipTake.SpeedOpt.cs (10)
269
if (!
HasLimit
)
320
if ((!
HasLimit
|| taken < Limit) && _enumerator.MoveNext())
322
if (
HasLimit
)
344
if (!
HasLimit
)
369
if (!
HasLimit
)
397
if (index >= 0 && (!
HasLimit
|| index < Limit))
420
Debug.Assert(!
HasLimit
|| Limit > 0);
459
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
485
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.
513
int comparand =
HasLimit
? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.