public int indexOfTypeSpecs(IXmlBBase el) { return ((System.Collections.IList) allTypeSpecs()).IndexOf (el); }