10 references to HasLimit
System.Linq (10)
System\Linq\SkipTake.SpeedOpt.cs (10)
273if (!HasLimit) 324if ((!HasLimit || taken < Limit) && _enumerator.MoveNext()) 326if (HasLimit) 348if (!HasLimit) 373if (!HasLimit) 401if (index >= 0 && (!HasLimit || index < Limit)) 424Debug.Assert(!HasLimit || Limit > 0); 469int 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. 523int comparand = HasLimit ? 0 : int.MinValue; // If we don't have an upper bound, have the comparison always return true.