DotNetAnalyzers / AsyncUsageAnalyzers

Now superseded by Microsoft/vs-threading
https://github.com/Microsoft/vs-threading
Other
121 stars 18 forks source link

New rule proposal: Use ConfigureAwait(false) #14

Closed sharwell closed 9 years ago

sharwell commented 9 years ago

Category: Usage Rule: Use ConfigureAwait(false) Severity: Hidden Description: This analyzer identifies code which uses await on a Task, and does not use ConfigureAwait(false). By default it uses Hidden severity, which enables Ctrl+. on the line containing the call, but libraries that don't interact with the UI can reset the severity to Warning or Error in order to enforce this rule across an entire project.