AsyncVoidAnalyzer 0.2.0

dotnet add package AsyncVoidAnalyzer --version 0.2.0
NuGet\Install-Package AsyncVoidAnalyzer -Version 0.2.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AsyncVoidAnalyzer" Version="0.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AsyncVoidAnalyzer --version 0.2.0
#r "nuget: AsyncVoidAnalyzer, 0.2.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install AsyncVoidAnalyzer as a Cake Addin
#addin nuget:?package=AsyncVoidAnalyzer&version=0.2.0

// Install AsyncVoidAnalyzer as a Cake Tool
#tool nuget:?package=AsyncVoidAnalyzer&version=0.2.0

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).

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 33,879 9/3/2015
0.1.0 2,346 8/27/2015

Added support for C#6 awaits in catch/finally clauses.