2 writes to _errorCount
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (2)
663
_errorCount
= 0;
780
_errorCount
+= string.IsNullOrEmpty(value) ? -1 : 1;
2 references to _errorCount
System.Windows.Forms (2)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (2)
187
public bool HasErrors =>
_errorCount
> 0;
783
Debug.Assert(
_errorCount
>= 0, "Error count should not be less than zero");