-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for records #273
Labels
Milestone
Comments
adrianoc
changed the title
Add support for [records](https://github.com/dotnet/csharplang/blob/main/proposals/csharp-9.0/records.md)
Add support for records
Mar 25, 2024
This was referenced Mar 25, 2024
Open
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
1. Also includes some minor refactorings 2. This work is a preparation for #273 to avoid code duplication
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
adrianoc
added a commit
that referenced
this issue
Apr 30, 2024
this means that a contructor is emmited for the primary constructor
adrianoc
added a commit
that referenced
this issue
May 10, 2024
adrianoc
added a commit
that referenced
this issue
May 10, 2024
adrianoc
added a commit
that referenced
this issue
May 25, 2024
also, only emit properties for constructor parameters that does not match any base constructor parameter
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
1. Also includes some minor refactorings 2. This work is a preparation for #273 to avoid code duplication
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
this means that a contructor is emmited for the primary constructor
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
also, only emit properties for constructor parameters that does not match any base constructor parameter
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
1. Also includes some minor refactorings 2. This work is a preparation for #273 to avoid code duplication
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
this means that a contructor is emmited for the primary constructor
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
adrianoc
added a commit
that referenced
this issue
Jun 9, 2024
also, only emit properties for constructor parameters that does not match any base constructor parameter
adrianoc
added a commit
that referenced
this issue
Jun 11, 2024
adrianoc
added a commit
that referenced
this issue
Jun 11, 2024
adrianoc
added a commit
that referenced
this issue
Jun 19, 2024
adrianoc
added a commit
that referenced
this issue
Jun 19, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Records were introduced in C# 9.0
We should also support record structs introduced in C# 10.
given a record
R
R
>ToString()
method #285GetHashCode()
method #286Deconstruct()
method on records with primary constructor #289CompilerGeneratedAttribute
is applied to relevant members #290Nullable(0)
andNullableContext(1)
attributes to record type definition #295Specific for
struct
recordsIsReadOnly
attribute to all methods and thegetter
of each added propertySpecific for
class
recordsclass record
specific behaviors #291The text was updated successfully, but these errors were encountered: