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

Report a diagnostic when a type inherits from a GeneratedComClass-attributed type and does not have the GeneratedComClass attribute #105277

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

jkoritzinsky
Copy link
Member

Report 'Add GeneratedComClass' diagnostic when the base type also has [GeneratedComClass] no matter if any [GeneratedComInterface] interfaces are implemented.

Fixes #94357

… [GeneratedComClass] no matter if any [GeneratedComInterface] interfaces are implemented
Copy link
Contributor

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

@jkoritzinsky
Copy link
Member Author

/ba-g timeout failure in networking is unrelated.

@jkoritzinsky jkoritzinsky merged commit c5b2dcd into dotnet:main Jul 23, 2024
88 of 94 checks passed
@jkoritzinsky jkoritzinsky deleted the base-generated-com-class branch July 23, 2024 23:51
@github-actions github-actions bot locked and limited conversation to collaborators Aug 23, 2024
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
Status: Done
Development

Successfully merging this pull request may close these issues.

GeneratedComClass doesn't apply to inherited classes
2 participants