-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Proposal: record structs #4334
Copy link
Copy link
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
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
Type
Fields
Give feedbackNo fields configured for issues without a type.
Allow value type records with
record struct.Secondarily, we would also allow
record class(with same meaning asrecord) and allow explicit declarations of positional members using different member kinds (get/setproperty, or field).References
https://github.com/dotnet/csharplang/blob/master/meetings/2020/LDM-2020-10-07.md#record-struct-syntax