![]() |
VOOZH | about |
dotnet add package ExceptionAnalyzer --version 1.0.5
NuGet\Install-Package ExceptionAnalyzer -Version 1.0.5
<PackageReference Include="ExceptionAnalyzer" Version="1.0.5" />
<PackageVersion Include="ExceptionAnalyzer" Version="1.0.5" />Directory.Packages.props
<PackageReference Include="ExceptionAnalyzer" />Project file
paket add ExceptionAnalyzer --version 1.0.5
#r "nuget: ExceptionAnalyzer, 1.0.5"
#:package ExceptionAnalyzer@1.0.5
#addin nuget:?package=ExceptionAnalyzer&version=1.0.5Install as a Cake Addin
#tool nuget:?package=ExceptionAnalyzer&version=1.0.5Install as a Cake Tool
Simple analyzer that warns about the most common code smells related to excpetion handling.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
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!