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 năm trước cách đây
..
Amb.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Buffer.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Catch.cs 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 năm trước cách đây
Concat.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Defer.cs 1ddf353701 Rewrite Defer to be lazy in all cases. 7 năm trước cách đây
Distinct.cs 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 năm trước cách đây
DistinctUntilChanged.cs 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 năm trước cách đây
Do.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Expand.cs 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 năm trước cách đây
Finally.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Generate.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
IgnoreElements.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
IsEmpty.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
Max.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
MaxBy.cs 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 năm trước cách đây
Merge.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Min.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
MinBy.cs 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 năm trước cách đây
Never.cs f12d4482cc Minor edits of Never. 7 năm trước cách đây
OnErrorResumeNext.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Repeat.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Retry.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
Return.cs 5e94397dee Add support for IAsyncListProvider to Return. 7 năm trước cách đây
Scan.cs 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 năm trước cách đây
SelectMany.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
StartWith.cs 07a9483ed7 Share some code and streamline exceptions. 7 năm trước cách đây
Throw.cs 30e9bf266f Fix Throw factory. 7 năm trước cách đây
Timeout.cs 3a3c59ba42 Change signature of Clone. 7 năm trước cách đây
Using.cs 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 năm trước cách đây