11 references to IsSizeOptimized
System.Linq (11)
System\Linq\AnyAll.cs (1)
23if (!IsSizeOptimized && source is Iterator<TSource> iterator)
System\Linq\Contains.cs (1)
17if (!IsSizeOptimized && source is Iterator<TSource> iterator)
System\Linq\First.cs (1)
73!IsSizeOptimized && source is Iterator<TSource> iterator ? iterator.TryGetFirst(out found) :
System\Linq\Iterator.cs (1)
91!IsSizeOptimized
System\Linq\OfType.SpeedOpt.cs (2)
170return !IsSizeOptimized && objectSource is object[] array ? 183if (!IsSizeOptimized &&
System\Linq\Select.cs (2)
33if (IsSizeOptimized && typeof(TResult).IsValueType) 47if (IsSizeOptimized)
System\Linq\ToCollection.cs (2)
14if (!IsSizeOptimized && source is Iterator<TSource> iterator) 65if (!IsSizeOptimized && source is Iterator<TSource> iterator)
System\Linq\Where.cs (1)
30if (IsSizeOptimized && source is IList<TSource> sourceList)