Implemented interface member:
21 references to Count
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
173int cnt = Count;
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.SelectedIndexEnumerator.cs (3)
35if (_current < _items.Count - 1) 42_current = _items.Count; 62if (_current == -1 || _current == _items.Count)
System.Windows.Forms.Tests (17)
CheckedListBoxTests.cs (5)
511Assert.Equal(1, checkedListBox.SelectedIndices.Count); 519Assert.Equal(1, checkedListBox.SelectedIndices.Count); 527Assert.Equal(1, checkedListBox.SelectedIndices.Count); 552Assert.Equal(1, checkedListBox.SelectedIndices.Count); 561Assert.Equal(0, checkedListBox.SelectedIndices.Count);
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
215Assert.Equal(1, indices.Count);
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
15Assert.Equal(0, collection.Count);
System\Windows\Forms\ListBoxTests.cs (10)
6127Assert.Equal(1, listBox.SelectedIndices.Count); 6135Assert.Equal(1, listBox.SelectedIndices.Count); 6143Assert.Equal(1, listBox.SelectedIndices.Count); 6169Assert.Equal(2, listBox.SelectedIndices.Count); 6177Assert.Equal(2, listBox.SelectedIndices.Count); 6185Assert.Equal(2, listBox.SelectedIndices.Count); 6210Assert.Equal(1, listBox.SelectedIndices.Count); 6219Assert.Equal(0, listBox.SelectedIndices.Count); 6246Assert.Equal(1, listBox.SelectedIndices.Count); 6256Assert.Equal(0, listBox.SelectedIndices.Count);