SonarSource/sonar-dotnet

T0008 and T0009: Report secondary locations

Closed this issue · 0 comments

#9136 (comment)

Rules T0008 and T0009 report about member ordering, and it might not always be obvious where is the other member (secondary location) that triggered the rule.

We need to:

  • Add ReportIssue overload that will support Secondary Locations, including the "correct compilation" check
  • Update T0008 to report secondary locations
  • Update T0009 to report secondary locations