Page MenuHomePhabricator

mono: C# property wrappers should only be created when they match exactly an EO property
Open, HighPublic

Description

EO properties are very flexible but not so C# properties.
A C# property cannot have a return value, cannot have keys and must have only one value.
Therefore, the mono generator should only create C# properties when they match the EO property exactly.
For example, Efl.Ui.Calendar.date_min:

@property date_min {
   set {
      return: bool;
   }
   get {}
   values {
      min: Efl.Time;
   }
}

should not have a C# property, because the setter has a return value.

segfaultxavi triaged this task as High priority.