aboutsummaryrefslogtreecommitdiffstats
path: root/src/bindings
diff options
context:
space:
mode:
authorFelipe Magno de Almeida <felipe@expertisesolutions.com.br>2019-04-09 18:37:01 -0300
committerVitor Sousa <vitorsousa@expertisesolutions.com.br>2019-04-09 18:40:00 -0300
commit0afd19ba62f38567c12cb1bf953ffdd4d402f382 (patch)
tree25979a114c465aae4006cdc9ac13cd5b5bd17065 /src/bindings
parentcsharp: Add some null checks. (diff)
downloadefl-0afd19ba62f38567c12cb1bf953ffdd4d402f382.tar.gz
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 https://phab.enlightenment.org/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: https://phab.enlightenment.org/T7783 Differential Revision: https://phab.enlightenment.org/D8574
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/mono/eo_mono/iwrapper.cs2
1 files changed, 1 insertions, 1 deletions
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);
}
}