ExceptionAnalyzer icon indicating copy to clipboard operation
ExceptionAnalyzer copied to clipboard

A set of Roslyn analyzers related to exceptions usages

Results 4 ExceptionAnalyzer issues
Sort by recently updated
recently updated
newest added

Check if argument name is provided and it's a method parameter name.

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions#defining-exception-classes > New properties should only be added to the exception class when the data they provide is useful to resolving the exception. If new properties are added to the...

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/exceptions/creating-and-throwing-exceptions#defining-exception-classes >The derived classes should define at least four constructors: one default constructor, one that sets the message property, and one that sets both the Message and InnerException properties. The...