S3261 — Namespaces should not be empty

Language
C#
Type
Code smell
Severity
Minor
Tags
unused

Why is this an issue?

Namespaces with no lines of code clutter a project and should be removed.

Noncompliant code example


namespace MyEmptyNamespace // Noncompliant
{

}

↑ Back to top