+ throw new ArgumentException (Locale.GetText ("Neither 'a' nor 'b' implements IComparable."));
+ }
+
+ // ISerializable
+ [SecurityPermission (SecurityAction.LinkDemand, SerializationFormatter = true)]
+ public void GetObjectData (SerializationInfo info, StreamingContext context)
+ {
+ if (info == null)
+ throw new ArgumentNullException ("info");
+
+ info.AddValue ("CompareInfo", m_compareInfo, typeof (CompareInfo));