Closed bnayae closed 3 years ago
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
https://github.com/dotnet/roslyn/issues/57870
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