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