Class representing Edm error for an inmemory EdmItem
Inheritance: System.Data.Metadata.Edm.EdmError
        /// <summary>
        /// Invoke the event hook Add an error to the list
        /// </summary>
        /// <param name="errors">The list of errors to add to</param>
        /// <param name="newError">The new error to add</param>
        private void AddError(List <EdmItemError> errors, EdmItemError newError)
        {
            // Create an event args object and call the event hook, the derived class may have changed
            // the validation error to some other object, in which case we add the validation error object
            // coming from the event args
            ValidationErrorEventArgs e = new ValidationErrorEventArgs(newError);

            OnValidationError(e);
            errors.Add(e.ValidationError);
        }
 /// <summary>
 /// Construct the validation error event args with a validation error object
 /// </summary>
 /// <param name="validationError">The validation error object for this event args</param>
 public ValidationErrorEventArgs(EdmItemError validationError)
 {
     _validationError = validationError;
 }