zmike pushed a commit to branch efl-1.22. http://git.enlightenment.org/core/efl.git/commit/?id=715b382460a38ac9ac73b38ed455830e68645271
commit 715b382460a38ac9ac73b38ed455830e68645271 Author: Felipe Magno de Almeida <[email protected]> Date: Tue Apr 9 18:37:01 2019 -0300 efl-mono: Add test and fix problem with private dynamic types passed as parameters Summary: The code that searches the type dynamically fails instead of falling back to Efl.Object. Now it fallbacks to Efl.Object. Fixes T7783 Reviewers: bu5hm4n, vitor.sousa, segfaultxavi, woohyun, Jaehyun_Cho, YOhoho, lauromoura Reviewed By: vitor.sousa, lauromoura Subscribers: lauromoura, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7783 Differential Revision: https://phab.enlightenment.org/D8574 --- src/bindings/mono/eo_mono/iwrapper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bindings/mono/eo_mono/iwrapper.cs b/src/bindings/mono/eo_mono/iwrapper.cs index 83d8fd53ca..5850da8c5c 100644 --- a/src/bindings/mono/eo_mono/iwrapper.cs +++ b/src/bindings/mono/eo_mono/iwrapper.cs @@ -824,7 +824,7 @@ public static class ClassRegister if (t == null) { - throw new System.InvalidOperationException($"Could not find the C# binding class for the EFL class: {name}"); + return typeof(Efl.Object); } } --
