We have annotated the above API, public static System.Array GetValues(System.Type enumType), as dangerous (RequiresDynamicCode("It might not be possible to create an array of the enum type at runtime. Use the GetValues<TEnum> overload instead.")).
Consider removing the RDC and providing a native AOT safe implementation.