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