internal static bool IsCatchableException(Exception e) { Debug.Assert(e != null, "Unexpected null exception"); return !( e is OutOfMemoryException || e is NullReferenceException ); } };