Excludefromcodecoverage attribute not working for vb.net code

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
    Sonar Scanner : 4.11.0
  • what are you trying to achieve
    I’m having both C#&VB.Net in the same project.
    I’m trying to exclude some part of vb code using ExcludeFromCodeCoverage attribute but it’s not working
  • what have you tried so far to achieve this
    ExcludeFromCodeCoverage attribute I’ve used for C# code it has worked and excluded that piece of code from code coverage analysis but for VB.Net it is not working as expected

Any update on this?