Skip to content

Commit

Permalink
Fix type marshaling. (#528)
Browse files Browse the repository at this point in the history
  • Loading branch information
manodasanW authored Oct 20, 2020
1 parent 5b1e5e7 commit 0329a4c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions WinRT.Runtime/Projections/Type.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ public static Type GetAbi(Marshaler m)
{
return null;
}

if(value.Kind == TypeKind.Custom)
{
return global::System.Type.GetType(name);
}

return TypeNameSupport.FindTypeByName(name.AsSpan()).type;
}

Expand Down

0 comments on commit 0329a4c

Please sign in to comment.