Skip to content

CA2007 Consider calling ConfigureAwait on the awaited task#8031

Merged
RussKie merged 1 commit intodotnet:mainfrom
elachlan:CA2007
Oct 26, 2022
Merged

CA2007 Consider calling ConfigureAwait on the awaited task#8031
RussKie merged 1 commit intodotnet:mainfrom
elachlan:CA2007

Conversation

@elachlan
Copy link
Contributor

@elachlan elachlan commented Oct 25, 2022

Enabled CA2007 analyzer.
https://learn.microsoft.com/en-us/dotnet/fundamentals/code-analysis/quality-rules/ca2007

Manually fixed.
Team needs to verify whether ConfigureAwait(False) or ConfigureAwait(True) is appropriate.
Related: #7887

Microsoft Reviewers: Open in CodeFlow

@elachlan elachlan requested a review from a team as a code owner October 25, 2022 23:27
@ghost ghost assigned elachlan Oct 25, 2022
@RussKie RussKie enabled auto-merge (squash) October 25, 2022 23:50
@RussKie RussKie added the enhancement Product code improvement that does NOT require public API changes/additions label Oct 25, 2022
@elachlan
Copy link
Contributor Author

Flaky test.

@RussKie RussKie merged commit bd4769b into dotnet:main Oct 26, 2022
@ghost ghost added this to the 8.0 Preview1 milestone Oct 26, 2022
@elachlan elachlan deleted the CA2007 branch October 26, 2022 04:12
@ghost ghost locked as resolved and limited conversation to collaborators Nov 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement Product code improvement that does NOT require public API changes/additions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants