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