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