-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Add PreserveSig support to ComInterfaceGenerator #85941
Conversation
Add support for PreserveSig and some unit tests that validate the shape of the emitted function pointer signature.
Tagging subscribers to this area: @dotnet/interop-contrib Issue DetailsAdd support for PreserveSig and some unit tests that validate the shape of the emitted function pointer signature. Fixes #85816
|
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. The product changes should be viewed excluding whitespace, they are trivial.
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.
Maybe in a separate change, but I think it'd be good to add something to the integration tests too.
...ystem.Runtime.InteropServices/tests/ComInterfaceGenerator.Unit.Tests/TargetSignatureTests.cs
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
Add support for PreserveSig and some unit tests that validate the shape of the emitted function pointer signature.
Fixes #85816