Skip to content
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 S1479 FP: Single line case clause should be ignored #3050

Closed
andrei-epure-sonarsource opened this issue Jan 16, 2020 · 1 comment · Fixed by #9396
Closed

Fix S1479 FP: Single line case clause should be ignored #3050

andrei-epure-sonarsource opened this issue Jan 16, 2020 · 1 comment · Fixed by #9396
Assignees
Labels
Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
Milestone

Comments

@andrei-epure-sonarsource
Copy link
Contributor

andrei-epure-sonarsource commented Jan 16, 2020

Description

See the suggested updates on our forum regarding S1479

@sebastien-marichal
Copy link
Contributor

Implementation is done in #9396.
However, the implementation triggered a lot of discussion regarding the RSPEC update.
The controversial part is about the data mapping scenario which is too specific for this rule.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: C# C# rules related issues. Type: False Positive Rule IS triggered when it shouldn't be.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants