Skip to content

Gendarme.Rules.BadPractice.DoNotForgetNotImplementedMethodsRule(git)

Sebastien Pouliot edited this page Mar 2, 2011 · 1 revision

DoNotForgetNotImplementedMethodsRule

Assembly: Gendarme.Rules.BadPractice
Version: git

Description

This rule checks for short methods that throw a System.NotImplementedException exception. It's likely a method that has not yet been implemented and should not be forgotten by the developer before a release.

Examples

Bad example:

private void Save ()
{
    throw new NotImplementedException ("pending final format");
}

Notes

  • This rule is available since Gendarme 2.0

Source code

You can browse the latest source code of this rule on github.com

Clone this wiki locally