-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Conversation
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsChecks 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
|
....Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/ConvertToLibraryImportFixer.cs
Outdated
Show resolved
Hide resolved
....Runtime.InteropServices/gen/LibraryImportGenerator/Analyzers/ConvertToLibraryImportFixer.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this 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?
Failures are known |
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