public bool IsXmlAnyAttribute (MemberInfo member) { object [] attrs = member.GetCustomAttributes ( typeof (System.Xml.Serialization.XmlAnyAttributeAttribute), false); if (attrs.Length == 0) return false; else return true; }