94 references to Empty
System.Linq.AsyncEnumerable (94)
System\Linq\AggregateBy.cs (4)
46
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, TAccumulate>>() :
117
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, TAccumulate>>() :
184
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, TAccumulate>>() :
256
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, TAccumulate>>() :
System\Linq\Cast.cs (1)
25
source.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\Chunk.cs (1)
34
source.IsKnownEmpty() ?
Empty
<TSource[]>() :
System\Linq\CountBy.cs (2)
32
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, int>>() :
83
source.IsKnownEmpty() ?
Empty
<KeyValuePair<TKey, int>>() :
System\Linq\Distinct.cs (1)
25
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\DistinctBy.cs (2)
36
source.IsKnownEmpty() ?
Empty
<TSource>() :
86
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Except.cs (1)
30
first.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\ExceptBy.cs (2)
37
first.IsKnownEmpty() ?
Empty
<TSource>() :
97
first.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\FullJoin.cs (2)
46
Empty
<TResult>() :
165
Empty
<TResult>() :
System\Linq\GroupBy.cs (8)
36
source.IsKnownEmpty() ?
Empty
<IGrouping<TKey, TSource>>() :
73
source.IsKnownEmpty() ?
Empty
<IGrouping<TKey, TSource>>() :
119
source.IsKnownEmpty() ?
Empty
<IGrouping<TKey, TElement>>() :
166
source.IsKnownEmpty() ?
Empty
<IGrouping<TKey, TElement>>() :
212
source.IsKnownEmpty() ?
Empty
<TResult>() :
261
source.IsKnownEmpty() ?
Empty
<TResult>() :
314
source.IsKnownEmpty() ?
Empty
<TResult>() :
368
source.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\GroupJoin.cs (4)
44
outer.IsKnownEmpty() ?
Empty
<IGrouping<TOuter, TInner>>() :
100
outer.IsKnownEmpty() ?
Empty
<IGrouping<TOuter, TInner>>() :
166
outer.IsKnownEmpty() ?
Empty
<TResult>() :
231
outer.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\Index.cs (1)
24
source.IsKnownEmpty() ?
Empty
<(int Index, TSource Item)>() :
System\Linq\Intersect.cs (1)
30
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\IntersectBy.cs (2)
42
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<TSource>() :
107
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Join.cs (4)
48
outer.IsKnownEmpty() || inner.IsKnownEmpty() ?
Empty
<TResult>() :
121
outer.IsKnownEmpty() || inner.IsKnownEmpty() ?
Empty
<TResult>() :
190
outer.IsKnownEmpty() || inner.IsKnownEmpty() ?
Empty
<(TOuter Outer, TInner Inner)>() :
257
outer.IsKnownEmpty() || inner.IsKnownEmpty() ?
Empty
<(TOuter Outer, TInner Inner)>() :
System\Linq\LeftJoin.cs (4)
45
outer.IsKnownEmpty() ?
Empty
<TResult>() :
116
outer.IsKnownEmpty() ?
Empty
<TResult>() :
183
outer.IsKnownEmpty() ?
Empty
<(TOuter Outer, TInner? Inner)>() :
248
outer.IsKnownEmpty() ?
Empty
<(TOuter Outer, TInner? Inner)>() :
System\Linq\OfType.cs (1)
25
source.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\Range.cs (1)
20
return
Empty
<int>();
System\Linq\Repeat.cs (1)
20
return
Empty
<TResult>();
System\Linq\Reverse.cs (1)
23
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\RightJoin.cs (4)
45
inner.IsKnownEmpty() ?
Empty
<TResult>() :
117
inner.IsKnownEmpty() ?
Empty
<TResult>() :
184
inner.IsKnownEmpty() ?
Empty
<(TOuter? Outer, TInner Inner)>() :
250
inner.IsKnownEmpty() ?
Empty
<(TOuter? Outer, TInner Inner)>() :
System\Linq\Select.cs (4)
32
source.IsKnownEmpty() ?
Empty
<TResult>() :
66
source.IsKnownEmpty() ?
Empty
<TResult>() :
103
source.IsKnownEmpty() ?
Empty
<TResult>() :
141
source.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\SelectMany.cs (13)
35
source.IsKnownEmpty() ?
Empty
<TResult>() :
75
source.IsKnownEmpty() ?
Empty
<TResult>() :
115
source.IsKnownEmpty() ?
Empty
<TResult>() :
156
source.IsKnownEmpty() ?
Empty
<TResult>() :
198
source.IsKnownEmpty() ?
Empty
<TResult>() :
240
source.IsKnownEmpty() ?
Empty
<TResult>() :
290
source.IsKnownEmpty() ?
Empty
<TResult>() :
340
source.IsKnownEmpty() ?
Empty
<TResult>() :
390
source.IsKnownEmpty() ?
Empty
<TResult>() :
440
source.IsKnownEmpty() ?
Empty
<TResult>() :
489
source.IsKnownEmpty() ?
Empty
<TResult>() :
539
source.IsKnownEmpty() ?
Empty
<TResult>() :
589
source.IsKnownEmpty() ?
Empty
<TResult>() :
System\Linq\Shuffle.cs (1)
28
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Skip.cs (1)
25
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\SkipLast.cs (1)
29
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\SkipWhile.cs (4)
35
source.IsKnownEmpty() ?
Empty
<TSource>() :
84
source.IsKnownEmpty() ?
Empty
<TSource>() :
137
source.IsKnownEmpty() ?
Empty
<TSource>() :
191
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Take.cs (4)
30
source.IsKnownEmpty() || count <= 0 ?
Empty
<TSource>() :
68
return
Empty
<TSource>();
81
return
Empty
<TSource>();
87
startIndex >= endIndex ?
Empty
<TSource>() :
System\Linq\TakeLast.cs (1)
22
source.IsKnownEmpty() || count <= 0 ?
Empty
<TSource>() :
System\Linq\TakeWhile.cs (4)
31
source.IsKnownEmpty() ?
Empty
<TSource>() :
68
source.IsKnownEmpty() ?
Empty
<TSource>() :
109
source.IsKnownEmpty() ?
Empty
<TSource>() :
151
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\ToAsyncEnumerable.cs (2)
27
TSource[] array => array.Length == 0 ?
Empty
<TSource>() : FromArray(array),
30
_ when source == Enumerable.Empty<TSource>() =>
Empty
<TSource>(),
System\Linq\Union.cs (1)
30
first.IsKnownEmpty() && second.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\UnionBy.cs (2)
34
first.IsKnownEmpty() && second.IsKnownEmpty() ?
Empty
<TSource>() :
85
first.IsKnownEmpty() && second.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Where.cs (4)
28
source.IsKnownEmpty() ?
Empty
<TSource>() :
61
source.IsKnownEmpty() ?
Empty
<TSource>() :
100
source.IsKnownEmpty() ?
Empty
<TSource>() :
140
source.IsKnownEmpty() ?
Empty
<TSource>() :
System\Linq\Zip.cs (4)
37
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<TResult>() :
81
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<TResult>() :
117
first.IsKnownEmpty() || second.IsKnownEmpty() ?
Empty
<(TFirst, TSecond)>() :
157
first.IsKnownEmpty() || second.IsKnownEmpty() || third.IsKnownEmpty() ?
Empty
<(TFirst, TSecond, TThird)>() :