eolina_mono: prevent empty ExtensionMethods class

Test Plan:
Check the code below is removed from `efl_ui_box_stack.eo.cs`.
```
#if EFL_BETA
#pragma warning disable CS1591
public static class CoreUI_UIBoxStack_ExtensionMethods {
}
#pragma warning restore CS1591
#endif
```

Reviewers: lauromoura, Jaehyun_Cho

Reviewed By: Jaehyun_Cho

Subscribers: cedric, #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D10905
This commit is contained in:
Yeongjong Lee 2019-12-19 16:30:48 +09:00 committed by Jaehyun Cho
parent 837528201f
commit a9fa8da384
1 changed files with 3 additions and 0 deletions

View File

@ -381,6 +381,9 @@ struct klass
std::copy(c.properties.begin(), c.properties.end(), std::back_inserter(implementable_properties));
}
if (implementable_properties.size() == 0 && cls.parts.size() == 0)
return true;
if(!as_generator
(lit("#if EFL_BETA\n")
<< "#pragma warning disable CS1591\n" // Disabling warnings as DocFx will hide these classes