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

C# 9 Records #2251

Merged
merged 16 commits into from
Jan 1, 2021
Merged

C# 9 Records #2251

merged 16 commits into from
Jan 1, 2021

Conversation

dgrunwald
Copy link
Member

@dgrunwald dgrunwald commented Dec 28, 2020

See #2217.

The decompiler now omits methods inside a record if the body looks like the default implementation that would be emitted by the C# compiler.

TODO:

  • Tests
  • Equals() in derived records
  • Primary constructor syntax
  • with-expressions

@dgrunwald dgrunwald added this to the v7.0-p2 milestone Dec 28, 2020
@dgrunwald dgrunwald merged commit 174c14a into master Jan 1, 2021
@dgrunwald dgrunwald deleted the records branch January 1, 2021 23:26
ElektroKill added a commit to dnSpyEx/ILSpy that referenced this pull request Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants