All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.plugins.csharp.S3717.html Maven / Gradle / Ivy

There is a newer version: 10.2.0.105762
Show newest version

Why is this an issue?

NotImplementedException is often used to mark methods which must be implemented for the overall functionality to be complete, but which the developer wants to implement later. That’s as opposed to the NotSupportedException which is thrown by methods which are required by base classes or interfaces, but which are not appropriate to the current class.

This rule raises an exception when NotImplementedException is thrown.

Noncompliant code example

void doTheThing()
{
    throw new NotImplementedException();
}

Exceptions

Exceptions derived from NotImplementedException are ignored.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy