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] Use dynamic method's assembly when getting a native wrapper #65320

Merged
merged 1 commit into from
Feb 14, 2022

Conversation

lambdageek
Copy link
Member

The dynamic method klass is just System.Object, so its image is always corelib. As a result, we incorrectly pick up the DisableRuntimeMarshalling attribute from CoreLib.

Fixes #65304

The corresponding change to the JIT+AOT was done in
ac825ab

The dynamic method `klass` is just System.Object, so its image is always
corelib.  As a result, we incorrectly pick up the DisableRuntimeMarshalling
attribute from CoreLib.

Fixes dotnet#65304

The corresponding change to the JIT+AOT was done in
dotnet@ac825ab
@ghost
Copy link

ghost commented Feb 14, 2022

Tagging subscribers to this area: @BrzVlad
See info in area-owners.md if you want to be subscribed.

Issue Details

The dynamic method klass is just System.Object, so its image is always corelib. As a result, we incorrectly pick up the DisableRuntimeMarshalling attribute from CoreLib.

Fixes #65304

The corresponding change to the JIT+AOT was done in
ac825ab

Author: lambdageek
Assignees: -
Labels:

area-Codegen-Interpreter-mono

Milestone: -

@lambdageek
Copy link
Member Author

/azp run runtime-staging

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@lambdageek
Copy link
Member Author

Wasm failures are #65242

@lambdageek lambdageek merged commit 3e5c2b9 into dotnet:main Feb 14, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Mar 17, 2022
@lambdageek lambdageek deleted the fix-gh-65304 branch March 19, 2022 16:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants