Consider enabling CA2007 rule to require ConfigureAwait(false)
on all awaited tasks
#168
Closed
1 task done
ConfigureAwait(false)
on all awaited tasks
#168
What is the version or commit of the ORAS .NET library?
No response
What would you like to be added?
I would like the .editorconfig to be modified to include the CA2007 rule, which requires awaited tasks to have
ConfigureAwait(false)
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2007
Why is this needed for the ORAS .NET library?
This would make reviewing PRs easier since we, as a library, must
ConfigureAwait(false)
everywhere.Sample PR implementing such changes:
dotnet/aspnetcore#39946
Confirm we want it and I'll create the PR 👍
Are you willing to submit PRs to contribute to this feature?
The text was updated successfully, but these errors were encountered: