-
Couldn't load subscription status.
- Fork 1.1k
Open
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion
Milestone
Description
- Proposal added: https://github.com/dotnet/csharplang/blob/main/proposals/csharp-10.0/record-structs.md
- Discussed in LDM
- Decision in LDM
- Finalized: Done
- Spec'ed
Allow value type records with record struct.
Secondarily, we would also allow record class (with same meaning as record) and allow explicit declarations of positional members using different member kinds (get/set property, or field).
References
- https://github.com/dotnet/csharplang/blob/master/proposals/csharp-9.0/records.md
- https://github.com/dotnet/csharplang/blob/master/spec/structs.md
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-05-04.md#structs-as-records
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-06-22.md#struct-records
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-09-30.md#struct-equality
- https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-10-05.md#record-struct-primary-constructor-defaults
https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-10-07.md#record-struct-syntax
giladfrid009, 0x0737, TheUnlocked, pinkfloydx33, nil4 and 46 moreomikhailovYoussef1313, orthoxerox, 0x0737, saint4eva, yaakov-h and 10 moreMgSam, sa-exe, AraHaan and WZych
Metadata
Metadata
Assignees
Labels
Implemented Needs ECMA SpecThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationThis feature has been implemented in C#, but still needs to be merged into the ECMA specificationProposalProposal champion