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