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
This commit is contained in:
Felipe Magno de Almeida 2019-04-09 18:37:01 -03:00 committed by Vitor Sousa
parent e7e1d777f1
commit 0afd19ba62
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}