/// <summary>Removes all <see cref="T:System.Windows.Controls.ValidationError" /> objects from the specified <see cref="T:System.Windows.Data.BindingExpressionBase" /> object.</summary>
 /// <param name="bindingExpression">The object to turn valid.</param>
 /// <exception cref="T:System.ArgumentNullException">If <paramref name="bindingExpression" /> is <see langword="null" />.</exception>
 // Token: 0x06005980 RID: 22912 RVA: 0x0018B2DF File Offset: 0x001894DF
 public static void ClearInvalid(BindingExpressionBase bindingExpression)
 {
     if (bindingExpression == null)
     {
         throw new ArgumentNullException("bindingExpression");
     }
     bindingExpression.UpdateValidationError(null, false);
 }
 /// <summary>Marks the specified <see cref="T:System.Windows.Data.BindingExpression" /> object as invalid with the specified <see cref="T:System.Windows.Controls.ValidationError" /> object.</summary>
 /// <param name="bindingExpression">The <see cref="T:System.Windows.Data.BindingExpression" /> object to mark as invalid.</param>
 /// <param name="validationError">The <see cref="T:System.Windows.Controls.ValidationError" /> object to use.</param>
 /// <exception cref="T:System.ArgumentNullException">If <paramref name="bindingExpression" /> is <see langword="null" />.</exception>
 /// <exception cref="T:System.ArgumentNullException">If <paramref name="validationError" /> is <see langword="null" />.</exception>
 // Token: 0x0600597F RID: 22911 RVA: 0x0018B2B9 File Offset: 0x001894B9
 public static void MarkInvalid(BindingExpressionBase bindingExpression, ValidationError validationError)
 {
     if (bindingExpression == null)
     {
         throw new ArgumentNullException("bindingExpression");
     }
     if (validationError == null)
     {
         throw new ArgumentNullException("validationError");
     }
     bindingExpression.UpdateValidationError(validationError, false);
 }