forked from enlightenment/efl
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:
parent
e7e1d777f1
commit
0afd19ba62
|
@ -824,7 +824,7 @@ public static class ClassRegister
|
||||||
|
|
||||||
if (t == null)
|
if (t == null)
|
||||||
{
|
{
|
||||||
throw new System.InvalidOperationException($"Could not find the C# binding class for the EFL class: {name}");
|
return typeof(Efl.Object);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue