Changing how `[Wrap]` works will likely cause other issues and it's also confusing.
I think we should be using something like:
HMPresenceType PresenceType {
[Wrap ("HMPresenceTypeExtensions.GetValue (_PresenceType)")]
get;
[NotImplemented]
set;
}
but it still require a small fix to avoid
> error BI1018: bgen: No [Export] attribute on property HomeKit.HMPresenceEvent.PresenceType
That check should be relaxed if the getter and setters (when presents) have [Wrap], [Export], [BindAs] or [NotImplemented].
FWIW it always bugged me to do something like
[Export ("advertisingTrackingEnabled")]
bool IsAdvertisingTrackingEnabled { [Bind ("isAdvertisingTrackingEnabled")] get; }
since the [Export] is ignored (when no setter is present).