-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
record struct equality problem #1330
Comments
This seems to be a problem related to C# 10 struct initializers. Can you reopen this at the dotnet/roslyn repo? Thanks. |
/cc: @jaredpar |
Can't move issues between repos so I just created a new one. Going to close this one out and we can use the other as the primary Added some details in the other issue as to what the actual problem is here (it's actually a parameterless ctor problem that records ends up exposing) |
When I check Equals on record struct I got unexpected result.
you can see it with the following code snippets:
TEST
The text was updated successfully, but these errors were encountered: