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