21 references to TryGetSpan
System.Linq (21)
System\Linq\Aggregate.cs (3)
23if (source.TryGetSpan(out ReadOnlySpan<TSource> span)) 68if (source.TryGetSpan(out ReadOnlySpan<TSource> span)) 104if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\AnyAll.cs (2)
58if (source.TryGetSpan(out ReadOnlySpan<TSource> span)) 94if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\Average.cs (2)
18if (source.TryGetSpan(out ReadOnlySpan<int> span)) 92if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\Contains.cs (1)
40else if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\Count.cs (1)
63if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\First.cs (1)
117if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\Max.cs (2)
107if (source.TryGetSpan(out ReadOnlySpan<T> span)) 231if (source.TryGetSpan(out ReadOnlySpan<decimal> span))
System\Linq\MaxMin.cs (1)
33if (source.TryGetSpan(out ReadOnlySpan<T> span))
System\Linq\Min.cs (2)
89if (source.TryGetSpan(out ReadOnlySpan<T> span)) 210if (source.TryGetSpan(out ReadOnlySpan<decimal> span))
System\Linq\OrderedEnumerable.SpeedOpt.cs (1)
389if (TryGetSpan(_source, out ReadOnlySpan<TElement> span))
System\Linq\SegmentedArrayBuilder.cs (1)
142if (Enumerable.TryGetSpan(source, out ReadOnlySpan<T> sourceSpan))
System\Linq\SequenceEqual.cs (2)
27if (first.TryGetSpan(out ReadOnlySpan<TSource> firstSpan) && second.TryGetSpan(out ReadOnlySpan<TSource> secondSpan))
System\Linq\Single.cs (1)
120if (source.TryGetSpan(out ReadOnlySpan<TSource> span))
System\Linq\Sum.cs (1)
33if (source.TryGetSpan(out ReadOnlySpan<TSource> span))