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 1 commit into from Nov 6, 2019


Copy link

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