Skip to content

Commit

Permalink
Fixed a bug with CLR binding code generator
Browse files Browse the repository at this point in the history
  • Loading branch information
liiir1985 committed Jan 9, 2019
1 parent 094d38b commit 03a73dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ILRuntime/Runtime/CLRBinding/BindingGeneratorExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ internal static void GetReturnValueCode(this Type type, StringBuilder sb, Envior

static bool CheckAssignableToCrossBindingAdapters(Enviorment.AppDomain domain, Type type)
{
if (type == typeof(object))
return true;
bool res = domain.CrossBindingAdaptors.ContainsKey(type);
if (!res)
{
Expand Down

0 comments on commit 03a73dd

Please sign in to comment.