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