Prefer ValueTask over Task for Lambda Expression #8085
Unanswered
TonyValenti
asked this question in
General
Replies: 1 comment
-
Sounds like a job for #7706. I don't think the compiler should make assumptions as to which overload is better. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In situations like the below, I believe that the compiler should automatically prefer the
ValueTask
overTask
overload.Can this be incorporated?
Beta Was this translation helpful? Give feedback.
All reactions