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

Don't add duplicate suffix in LibraryImport code fix. #85668

Merged
merged 4 commits into from
May 4, 2023

Conversation

jtschuster
Copy link
Member

Checks for the value of the EntryPoint, and if it already ends in the suffix that would be appended, don't append another suffix.

Fixes #85578

@ghost
Copy link

ghost commented May 2, 2023

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

Issue Details

Checks for the value of the EntryPoint, and if it already ends in the suffix that would be appended, don't append another suffix.

Fixes #85578

Author: jtschuster
Assignees: -
Labels:

area-System.Runtime.InteropServices

Milestone: -

Copy link
Member

@AaronRobinsonMSFT AaronRobinsonMSFT left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! @jkoritzinsky Any other comments?

@jtschuster
Copy link
Member Author

Failures are known

@jtschuster jtschuster merged commit dca31cf into dotnet:main May 4, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Jun 4, 2023
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.

Convert To 'LibraryImport' with 'W' suffix creates invalid code
3 participants