Bart De Smet
|
aacb761f40
Switch to ValueTask for predicates, selectors, etc. We await those ourselves and they are expected to be called in a high-frequency manner, so this seems to be the right choice. The only drawback is when these operators are used using method group conversion of a Task-returning async method, which is likely rare in query expressions where one typically uses (async) lambdas, and there's a workaround Task-to-ValueTask conversion. We can't overload on ValueTask and Task return types, so this seems the best way forward.
|
vor 7 Jahren |
Bart De Smet
|
cfd11d1c62
Adding BCL style exception factories.
|
vor 7 Jahren |
Bart De Smet
|
526d44448d
Optimize Single.
|
vor 7 Jahren |
Bart De Smet
|
743e98cf90
Using Core pattern for First, Last, Single.
|
vor 7 Jahren |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
vor 7 Jahren |
Bart De Smet
|
2e45ab5b38
Renaming some methods to use Core suffix.
|
vor 8 Jahren |
Bart De Smet
|
f14bdfa664
Splitting Single and SingleOrDefault.
|
vor 8 Jahren |
Bart De Smet
|
1a7192b640
Moving Standard Query Operators to System.Linq.Async.
|
vor 8 Jahren |