internal static bool IsMarkupExtension(ITypeInformation def)
 {
     while (def != null)
     {
         if (def.Name == "MarkupExtension")
         {
             return(true);
         }
         def = def.GetBaseType();
     }
     return(false);
 }