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