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

Recognize the stateful marshaller shape #71355

Merged
merged 10 commits into from
Jun 29, 2022

Conversation

jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Jun 27, 2022

Add support for stateful marshallers.

This PR includes support for the basic methods as well as Free and NotifyInvokeSucceeded and caller allocated buffers. It does not include support for pinning yet.

This should get us enough support to be able to move ASP.NET Core over to the new model once we get the new API approved.

@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Jun 27, 2022
@ghost ghost assigned jkoritzinsky Jun 27, 2022
@ghost
Copy link

ghost commented Jun 27, 2022

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

Issue Details

Add support for stateful marshallers.

This PR includes support for the basic methods as well as Free and NotifyInvokeSucceeded. It does not include support for pinning yet.

This should get us enough support to be able to move ASP.NET Core over to the new model once we get the new API approved.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: -

…try-point attributes separately. This allows us to disambiguate between the scenario where none of the marshallers from the scenario where none of the new attributes are used.
@jkoritzinsky
Copy link
Member Author

Failures are a network failure with docker, #71233, and #70969

@jkoritzinsky jkoritzinsky merged commit 8334fa5 into dotnet:main Jun 29, 2022
@jkoritzinsky jkoritzinsky deleted the stateful-marshaller-shapes branch June 29, 2022 23:50
@ghost ghost locked as resolved and limited conversation to collaborators Jul 30, 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