Trying to use VGCore.Curve.PutCurveInfo with C# but won't accept CurveElement[] as parameter1, error says needs System.Array, WTF?

According to the API documentation I should be able to pass as paramter1 to Curve.PutCurveInfo CurveElement[], this works as expected in CorelDRAW X6, but fails in CorelDRAW 2021.

Here is the code snippet in question:

CurveElement[] curveInfo = CorelDrawUtilities.GeometryToCurveInfo(cdrDoc, cdrUnit.cdrInch, pg);
shape.Curve.PutCurveInfo(ref curveInfo);