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

[interp] Fix pinvokes with HandleRef #55404

Merged
merged 1 commit into from
Jul 10, 2021
Merged

Commits on Jul 9, 2021

  1. [interp] Fix pinvokes with HandleRef

    The m2n wrapper marshals HandleRef structs from a vtype to intptr. The MonoMethod for a pinvoke method stores the unmarshalled signature. When locating the args on the stack during the pinvoke call we need to use the marshalled signature instead (which is saved in the code stream for the calli opcode)
    BrzVlad committed Jul 9, 2021
    Configuration menu
    Copy the full SHA
    71f5f51 View commit details
    Browse the repository at this point in the history