public TypeSpec GetAttributeCoClass () { if (OptAttributes == null) return null; Attribute a = OptAttributes.Search (Module.PredefinedAttributes.CoClass); if (a == null) return null; return a.GetCoClassAttributeValue (); }