11 instantiations of SelectedIndexCollection
System.Windows.Forms (1)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (1)
919_selectedIndices ??= new SelectedIndexCollection(this);
System.Windows.Forms.Tests (10)
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (10)
14var collection = new ListBox.SelectedIndexCollection(owner); 23Assert.Throws<ArgumentNullException>("owner", () => new ListBox.SelectedIndexCollection(null)); 30ICollection collection = new ListBox.SelectedIndexCollection(owner); 40IList collection = new ListBox.SelectedIndexCollection(owner); 61IList collection = new ListBox.SelectedIndexCollection(owner); 72IList collection = new ListBox.SelectedIndexCollection(owner); 80IList collection = new ListBox.SelectedIndexCollection(owner); 97IList collection = new ListBox.SelectedIndexCollection(owner); 108IList collection = new ListBox.SelectedIndexCollection(owner); 119IList collection = new ListBox.SelectedIndexCollection(owner);
6 references to SelectedIndexCollection
System.Windows.Forms (4)
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
43private SelectedIndexCollection? _selectedIndices; 915public SelectedIndexCollection SelectedIndices
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.SelectedIndexEnumerator.cs (2)
18private readonly SelectedIndexCollection _items; 24public SelectedIndexEnumerator(SelectedIndexCollection items)
System.Windows.Forms.Tests (2)
System\Windows\Forms\AccessibleObjects\ListBoxAccessibleObjectTests.cs (1)
214var indices = listBox.SelectedIndices;
System\Windows\Forms\ListBox.SelectedIndexCollectionTests.cs (1)
14var collection = new ListBox.SelectedIndexCollection(owner);