AK.F1.Timing.Extensions.ExceptionExtensionsTest.GetFatalExceptions C# (CSharp) Méthode

GetFatalExceptions() private méthode

private GetFatalExceptions ( ) : IEnumerable
Résultat 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();
        }