Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 303 Bytes

MA0049.md

File metadata and controls

14 lines (11 loc) · 303 Bytes

MA0049 - Type name should not match containing namespace

For usability, you should not name a type as the namespace. This would be harder to use it in the code.

namespace Foo
{
    class Foo // non compliant
    {
    }
}

var foo = new Foo.Foo(); // You must fully qualify the type