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)
3047if (dgvdee.ThrowException) 3112if (dgvdee2.ThrowException) 3730if (dgvdee.ThrowException) 3990if (dgvdee.ThrowException) 4004if (dgvdee.ThrowException) 6181if (dgvdee.ThrowException) 6195if (dgvdee.ThrowException) 9714return dgvdee is null || (dgvdee.ThrowException ? throw dgvdee.Exception : !dgvdee.Cancel); 9749return dgvdee.ThrowException ? throw dgvdee.Exception : !dgvdee.Cancel; 19999if (dgvdee.ThrowException) 21430if (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);