-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Suboptimal code for e is null #13247
Comments
What if |
@alrz they should generate the same code |
Moving out for now as this doesn't meet the RTM bar. |
Did you want to move #16129 out too? |
Also #14252 |
Yes and Yes. Thanks! |
💡 See #19803 for a very descriptive breakdown of the current and expected behavior for both |
Currently
e is null
translates to anobject.Equals
call on master. The question is that (1) does it meant to be a shorthand for explicit reference null check(object)e == null
? If so, (2) shouldn't it just translate to aceq
?The text was updated successfully, but these errors were encountered: