11 references to IsSizeOptimized
System.Linq (11)
System\Linq\AnyAll.cs (1)
23
if (!
IsSizeOptimized
&& source is Iterator<TSource> iterator)
System\Linq\Contains.cs (1)
17
if (!
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)
170
return !
IsSizeOptimized
&& objectSource is object[] array ?
183
if (!
IsSizeOptimized
&&
System\Linq\Select.cs (2)
33
if (
IsSizeOptimized
&& typeof(TResult).IsValueType)
47
if (
IsSizeOptimized
)
System\Linq\ToCollection.cs (2)
14
if (!
IsSizeOptimized
&& source is Iterator<TSource> iterator)
65
if (!
IsSizeOptimized
&& source is Iterator<TSource> iterator)
System\Linq\Where.cs (1)
30
if (
IsSizeOptimized
&& source is IList<TSource> sourceList)