-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better Collection Expression Conversion From Expression (#74993)
* Initial prototype work * Correctly handle spreads * Update test baselines * Add dedicated interpolated string handler test * Implement params changes and update tests * Support falling back to C# 12 rules. * Add more tests, including the table from https://github.com/dotnet/csharplang/blob/main/proposals/collection-expressions-better-conversion.md and an explicit test for #73857. * Add tests to the CSharp 12 list as well * Update language feature status. * Cleanup * Correct spread handling * Only include expected output on .NET Core * PR feedback. * Add suggested numeric test. * Document breaking changes * More feedback. * Add examples * Add example of interpolated string breaking change * PR feedback * Update language feature status. * More tests around dynamic and tuples * Add collection expressions to test plan * Spread testing
- Loading branch information
Showing
6 changed files
with
1,663 additions
and
198 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.