-
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
[MemberNotNull] isn't respected on local functions #56256
Comments
Ah, dup of #47896 |
Apparently I opened the same issue last year ;-) |
@stephentoub #47896 was closed as fixed, but this issue still repros. This issue wasn't probably an exact dupe of #47896 and should be reopened. Can you reopen? Thanks! |
LDM did decide on an internal thread that we should do this and that |
Implemented in 17.13 :-) |
Version Used:
9525fa5
Steps to Reproduce:
https://sharplab.io/#v2:EYLgtghglgdgPgYhgVwDaosVBTABNmTHAWACgABABl3IEYA6AESggHMYB7AZwBcoBjLvQDCHACbYAgoVQBPLlC4BuMmXIBmGgCZcwsgG8yuY7gAOAJygA3CDzwdgAK2z8eAflwB9B45WkTuEYmGriwPLgAsgAUAJRBxob+ASYAkjBQPLF+ycEA7F4+9ADi2DwAEhBcABaiElnxyQ0BANoR2GDA2OYAchw83WioUYRg2BwAZlHeTjExALpNwQAsuGkZsbgAvAB8BU5buDDYAO64Pi6ZMdkmAL5kN0A===
Expected Behavior:
No warning.
Actual Behavior:
warning CS8602: Dereference of a possibly null reference.
The text was updated successfully, but these errors were encountered: