Skip to content

Diagnostic and code fix for common issues associated with the use of default parameter values

License

Notifications You must be signed in to change notification settings

DotNetAnalyzers/DefaultValueDiagnostic

Repository files navigation

Default Parameter Value Diagnostic

This analyzer extends the .NET Compiler Platform to analyze the default values assigned to method parameters for certain errors which are likely to affect users. The following diagnostic messages are currently reported.

Diagnostic Description
MissingDefaultValue (with code fix) A method overrides or implements a method which contains a default value for a parameter x, but the override does not specify a default value for the same parameter x.

About

Diagnostic and code fix for common issues associated with the use of default parameter values

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published