mardi 14 août 2018

Find an identical function signature with different name

Given an object and an instance method, I want to get a method with the exact same signature except the name. That includes parameter list, generic parameters, possibly attributes if they're a part of the signature. How can I do that?

I know GetMethod() exists but I couldn't figure out which overload covers all the different possible signature variations.





Aucun commentaire:

Enregistrer un commentaire