Page MenuHomePhabricator

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


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.
felipealmeida closed this task as Resolved.
felipealmeida added a subscriber: lauromoura.

IMO, this is resolved with the new indexing property patch.