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

Fix sealed modifier on interface methods with no body #1792

Merged
merged 1 commit into from
Nov 6, 2019

Conversation

Chicken-Bones
Copy link
Contributor

An interface method with the following IL representation

.method public specialname rtspecialname instance void _VtblGap1_2 () runtime managed

Decompiles with a a sealed modifier and doesn't recompile because it has no body. I assume only methods in interfaces can be sealed.

@dgrunwald dgrunwald merged commit 2bb9879 into icsharpcode:master Nov 6, 2019
ElektroKill pushed a commit to dnSpyEx/ILSpy that referenced this pull request Aug 2, 2021
Fix sealed modifier on interface methods with no body
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