12 references to Find
System.Windows.Forms (2)
System\Windows\Forms\Controls\RichTextBox\RichTextBox.cs (2)
1929
return
Find
(characterSet, 0, -1);
1937
return
Find
(characterSet, start, -1);
System.Windows.Forms.Tests (10)
System\Windows\Forms\RichTextBoxTests.cs (10)
8354
Assert.Equal(expected, control.
Find
(characterSet, start, end));
8420
Assert.Equal(expected, control.
Find
(characterSet, start, end));
8468
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 0, 0));
8469
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, -1, 0));
8470
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 1, 0));
8471
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 0, -2));
8485
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 0, 0));
8486
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, -1, 0));
8487
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 2, 0));
8488
Assert.Throws<ArgumentNullException>("characterSet", () => control.
Find
(null, 0, -2));