-1

I'm getting error - "Optional parameters should not be used" in Sonar analysis for C# project. Actually in C# latest version we can define optional parameter but SonarQube analysis says Optional parameters should not be used. How can I solve this issue? I'm using latest SonarQube version 6.0.

Rasik Bapotra
  • 35
  • 1
  • 8
  • 1
    Your question is like this : I getting some error, It is because of some `x`; how can i solve that? Definitely their may be someone ready to help you, please be clear about your issues help him to understand the issues – sujith karivelil Jan 03 '17 at 06:00

1 Answers1

1

You can either deactivate the rule on your SonarQube server or mark it as False Positive for your particular case but I would recommend you to have a look at why we created this rule before you deactivate it. You can find more information about this rule on our Rules website or on Microsoft website.

Amaury Levé
  • 1,459
  • 10
  • 21