ConfigureAwait(false) #70
kindermannhubert
started this conversation in
General
Replies: 1 comment 1 reply
-
The intention was to Enabling CA2007 is a great idea |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We have 15 places in PrettyPrompt where we await async method with ConfigureAwait(false) and 12 places where we await async method without it.
Is this intentional or is it possible to say that all awaits in PrettyPrompt should/could have ConfigureAwait(false)?
If ConfigureAwait(false) should be used everywhere I would enable CA2007 and add missing calls. Writing those calls is extremely easy to forget about.
@waf could you advise, please?
Beta Was this translation helpful? Give feedback.
All reactions