Transform in Userdata

Grasshopper Development - I have a custom type inheriting from Userdata and it contains a Transform function. However, I keep getting a message indicating that it’s overriding the Transform in Userdata. How can I resolve this?