There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Type DbEntityValidationException.EntityValidationErrors as List<T> (or custom collection type)
DbEntityValidationException.EntityValidationErrors is defined as a IEnumerable<DbEntityValidationResult>.
This makes it unnecessarily hard to work. For example, the exception dialog that appears when the exception is thrown is not capable of looking at the contents of a IEnumerable.
In code it is annoying as well. It really returns a List<DbEntityValidationResult>. But you cannot guarantee that's what you are getting back, so instead you have to call ToList() on it and make an unnecessary copy.
DbEntityValidationException.EntityValidationErrors should instead return a DbEntityValidationResultCollection.
Since this is only making the return type more constrained, this is a non-breaking change.