Hi,

I want to rename an existing specific type (TypeDefinition) in a .Net
assembly (AssemblyDefinition) . There is a special case about class
derivation :

class BaseType {...} ;

class DerivedClass: BaseType
{...} ;

Assume that the type we want to rename is BaseType.  I rename class
BaseType to class NewBaseType. (Name property in TypeDefinition ) But
what about derivation connection in DerivedClass :
It was derived from class with "BaseType" name. Then I changed the
name of BaseType to NewBaseType.
After my renaming operation , how can I update this derivation
connection in DerivedClass so there must be
no TypeNotLocated or any other error in runtime.

Thanks.

Best Regards,
Akin Ocal
--~--~---------~--~----~------------~-------~--~----~
--
mono-cecil
-~----------~----~----~----~------~----~------~--~---

Reply via email to