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

SA1119 broken for " x is null" expressions #2550

Closed
smaillet opened this issue Oct 29, 2017 · 1 comment
Closed

SA1119 broken for " x is null" expressions #2550

smaillet opened this issue Oct 29, 2017 · 1 comment

Comments

@smaillet
Copy link

SA119 triggers, given the expression:

!(other is null) && x == other.x

However, the parenthesis are required for that expression and cannot be removed.

@sharwell sharwell changed the title SA119 broken for " x is null" expressions SA1119 broken for " x is null" expressions Oct 29, 2017
@sharwell
Copy link
Member

📝 This is probably a duplicate of #2372, in which case it's already fixed as part of the 1.1.0 Beta 4 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants