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