AK.F1.Timing.Extensions.ExceptionExtensionsTest.GetFatalExceptions C# (CSharp) Method

GetFatalExceptions() private method

private GetFatalExceptions ( ) : IEnumerable
return IEnumerable
        private IEnumerable<Exception> GetFatalExceptions()
        {
            yield return (Exception)FormatterServices.GetUninitializedObject(typeof(ThreadAbortException));
            yield return new StackOverflowException();
            yield return new OutOfMemoryException();
            yield return new ExecutionEngineException();
            yield return new ArgumentException();
        }