-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix S4507 FP: Error raised on .NET 7 although the debug feature is deactivated #6772
Comments
Thanks for the reporting and the detailed description @VianneyDoleans. I created a reproducer in #6777 on our side and confirm this being an FP. |
…he debug feature is deactivated)
@zsolt-kolbay-sonarsource We are releasing 9.19 for SQ 10.4, and this issue is not going to make it into the release. |
Description
I migrate a project to .NET 7. The error S4507 is raised although the debug feature is desactivated in production mode.
Repro steps
Code inside
program.cs
:Link to the SonarCloud public project where the issue appears : link
Expected behavior
Code is already deactivated so it should not be highlighted
Actual behavior
The error S4507 is raised.
Related information
The text was updated successfully, but these errors were encountered: