generated from AArnott/Library.Template
-
Notifications
You must be signed in to change notification settings - Fork 2
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
is null
and is not null
can't be used in expression contexts
#3
Labels
bug
Something isn't working
Comments
This is what I settled on to deal with recursive nesting properly: dotnet/roslyn#51446 (reply in thread) |
Interesting. Do you have time to send a PR with tests and a fix? |
Sorry, probably not soon. |
AArnott
added a commit
that referenced
this issue
Aug 28, 2021
These tests repro the cases called out in #3, plus a couple more.
AArnott
added a commit
that referenced
this issue
Sep 2, 2021
These tests repro the cases called out in #3, plus a couple more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Looking at https://github.com/AArnott/CSharpIsNull/blob/main/src/CSharpIsNullAnalyzer/CSIsNull001.cs and https://github.com/AArnott/CSharpIsNull/blob/main/src/CSharpIsNullAnalyzer/CSIsNull002.cs, I didn't see anything checking for this.
(SharpLab)
The text was updated successfully, but these errors were encountered: