Skip to content
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

Implement class record specific behaviors #291

Open
1 of 6 tasks
adrianoc opened this issue May 10, 2024 · 0 comments
Open
1 of 6 tasks

Implement class record specific behaviors #291

adrianoc opened this issue May 10, 2024 · 0 comments
Milestone

Comments

@adrianoc
Copy link
Owner

adrianoc commented May 10, 2024

  • Adds Nullable(0) and NullableContext(1) attributes to the class
  • Adds a protected virtual Type EqualityContract property that returns the type of the record
  • Adds a copy constructor
  • Adds a public virtual R <Clone>$() method that returns new R(this)
  • Mark methods Equals() (both overloads) and operators == and != with NullableContext(2) attribute
  • Take inheritance into account in the implementation of all members.
@adrianoc adrianoc mentioned this issue May 10, 2024
10 tasks
@adrianoc adrianoc changed the title Implement specific behaviors for class record Implement class record specific behaviors May 10, 2024
@adrianoc adrianoc added this to the 2.12 milestone May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant