public static IEnumerable<Exception> AllExceptionsBack(this Exception ex) { for(; ex != null; ex = ex.InnerException) yield return ex; }