I think we're able to re-use `Helpers.ToCSharpCallConv` here (feel free to rename it to something less C#-specific if you want).