Bart De Smet
|
9ec8a1f1b4
Remove ConfigureAwait on IAsyncEnumerator<T> in favor of GetConfiguredAsyncEnumerator.
|
6 years ago |
Bart De Smet
|
f5fc1e4353
Getting rid of USE_AWAIT_USING to ensure proper binding for ConfigureAwait(false).
|
6 years ago |
Bart De Smet
|
ca0a8b53b4
Change CSHARP8 for USE_* checks. Enable C# 8.0 for all builds.
|
6 years ago |
Bart De Smet
|
645aa551dc
Use static local functions.
|
6 years ago |
Bart De Smet
|
4ab51fea0c
Use C# 8.0 in generic Min and Max.
|
6 years ago |
Bart De Smet
|
0980e87430
Avoiding heap-allocated closures
|
6 years ago |
Bart De Smet
|
e993d80482
Inlining Max/Min code
|
6 years ago |
Bart De Smet
|
369026d24e
Taming CancellationToken overload hell
|
6 years ago |
Bart De Smet
|
d596d9f6d8
Adding "deep cancellation" API surface predicated by a NO_DEEP_CANCELLATION symbol.
|
7 years ago |
Bart De Smet
|
8be4811163
Moving to Async naming convention.
|
7 years ago |
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.
|
7 years ago |
Bart De Smet
|
cfd11d1c62
Adding BCL style exception factories.
|
7 years ago |
Bart De Smet
|
bb54d8d00c
Replace Min and Max implementations.
|
7 years ago |
Bart De Smet
|
bc4b1a743e
Small improvements to Min and Max.
|
7 years ago |
Bart De Smet
|
271688e421
Adapting to GetAsyncEnumerator(CancellationToken) interface change.
|
7 years ago |
Bart De Smet
|
2e45ab5b38
Renaming some methods to use Core suffix.
|
8 years ago |
Bart De Smet
|
d590e49d6a
Moving non-standard Min and Max overloads to AsyncEnumerableEx.
|
8 years ago |
Bart De Smet
|
5d1be7f7a5
More efficient Min and Max.
|
8 years ago |
Bart De Smet
|
1a7192b640
Moving Standard Query Operators to System.Linq.Async.
|
8 years ago |