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

Prepare ComInterfaceGenerator for going into the public API #83894

Merged
merged 3 commits into from
Apr 3, 2023

Conversation

jkoritzinsky
Copy link
Member

  • Rename the exception marshallers per API review.
  • Since we aren't going to expose the "object unwrapper" mechanism until we expose the generic "vtable" logic, change the ComInterfaceGenerator to use the ComWrappers.ComInterfaceDispatch APIs directly.
  • Separate more of the code between the VirtualMethodIndex generator and the ComInterface generator so we don't have the unsupported generator code influencing the shipping generator's code.

- Rename the exception marshallers per API review.
- Since we aren't going to expose the "object unwrapper" mechanism until we expose the generic "vtable" logic, change the ComInterfaceGenerator to use the ComWrappers.ComInterfaceDispatch APIs directly.
- Separate more of the code between the VirtualMethodIndex generator and the ComInterface generator so we don't have the unsupported generator code influencing the shipping generator's code.
@jkoritzinsky jkoritzinsky added area-System.Runtime.InteropServices source-generator Indicates an issue with a source generator feature labels Mar 24, 2023
@jkoritzinsky jkoritzinsky added this to the 8.0.0 milestone Mar 24, 2023
@ghost ghost assigned jkoritzinsky Mar 24, 2023
@ghost
Copy link

ghost commented Mar 24, 2023

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

Issue Details
  • Rename the exception marshallers per API review.
  • Since we aren't going to expose the "object unwrapper" mechanism until we expose the generic "vtable" logic, change the ComInterfaceGenerator to use the ComWrappers.ComInterfaceDispatch APIs directly.
  • Separate more of the code between the VirtualMethodIndex generator and the ComInterface generator so we don't have the unsupported generator code influencing the shipping generator's code.
Author: jkoritzinsky
Assignees: -
Labels:

area-System.Runtime.InteropServices, source-generator

Milestone: 8.0.0

@jkoritzinsky jkoritzinsky merged commit b2f421f into dotnet:main Apr 3, 2023
@jkoritzinsky jkoritzinsky deleted the prep-for-public branch April 3, 2023 23:06
@ghost ghost locked as resolved and limited conversation to collaborators May 7, 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.

2 participants