- Analyzer that checks if async void methods catch exceptions. Much has been written on the topic of avoiding async void methods whenever possible. There are other analyzers to help enforce that practice. However, sometimes such methods are appropriate/necessary. In these cases, the important thing is that they are used wisely and do not allow exceptions to escape (the inability for the caller to handle exceptions is one of the main arguments against using async void in the first place). This is currently focused on the simple case where an async void method awaits without any exception handling. It will not flag insufficient exception handling (e.g. missed exception types, re-throwing, or having additional non-awaiting code after the await expression that can throw exceptions).
- View on NuGet: http://www.nuget.org/packages/AsyncVoidAnalyzer
Here are the packages that version 0.2.0.0 of AsyncVoidAnalyzer depends on.
Installing with NuGet
PM> Install-Package AsyncVoidAnalyzer
Packages that Depend on AsyncVoidAnalyzer
No packages were found that depend on version 0.2.0.0.