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)
3049
throw dgvdee.
Exception
;
3114
throw dgvdee2.
Exception
;
3732
throw dgvdee.
Exception
;
3992
throw dgvdee.
Exception
;
4006
throw dgvdee.
Exception
;
6183
throw dgvdee.
Exception
;
6197
throw dgvdee.
Exception
;
9714
return dgvdee is null || (dgvdee.ThrowException ? throw dgvdee.
Exception
: !dgvdee.Cancel);
9749
return dgvdee.ThrowException ? throw dgvdee.
Exception
: !dgvdee.Cancel;
14616
string errorText = e.
Exception
is null
14618
: string.Format(SR.DataGridView_ErrorMessageText_WithException, e.
Exception
);
20001
throw dgvdee.
Exception
;
21432
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
);