lundi 19 octobre 2015

How can I change a type's attributes?

How can I modify the TypeAttributes attached to a certain Type?

I want to modify a type and make it abstract by applying the TypeAttributes.Abstract flag, how can I do this?

I'm sure I need to call into the CLR somewhere, but I can't trace down where it gets this info from, it seems to be an endless system of layered methods calling other ones.





Aucun commentaire:

Enregistrer un commentaire