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

NotNullIfNotNullAttribute does not work when a methodgroup is passed to IEnumerable<>.Select #65000

Closed
RenderMichael opened this issue Oct 26, 2022 · 1 comment
Labels
Area-Compilers Resolution-Duplicate The described behavior is tracked in another issue

Comments

@RenderMichael
Copy link
Contributor

Version Used:

.NET 7 RC 2

Steps to Reproduce:

https://sharplab.io/#v2:EYLgtghglgdgPgAQEwEYCwAoBAGABAlAOgBEoIBzGAewGcAXKAYxsIGEqATAUwEEYIANgE8aUGgG5MOfEQAysAI6SMmAMQwArgIERgArri789XTJgD6uALy4eAJzsQhhAKJgADnSEAeAtgB8ABQAlIQAylz6jHSBAB7W/rjEVGFUYFx0ABaw5HHBoRFRMfFWibGEskbkWcHKljb2js5unj5+QQWRXNGByanpWTmdRXEJuOWVMNWZtWYqGADaCADsILgAclR061oCAJIAZpvbu4H86VQHecEAulIoAGwy2AD8SSlpGdlTgX5vscExlk7FQAO64GBccHHPYefTpGB0LgcFyxRhcTxQKgwELKIA

Expected Behavior:

Line 8 in the sharplab link doesn't display error CS8602

Actual Behavior:

Line 8 in the sharplab link displays error CS8602

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Oct 26, 2022
@jaredpar
Copy link
Member

Duping off the primary issue here: dotnet/csharplang#8383

@jaredpar jaredpar added Resolution-Duplicate The described behavior is tracked in another issue and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers Resolution-Duplicate The described behavior is tracked in another issue
Projects
None yet
Development

No branches or pull requests

2 participants