-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Better codegen for record's Equals member
#79966
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
base: main
Are you sure you want to change the base?
Better codegen for record's Equals member
#79966
Conversation
…ypes in synthesized records' `Equals` methods
jaredpar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting a hold on the PR until the underlying issue gets LDM sign off.
|
@jaredpar Do you have this question scheduled for an LDM? Correct me if I am wrong, but this is a weekly event, isn't it? I don't think it would take much discussion time to make a decision here |
Usually but not always.
No. Don't believe anyone has put this on the agenda. @RikkiGibson, @CyrusNajmabadi in case they have time to bring this in the next few weeks. |
|
I'll look into it. I don't find it hugely important. But if we have time, then sure:-) |
Closes #70221
One of comments in the issue also mentions
GetHashCode. I tried it locally (by "it" I mean callingGetHashCodedirectly when overriden in structs) and it turns out that it takes a bit more IL due to ceremony with constrained call, so I didn't include those changes