void SetBaseType ()
{
if (base_type == null) {
TypeBuilder.SetParent (null);
return;
}
if (spec.BaseType == base_type)
return;
spec.BaseType = base_type;
if (IsPartialPart)
spec.UpdateInflatedInstancesBaseType ();
// Set base type after type creation
TypeBuilder.SetParent (base_type.GetMetaInfo ());
}