public void SerializationRoundTrip() { var ex = new SafeArrayRankMismatchException("E_BAD_PIZZA"); BinaryFormatterHelpers.AssertRoundtrips(ex); }