1 write to Exception
System.Windows.Forms (1)
System\Windows\Forms\Controls\DataGridView\DataGridViewDataErrorEventArgs.cs (1)
17
Exception
= exception;
25 references to Exception
System.Windows.Forms (24)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1132
throw dgvdee.
Exception
;
1158
throw dgvdee.
Exception
;
1190
throw dgvdee.
Exception
;
1443
throw dgvdee.
Exception
;
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (13)
3052
throw dgvdee.
Exception
;
3117
throw dgvdee2.
Exception
;
3735
throw dgvdee.
Exception
;
3995
throw dgvdee.
Exception
;
4009
throw dgvdee.
Exception
;
6186
throw dgvdee.
Exception
;
6200
throw dgvdee.
Exception
;
9717
return dgvdee is null || (dgvdee.ThrowException ? throw dgvdee.
Exception
: !dgvdee.Cancel);
9752
return dgvdee.ThrowException ? throw dgvdee.
Exception
: !dgvdee.Cancel;
14619
string errorText = e.
Exception
is null
14621
: string.Format(SR.DataGridView_ErrorMessageText_WithException, e.
Exception
);
20004
throw dgvdee.
Exception
;
21435
throw dgvdee.
Exception
;
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1637
throw dgvdee.
Exception
;
1674
throw dgvdee.
Exception
;
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
938
throw dgvdee.
Exception
;
975
throw dgvdee.
Exception
;
1010
throw dgvdee.
Exception
;
System\Windows\Forms\Controls\DataGridView\DataGridViewDataErrorEventArgs.cs (2)
25
[MemberNotNullWhen(true, nameof(
Exception
))]
31
if (value &&
Exception
is null)
System.Windows.Forms.Tests (1)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (1)
23
Assert.Equal(exception, e.
Exception
);