From 715b382460a38ac9ac73b38ed455830e68645271 Mon Sep 17 00:00:00 2001 From: Felipe Magno de Almeida Date: Tue, 9 Apr 2019 18:37:01 -0300 Subject: [PATCH] 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); } }