RCS1060 doesn't work with file-scoped namespaces
amaltinsky opened this issue · comments
amaltinsky commented
Product and Version Used:
Roslynator.Analyzers 4.10.0
Roslynator.Formatting.Analyzers 4.10.0
Roslynator.CodeAnalysis.Analyzers 4.10.0
The following code correctly produces an RCS1060 warning:
namespace TriggersRCS1060
{
public class Class1
{
}
public class Class2
{
}
}
However, this doesn't:
namespace ShouldTriggerRCS1060;
public class Class1
{
}
public class Class2
{
}
amaltinsky commented
@josefpihrt Thank you for the quick fix. Much appreciated.
Josef Pihrt commented
@amaltinsky You are welcome.