8 references to Find
System.Windows.Forms.Tests (8)
System\Windows\Forms\RichTextBoxTests.cs (8)
8306Assert.Equal(expected, control.Find(characterSet, start)); 8397Assert.Equal(expected, control.Find(characterSet, start)); 8465Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, 0)); 8466Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, -1)); 8467Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, 1)); 8482Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, 0)); 8483Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, -1)); 8484Assert.Throws<ArgumentNullException>("characterSet", () => control.Find(null, 2));