private object FixCustomAttributeValue(object obj)
 {
     if (obj is TypeReference)
     {
         return(Fix((TypeReference)obj));
     }
     if (obj is CustomAttributeArgument)
     {
         return(Fix((CustomAttributeArgument)obj));
     }
     if (obj is CustomAttributeArgument[])
     {
         return(Array.ConvertAll((CustomAttributeArgument[])obj, a => Fix(a)));
     }
     if (renameIkvmAttributeReference && obj is string)
     {
         return(_repackContext.FixReferenceInIkvmAttribute((string)obj));
     }
     return(obj);
 }