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

Fix interface name returned for GetRuntimeClassName and fix build #1290

Merged
merged 4 commits into from
Jan 31, 2023

Conversation

manodasanW
Copy link
Member

When we have a non-WinRT C# class which we need to return the runtime class name for, we go through all the WinRT interfaces and decide on one of them to use as we can only return one. As part of this, we try to see if an interface implements the others and if so, we try to choose the one which implements the other interfaces. The logic to check this was previously incorrect and chose the child interface rather than the parent.

@manodasanW manodasanW merged commit 579b61a into master Jan 31, 2023
@manodasanW manodasanW deleted the manodasanw/fixinterfacename2 branch January 31, 2023 22:50
dongle-the-gadget pushed a commit to dongle-the-gadget/CsWinRT that referenced this pull request Jul 29, 2023
…crosoft#1290)

* Fix interface name returned in GetRuntimeClassName

* Fix build

* Try build fix

* Update version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants