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

Stop requiring bidirectional support for MarshalMode.Default #71977

Merged
merged 1 commit into from
Jul 12, 2022

Conversation

elinor-fung
Copy link
Member

Currently, we only respect a marshaller type for MarshalMode.Default that supports both managed to unmanaged and unmanaged to managed. This updates the source generator to allow marshallers for that don't have bidirectional support for MarshalMode.Default.

@elinor-fung elinor-fung added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Jul 11, 2022
@elinor-fung elinor-fung added this to the 7.0.0 milestone Jul 11, 2022
@ghost ghost assigned elinor-fung Jul 11, 2022
@ghost
Copy link

ghost commented Jul 11, 2022

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

Issue Details

Currently, we only respect a marshaller type for MarshalMode.Default that supports both managed to unmanaged and unmanaged to managed. This updates the source generator to allow marshallers for that don't have bidirectional support for MarshalMode.Default.

Author: elinor-fung
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 7.0.0

@elinor-fung
Copy link
Member Author

elinor-fung commented Jul 12, 2022

Failure is #71952

@elinor-fung elinor-fung merged commit a3a106f into dotnet:main Jul 12, 2022
@elinor-fung elinor-fung deleted the defaultMode branch July 12, 2022 03:04
@ghost ghost locked as resolved and limited conversation to collaborators Aug 11, 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.

2 participants