- versions used: SonarQube 8.4.1
- steps to reproduce
Place ExcludeFromCodeCoverage above a method instead of above a class
Works:
[ExcludeFromCodeCoverage]
public class Foo
{
public void Bar()
{
}
}
Does not work:
public class Foo
{
[ExcludeFromCodeCoverage]
public void Bar()
{
}
}