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

Convert System.DirectoryServices.Protocols and System.Drawing.Common to use GeneratedDllImport #62365

Merged
merged 3 commits into from
Dec 7, 2021

Conversation

jkoritzinsky
Copy link
Member

Convert the last two remaining libraries to use GeneratedDllImport based on our current support.

This means that any P/Invokes that don't use HandleRef, layout classes, non-blittable structs, or non-blittable types defined in other assemblies have been converted.

For HandleRef support, we're looking at adding the support through our standard "custom type marshalling" design that we will use for non-blittable structs and layout classes, but that still requires that support to be available/used, which depends at least partially on API Review.

…to use GeneratedDllImport

Convert the last two remaining libraries to use GeneratedDllImport based on our current support.

This means that any P/Invokes that don't use HandleRef, layout classes, non-blittable structs, or non-blittable types defined in other assemblies have been converted.

For HandleRef support, we're looking at adding the support through our standard "custom type marshalling" design that we will use for non-blittable structs and layout classes, but that still requires that support to be available/used.
… entrypoint name isn't decorated with an A/W suffix
@jkoritzinsky jkoritzinsky merged commit 2cbc071 into dotnet:main Dec 7, 2021
@jkoritzinsky jkoritzinsky deleted the gendllimport-s.ds.p branch December 7, 2021 05:09
@ghost ghost locked as resolved and limited conversation to collaborators Jan 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants