24 references to new
System.Windows.Forms (16)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataConnection.cs (4)
1124DataGridViewDataErrorEventArgs dgvdee = new( 1150DataGridViewDataErrorEventArgs dgvdee = new( 1182DataGridViewDataErrorEventArgs dgvdee = new( 1434DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (7)
3101dgvdee2 = new( 3836DataGridViewDataErrorEventArgs dgvdee = new( 3888DataGridViewDataErrorEventArgs dgvdee = new( 3920DataGridViewDataErrorEventArgs dgvdee = new( 9705dgvdee = new( 9737dgvdee = new( 19995dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewCell.cs (2)
1629DataGridViewDataErrorEventArgs dgvdee = new( 1666DataGridViewDataErrorEventArgs dgvdee = new(
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
930DataGridViewDataErrorEventArgs dgvdee = new( 967DataGridViewDataErrorEventArgs dgvdee = new( 1002DataGridViewDataErrorEventArgs dgvdee = new(
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewDataErrorEventArgsTests.cs (6)
22DataGridViewDataErrorEventArgs e = new(exception, columnIndex, rowIndex, context); 34Assert.Throws<ArgumentOutOfRangeException>("columnIndex", () => new DataGridViewDataErrorEventArgs(null, -2, 0, DataGridViewDataErrorContexts.Formatting)); 40Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => new DataGridViewDataErrorEventArgs(null, 0, -2, DataGridViewDataErrorContexts.Formatting)); 48DataGridViewDataErrorEventArgs e = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = value }; 55DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting) { ThrowException = false }; 62DataGridViewDataErrorEventArgs e = new(null, 1, 2, DataGridViewDataErrorContexts.Formatting);
System\Windows\Forms\DataGridViewElementTests.cs (2)
256yield return new object[] { new DataGridViewDataErrorEventArgs(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting) }; 270DataGridViewDataErrorEventArgs eventArgs = new(new InvalidOperationException(), 1, 2, DataGridViewDataErrorContexts.Formatting);