Hi,
We just upgraded to version 8 and enabled the new rules and we did find some good code smells but for S4136: Method overloads should be grouped together we see some false positives.
We group on accessibility level but this rule wants to group static and non static methods together.
-
versions used (SonarQube 8.0.0.29455, SonarC# 7.17 (build 9346)
namespace SonarQubeTest { public class TestS4136 { public static void MethodA() { // do nothing } public static void MethodB() { // do nothing } public void MethodA(int i) { // do nothing } } }
Kind Regards,
Valentijn