17 references to GetErrorText
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewRow.cs (3)
146
return
GetErrorText
(Index);
1435
sharedRow.
GetErrorText
(rowIndex),
1476
sharedRow.
GetErrorText
(rowIndex),
System\Windows\Forms\Controls\DataGridView\DataGridViewRowHeaderCell.cs (1)
290
: OwningRow.
GetErrorText
(rowIndex);
System.Windows.Forms.Tests (13)
System\Windows\Forms\DataGridViewRowErrorTextNeededEventArgsTests.cs (1)
30
Assert.Same(value, row.
GetErrorText
(0));
System\Windows\Forms\DataGridViewRowTests.cs (12)
4393
Assert.Empty(row.
GetErrorText
(rowIndex));
4397
Assert.Equal("ErrorText", row.
GetErrorText
(rowIndex));
4412
Assert.Same("ErrorText1", row1.
GetErrorText
(0));
4413
Assert.Same("ErrorText1", row1.
GetErrorText
(0));
4414
Assert.Same("ErrorText2", row2.
GetErrorText
(1));
4415
Assert.Same("ErrorText2", row2.
GetErrorText
(1));
4441
Assert.Same("ErrorText2", row.
GetErrorText
(0));
4446
Assert.Same("ErrorText1", row.
GetErrorText
(0));
4475
Assert.Equal("ErrorText2", row.
GetErrorText
(0));
4480
Assert.Equal("ErrorText1", row.
GetErrorText
(0));
4495
Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => row.
GetErrorText
(rowIndex));
4507
Assert.Throws<InvalidOperationException>(() => row.
GetErrorText
(-1));