Looking at the issues page for a project in Sonar cloud, it is reporting a number of issues with the clean code attribute “Consistency”.
However (somewhat ironically) when I select to filter by “Consistency”, the sum of the issues for each language in the language filter is far less than the total number of “Consistency” issues.
It appears to not be picking up the C# issues, which are all tagged as ROSLYN as having the language C#. I presume it isn’t detecting the language because its coming from an external scanner.
Is there way to configure the project so that it knows ROSLYN errors should be treated as C# language? I don’t have any other .NET languages in the project.