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

Collection expressions: only require Add method if collection expression has elements #7873

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

cston
Copy link
Member

@cston cston commented Jan 25, 2024

From decision subsequent to LDM-2024-01-10 to not require an applicable Add method for the empty collection expression [].

@cston
Copy link
Member Author

cston commented Feb 1, 2024

@AlekseyTs, @333fred, @dotnet/roslyn-compiler, please review.

@cston cston merged commit 23f8a0b into dotnet:main Feb 1, 2024
1 check passed
@cston cston deleted the check-add-not-empty-only branch February 1, 2024 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants