7 references to GetFirstCharIndexFromLine
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (1)
443public int GetFirstCharIndexFromLine(int lineNumber) { return TextBox.GetFirstCharIndexFromLine(lineNumber); }
System.Windows.Forms.Tests (6)
TextBoxBaseTests.cs (6)
4528Assert.Equal(0, control.GetFirstCharIndexFromLine(lineNumber)); 4538Assert.Equal(0, control.GetFirstCharIndexFromLine(lineNumber)); 4556Assert.Equal(0, control.GetFirstCharIndexFromLine(lineNumber)); 4577Assert.Equal(0, control.GetFirstCharIndexFromLine(lineNumber)); 4604Assert.Equal(expected, control.GetFirstCharIndexFromLine(1)); 4611Assert.Throws<ArgumentOutOfRangeException>("lineNumber", () => control.GetFirstCharIndexFromLine(-1));