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

Remove GeneratedDllImportAttribute.PreserveSig #65164

Merged
merged 1 commit into from
Feb 11, 2022

Conversation

elinor-fung
Copy link
Member

@elinor-fung elinor-fung commented Feb 10, 2022

We've decided to not support Windows-centric things like PreserveSig in generated p/invokes.

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

ghost commented Feb 10, 2022

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

Issue Details

null

Author: elinor-fung
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 7.0.0

@jkoritzinsky
Copy link
Member

I should have asked if anyone was working on this before I started...

I'll follow up this PR with some additional support in our "convert to source generated P/Invokes" analyzer for handling PreserveSig=false.

@elinor-fung
Copy link
Member Author

I should have asked if anyone was working on this before I started...

Ah, sorry!

I'll follow up this PR with some additional support in our "convert to source generated P/Invokes" analyzer for handling PreserveSig=false.

👍

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.

3 participants