protected override void GetObjectData(SerializationInfo info, StreamingContext context) { info.AddValue("Constraint", Constraint); }