8 references to GetSize
System.Windows.Forms.Tests (8)
System\Windows\Forms\DataGridViewHeaderCellTests.cs (8)
3131Assert.Equal(new Size(-1, -1), cell.GetSize(-1)); 3140Assert.Equal(new Size(-1, -1), cell.GetSize(-1)); 3180Assert.Equal(new Size(10, 25), cell.GetSize(-1)); 3263Assert.Equal(new Size(10, 25), cell.GetSize(-1)); 3274Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex)); 3286Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex)); 3327Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex)); 3344Assert.Throws<ArgumentOutOfRangeException>("rowIndex", () => cell.GetSize(rowIndex));