public int Add (X509Extension extension) { if (extension == null) throw new ArgumentNullException ("extension"); if (readOnly) throw new NotSupportedException ("Extensions are read only"); return InnerList.Add (extension); }