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

Chicken-Bones commented Nov 6, 2019

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
4 of 6 checks passed
4 of 6 checks passed
icsharpcode.ILSpy Build #6.0.0.5369-merge-alpha1-pr1792 failed
Details
icsharpcode.ILSpy (Build Config_Release_CI) Build Config_Release_CI failed
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
icsharpcode.ILSpy (Build Config_Debug_Zip) Build Config_Debug_Zip succeeded
Details
icsharpcode.ILSpy (Build Config_Release_Store) Build Config_Release_Store succeeded
Details
icsharpcode.ILSpy (Build Config_Release_Zip) Build Config_Release_Zip succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.