Rename GenericParam props because they're flags
Add MethodAttributes.PInvokeImpl for compat