On Tue Jun 17 14:36:02 2025 +0000, Rémi Bernon wrote:
This seems to be missing a corresponding `MEMBERREF` row, monodis is now asserting with the new additions. I believe it's probably also the case for the delegate `.ctor` and method btw, I missed it in last MR.
monodis also asserts on native windows.foundation.winmd. It could be making assumptions that hold for .NET assemblies but not for WinRT metadata, or perhaps it's a plain bug. I doubt it was tested a lot against winmd files. This snippet produces equivalent rows according to winedump -j clr when compiled with widl and midlrt:
``` [ contract(Windows.Foundation.UniversalApiContract, 1.0), uuid(11111111-2222-3333-4444-555555555555), ] interface IWineInterface : IInspectable { [propget] HRESULT WineMethod([out, retval] int *param); [propput] HRESULT WineMethod(int param); }; ```