Related - https://github.com/dotnet/runtime/pull/34777. We should detect these types and fail gracefully rather than leaking exceptions from lower level APIs like `Type.MakeGenericType`.