Page MenuHomePhabricator

efl-mono: Rules to prevent methods called like classes need to take the I interface prefix into account
Closed, ResolvedPublic

Description

In C# you cannot have a method inside a class called like the class (that would be a constructor).
But in EO we have many such methods like Efl.Pack.Pack().
To solve this, these methods are called Do in C#: Efl.Pack.DoPack().
However, now that interfaces have a I prefix, the rule has not been updated and we still have Efl.IPack.DoPack() when we could have the simpler Efl.IPack.Pack().