System.Xml.XmlException.IsCatchableException C# (CSharp) Method

IsCatchableException() static private method

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