Skip to content

Conversation

@jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Jun 13, 2023

Block "Convert to LibraryImport" in cases where the user has specified BestFitMapping or ThrowUnmappableChar in settings other than the one configuration LibraryImport supports. Also block __arglist varargs as we don't support that in LibraryImport either.

Fixes #79159

@jkoritzinsky jkoritzinsky added this to the 8.0.0 milestone Jun 13, 2023
@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Jun 13, 2023
@ghost ghost assigned jkoritzinsky Jun 13, 2023
@ghost
Copy link

ghost commented Jun 13, 2023

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

Issue Details

Block "Convert to LibraryImport" in cases where the user has specified BestFitMapping or ThrowUnmappableChar in settings other than the one configuration LibraryImport supports. Also block __arglist varargs as we don't support that in LibraryImport either.

Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 8.0.0

@jkoritzinsky
Copy link
Member Author

Failures are all unrelated.

@jkoritzinsky jkoritzinsky merged commit 2a09527 into dotnet:main Jun 22, 2023
@jkoritzinsky jkoritzinsky deleted the fixes/79159 branch June 22, 2023 20:32
@ghost ghost locked as resolved and limited conversation to collaborators Jul 23, 2023
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.

SYSLIB1054 code fixer should not generate a code that try to access to LibraryImport.ThrowOnUnmappableChar

3 participants