Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple command line tool that detect empty catches and bad rethrow is csharp source code.
C#
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
emptycatches.net4
emptycatches
packages
.gitattributes
.gitignore
Readme.md
emptycatches.license.txt
emptycatches.sln

Readme.md

Empty Catches detector

I hate when I see empty catch blocks in code so I have created this tool that will parse c# source code and look for bad usages of try catch blocks and excepton rethrows.

I am using ICSharpCode.NRefactory as my CSharp Parser.

Any contributions are welcome.

This tool is distributed under the MIT License.

I have added .net 4 and .net 4.5 support other versions to follow.

Usage

Empty catches only accepts one parameter which the folder location to search from.

It will get all the *.cs files in that location to scan.

emptycatches.exe "c:\solution folder"

Hmm... muffins..

Something went wrong with that request. Please try again.