Skip to:
C#10 introduce support for implicit using statements. Projects using this feature are not analysed correctly.
Related community thread: https://community.sonarsource.com/t/rider-not-showing-codesmells/55252/10
Updating to a newer version of OmniSharp might fix this bug (see https://sonarsource.atlassian.net/browse/SLI-616#icft=SLI-616).
TODO: check whether `global` usings are also supported.
Create a new C# project and enable implicit usings in the project file
Add a code file that use implicit usings
Analyse the file
The file is analysed successfully and issues are reported.
No issues are reported.
C#10 introduce support for implicit using statements. Projects using this feature are not analysed correctly.
Related community thread: https://community.sonarsource.com/t/rider-not-showing-codesmells/55252/10
Updating to a newer version of OmniSharp might fix this bug (see https://sonarsource.atlassian.net/browse/SLI-616#icft=SLI-616).
TODO: check whether `global` usings are also supported.
Repro steps
Create a new C# project and enable implicit usings in the project file
Add a code file that use implicit usings
Analyse the file
Expected result
The file is analysed successfully and issues are reported.
Actual result
No issues are reported.