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 S2259 FN: Raise on fields and events #6898

Closed
Tim-Pohlmann opened this issue Mar 10, 2023 · 1 comment · Fixed by #6900
Closed

Fix S2259 FN: Raise on fields and events #6898

Tim-Pohlmann opened this issue Mar 10, 2023 · 1 comment · Fixed by #6900
Assignees
Labels
Area: C# C# rules related issues. Area: CFG/SE CFG and SE related issues. Area: VB.NET VB.NET rules related issues. Type: False Negative Rule is NOT triggered when it should be.
Milestone

Comments

@Tim-Pohlmann
Copy link
Contributor

Currently S2259 raises on invocations, properties references, array element references and await calls.
It should also raise on field and event references.

@martin-strecker-sonarsource
Copy link
Contributor

Closed as completed.

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. Area: CFG/SE CFG and SE related issues. Area: VB.NET VB.NET rules related issues. Type: False Negative Rule is NOT triggered when it should be.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants