internal static void AttributeHasDomain(List <KBObject> objs, IOutputService output) { foreach (KBObject obj in objs) { if (obj is Artech.Genexus.Common.Objects.Attribute) { Artech.Genexus.Common.Objects.Attribute a = (Artech.Genexus.Common.Objects.Attribute)obj; string Picture = Utility.ReturnPicture(a); bool isSubtype = Utility.AttIsSubtype(a); if ((a.DomainBasedOn == null) && !isSubtype && Utility.AttHasToBeInDomain(a)) { OutputError err = new OutputError("Attribute without domain: " + a.Name, MessageLevel.Warning, new KBObjectAnyPosition(obj)); output.Add("KBDoctor", err); } } } }