Skip to content

Draft: Handle expando objects for late bound operations.

Santino Mazza requested to merge tati/mono-basic:expandoobjectlatebind into wine-mono

For now this is only a workaround specific for expando objects, as these implement the IDictionary interface so it's pretty straight forward to get and set it's members. The problem is that the implementation should make use of IDynamicMetaObjectProvider as it's the base interface for all dynamic objects including DynamicObject and ExpandoObject but I'm not sure how to do this. I've tried writting an implementation of SetMemberBinder and GetMemberBinder to use with BindSetMember but for some reason the ExpandoObject add member function never gets called. This is my test branch with the BindSetMember try tati1454/mono-basic@8b67dbbe

Merge request reports

Loading