3 writes to ThrowException
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (3)
48DataGridViewDataErrorEventArgs e = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value }; 55DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false }; 63Assert.Throws<ArgumentException>(() => e.ThrowException = true);
23 references to ThrowException
System.Windows.Forms (20)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1130if (dgvdee.ThrowException) 1156if (dgvdee.ThrowException) 1188if (dgvdee.ThrowException) 1441if (dgvdee.ThrowException)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (11)
3050if (dgvdee.ThrowException) 3115if (dgvdee2.ThrowException) 3733if (dgvdee.ThrowException) 3993if (dgvdee.ThrowException) 4007if (dgvdee.ThrowException) 6184if (dgvdee.ThrowException) 6198if (dgvdee.ThrowException) 9717return dgvdee is null || (dgvdee.ThrowException ? throw dgvdee.Exception : !dgvdee.Cancel); 9752return dgvdee.ThrowException ? throw dgvdee.Exception : !dgvdee.Cancel; 20002if (dgvdee.ThrowException) 21433if (dgvdee.ThrowException)
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1635if (dgvdee.ThrowException) 1672if (dgvdee.ThrowException)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
936if (dgvdee.ThrowException) 973if (dgvdee.ThrowException) 1008if (dgvdee.ThrowException)
System.Windows.Forms.Tests (3)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (3)
28Assert.False(e.ThrowException); 49Assert.Equal(value, e.ThrowException); 56Assert.False(e.ThrowException);