diff --git a/WinRT.Runtime/Projections/Type.cs b/WinRT.Runtime/Projections/Type.cs index 429d45973..df123c8d8 100644 --- a/WinRT.Runtime/Projections/Type.cs +++ b/WinRT.Runtime/Projections/Type.cs @@ -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; }