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

Code fix to add DisableRuntimeMarshalling when required #67676

Merged

Conversation

jkoritzinsky
Copy link
Member

Implement code fix to provide the DisableRuntimeMarshalling attribute when a P/Invoke requires it.

Update tool versions to get required bugfixes

Implement code fix to provide the DisableRuntimeMarshalling attribute when a P/Invoke requires it.

Update tool versions to get required bugfixes
@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Apr 6, 2022
@jkoritzinsky jkoritzinsky added this to the 7.0.0 milestone Apr 6, 2022
@ghost ghost assigned jkoritzinsky Apr 6, 2022
@ghost
Copy link

ghost commented Apr 6, 2022

Tagging subscribers to this area: @dotnet/interop-contrib
See info in area-owners.md if you want to be subscribed.

Issue Details

Implement code fix to provide the DisableRuntimeMarshalling attribute when a P/Invoke requires it.

Update tool versions to get required bugfixes

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 7.0.0

@jkoritzinsky jkoritzinsky requested review from elinor-fung and AaronRobinsonMSFT and removed request for AaronRobinsonMSFT April 6, 2022 22:51
@jkoritzinsky
Copy link
Member Author

I'm seeing MethodAccessExceptions on Mono for these tests in the Roslyn SDK...

I'll take a look, but I have a feeling that this is some deficiency in Mono with dynamic assemblies and it might be worth just disabling these new tests on Mono for now. cc @akoeplinger

@jkoritzinsky
Copy link
Member Author

Test failures tracked by #67878, #67887, and #67888. Merging in.

@jkoritzinsky jkoritzinsky merged commit 5707668 into dotnet:main Apr 12, 2022
@jkoritzinsky jkoritzinsky deleted the disable-runtime-marshalling-code-fix branch April 12, 2022 04:54
@ghost ghost locked as resolved and limited conversation to collaborators May 12, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants