10 references to Control
System.Windows.Forms (4)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (4)
392if (binding is not null && binding.Control is not null) 394SetError(binding.Control, (e.ErrorText ?? string.Empty)); 428if (errBindings[j].Control is Control control) 478if (errBindings[j].Control is not Control control)
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingTests.cs (6)
30Assert.Null(binding.Control); 59Assert.Null(binding.Control); 88Assert.Null(binding.Control); 117Assert.Null(binding.Control); 146Assert.Null(binding.Control); 175Assert.Null(binding.Control);