DotNetAnalyzers / AsyncUsageAnalyzers

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

Define the behavior of AvoidAsyncSuffix for Event-based Asynchronous Pattern #16

Open sharwell opened 9 years ago

sharwell commented 9 years ago

The current implementation of the AvoidAsyncSuffix analyzer only targets the Task-based Asynchronous Pattern (TAP). The Event-based Asynchronous Pattern (EAP) also uses the Async suffix for certain methods, but the signatures are different from the TAP.

The behavior of the AvoidAsyncSuffix analyzer should be fully defined for this case, and tests included to detect regressions.