CallGenericMethod wasn't working with optional parameters

bugz: 27058