public static bool IsSecurityOrFatal(Exception ex) { if (!(ex is SecurityException)) { return IsFatal(ex); } return true; }