To find out what was new/different in v6, Rex used two main sources:
- The What's New in V6 web page
- The diffs that resulted when he compared the v5std md with the v6spec md.
In the latter case, he located those features that required new or changed grammar. He then found all uses of the names of grammar productions that were added/removed, so he could make adjustments to the text. As he progressed, he discovered some new features that did not involve grammar changes. Others have reported (small) new features as well.
This file identifies the known V6 features and tracks their status.
Feature | PR | Notes |
---|---|---|
#48 - initialization of an accessible indexer | #8 | COMPLETED This also handled the initialization of associative collections using indexers |
#49 - expression-bodied function members | #4 | COMPLETED The "What's New" page only mentions methods and properties; however, the final edits also included indexers and operators as well. As a by-product, this PR also took care of adding support for automatically implemented property initializers |
#50 - read-only automatically implemented properties | #11 | COMPLETED |
#51 - using static | #9 | Completed |
#52 - nameof | #10, #250 | COMPLETED |
#53 - exception filter | #2 | Completed |
#54 - null-conditional operator | #251 | Completed |
#55 - interpolated strings | #390 | COMPLETED |
#56 - enum base type tweak | #424 | COMPLETED |
#57 - relaxed rules for auto-properties in structs | #11. See diff. | COMPLETED See here |
#58 - await in catch and finally blocks | 3 | COMPLETED |
#59 - extension Add methods in collection initializers | #8 | COMPLETED This also handled the initialization of an accessible indexer |
improved overload resolution | #6 | See Issue #157, #283 |
#200 - empty array for params parameter | #377 | Completed |