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