Rémi Bernon (@rbernon) commented about tools/widl/metadata.c:
- BYTE sig[256];
- char *name;
- property = add_property_row( 0, add_string(method->name), add_blob(sig_prop, sizeof(sig_prop)) );
- method->declspec.type->md.property = property;
- add_propertymap_row( iface->md.def, property );
- paramlist = add_method_params_step2( type_function_get_args(method->declspec.type) );
- sig_size = make_method_sig( method, sig );
- attrs = METHOD_ATTR_FAMANDASSEM | METHOD_ATTR_FAMILY | METHOD_ATTR_VIRTUAL | METHOD_ATTR_HIDEBYSIG |
METHOD_ATTR_NEWSLOT | METHOD_ATTR_ABSTRACT | METHOD_ATTR_SPECIALNAME;
- name = strmake( "get_%s", method->name );
- methoddef = add_methoddef_row( 0, attrs, add_string(name), add_blob(sig, sig_size), paramlist );
- free( name );
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.