ExceptionAnalyzer 1.0.5

dotnet add package ExceptionAnalyzer --version 1.0.5
NuGet\Install-Package ExceptionAnalyzer -Version 1.0.5
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="ExceptionAnalyzer" Version="1.0.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ExceptionAnalyzer --version 1.0.5
#r "nuget: ExceptionAnalyzer, 1.0.5"
#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 ExceptionAnalyzer as a Cake Addin
#addin nuget:?package=ExceptionAnalyzer&version=1.0.5

// Install ExceptionAnalyzer as a Cake Tool
#tool nuget:?package=ExceptionAnalyzer&version=1.0.5

Simple analyzer that warns about the most common code smells related to excpetion handling.

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
1.0.5 72,495 3/24/2015
1.0.1 1,240 3/10/2015
1.0.0 1,067 3/10/2015

Supported features
- Warning for `throw new Exception("");` from the catch block
- Warning for `throw ex;` with a fix to `throw;`.
- Warning and fix for empty generic catch block and `catch(Exception){}`.
- Warning for swallowed exceptions in the `catch(Exception ex)` blocks
- Warning for using `ex.Message` if this is the only exception observation. With a fix!