Skip to content

Gendarme.Rules.BadPractice.DoNotForgetNotImplementedMethodsRule(2.10)

Sebastien Pouliot edited this page Feb 9, 2011 · 3 revisions

DoNotForgetNotImplementedMethodsRule

Assembly: Gendarme.Rules.BadPractice
Version: 2.10

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
Clone this wiki locally