Update breaking change doc#82071
Merged
CyrusNajmabadi merged 1 commit intodotnet:features/collection-expression-argumentsfrom Jan 18, 2026
Merged
Update breaking change doc#82071CyrusNajmabadi merged 1 commit intodotnet:features/collection-expression-argumentsfrom
CyrusNajmabadi merged 1 commit intodotnet:features/collection-expression-argumentsfrom
Conversation
RikkiGibson
approved these changes
Jan 18, 2026
f0d9217
into
dotnet:features/collection-expression-arguments
3 of 4 checks passed
jcouv
reviewed
Jan 20, 2026
| ***Introduced in Visual Studio 2026 version 18.4*** | ||
|
|
||
| `with(...)` when used as an element in a collection expression, and when the LangVersion is set to PROTOTYPE, is bound as arguments passed to constructor or | ||
| `with(...)` when used as an element in a collection expression, and when the LangVersion is set to 'Preview', is bound as arguments passed to constructor or |
Member
There was a problem hiding this comment.
@RikkiGibson We lack a mechanism to track and update this location when the new language version is added... I'm not sure what to do here.
Member
There was a problem hiding this comment.
Seems like we could afford to predict the future here and just write 15.0 here. Or something like "when the LangVersion is set to '15.0' (or 'Preview' until that's available), ..."
Contributor
Author
There was a problem hiding this comment.
i agree. we should just mention the next version. If we're wrong, c'est la vie. We can update it. The breaking changes doc would be a clear place to look when teh version is solidified.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Relates to test plan #80613