internal static bool NotExpectedFunctionException(Exception e) { return(!(e is InvalidCastException) && !(e is ArgumentNullException) && (!(e is FormatException) && !(e is InvalidOperationException)) && ExceptionHandling.NotExpectedReflectionException(e)); }
internal static bool NotExpectedSerializationException(Exception e) { return(!(e is SerializationException) && ExceptionHandling.NotExpectedReflectionException(e)); }