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

A possible fix for Issue 1251 #1253

Merged
merged 3 commits into from
Aug 10, 2018

Conversation

siegfriedpammer
Copy link
Member

@siegfriedpammer siegfriedpammer commented Aug 10, 2018

This should fix #1251. I am not sure if we can treat callvirt instructions the same as call instructions, but I think this should be no problem.

@dgrunwald
Copy link
Member

Looks good to me.
We might want to extend this to newobj as well while we're at it (note: newobj will need to check the DeclaringType instead of the ReturnType)

@siegfriedpammer siegfriedpammer merged commit 1bb09bb into icsharpcode:master Aug 10, 2018
@siegfriedpammer siegfriedpammer deleted the issue1251-fix branch August 10, 2018 21:19
ElektroKill pushed a commit to dnSpyEx/ILSpy that referenced this pull request Jul 9, 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.

Method calls on nullable value types prevent inlining
2 participants