Skip to content

Conversation

@manodasanW
Copy link
Member

WinUI happens to treat IBindableIterator (IEnumerable) and IIterator<object> (IEnumerable<object>) as the same and we maintain that for compat reasons. But CsWinRT itself doesn't assume that and does do a QI for IIterator<object> as needed which means we need to make sure that interface is also on the vtable when IBindableIterator is used. This was the case with JIT as both interfaces were implemented, but the WinRT exposed attribute we put didn't and this regressed.

Fixes microsoft/microsoft-ui-xaml#9855

@manodasanW manodasanW merged commit 4d0c9c1 into staging/AOT Aug 1, 2024
@manodasanW manodasanW deleted the manodasanw/ibindableiterable branch August 1, 2024 21:24
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