8 references to Find
System.Windows.Forms.Tests (8)
System\Windows\Forms\ListView.ListViewItemCollectionTests.cs (8)
50Assert.Equal([child2, child3], collection.Find(key, searchAllSubItems: true)); 53Assert.Equal([child2, child3], collection.Find(key, searchAllSubItems: true)); 56Assert.Equal([child2, child3], collection.Find(key, searchAllSubItems: false)); 59Assert.Equal([child2, child3], collection.Find(key, searchAllSubItems: false)); 88Assert.Empty(collection.Find(key, searchAllSubItems: true)); 89Assert.Empty(collection.Find(key, searchAllSubItems: false)); 98Assert.Throws<ArgumentNullException>("key", () => collection.Find(key, searchAllSubItems: true)); 99Assert.Throws<ArgumentNullException>("key", () => collection.Find(key, searchAllSubItems: false));