37 references to InnerArray
System.Windows.Forms (37)
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedIndexCollection.cs (1)
148return _owner.Items.InnerArray;
System\Windows\Forms\Controls\ListBoxes\CheckedListBox.CheckedItemCollection.cs (1)
43return _owner.Items.InnerArray;
System\Windows\Forms\Controls\ListBoxes\ListBox.AccessibleObject.cs (3)
148IReadOnlyList<ItemArray.Entry?> entries = owner.Items.InnerArray.Entries; 193if (index < 0 || index >= owner.Items.Count || owner.Items.InnerArray.Count == 0) 198ItemArray.Entry? item = owner.Items.InnerArray.Entries[index];
System\Windows\Forms\Controls\ListBoxes\ListBox.cs (2)
2021if (savedItems.InnerArray.GetState(index, SelectedObjectCollection.SelectedObjectMask)) 2185_itemsCollection.InnerArray.Sort();
System\Windows\Forms\Controls\ListBoxes\ListBox.ItemAccessibleObject.cs (1)
28protected int CurrentIndex => _owningListBox.Items.InnerArray.IndexOf(_itemEntry);
System\Windows\Forms\Controls\ListBoxes\ListBox.ObjectCollection.cs (26)
53public int Count => InnerArray.Count; 100InnerArray.Add(item); 107index = InnerArray.BinarySearch(entry); 121InnerArray.InsertEntry(index, entry); 154InnerArray.Remove(item); 211ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, InnerArray.Count); 213return InnerArray.GetItem(index); 247_owner.UpdateMaxItemWidth(InnerArray.GetItem(i), true); 255InnerArray.Clear(); 275int count = InnerArray.Count; 278destination[i + arrayIndex] = InnerArray.GetItem(i); 286int count = InnerArray.Count; 289destination.SetValue(InnerArray.GetItem(i), i + index); 296public IEnumerator GetEnumerator() => InnerArray.GetEnumerator(0); 302return InnerArray.IndexOf(value); 311return InnerArray.IndexOf(value); 328ArgumentOutOfRangeException.ThrowIfGreaterThan(index, InnerArray.Count); 339InnerArray.Insert(index, item); 354InnerArray.RemoveAt(index); 373int index = InnerArray.IndexOf(value); 390ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, InnerArray.Count); 392_owner.UpdateMaxItemWidth(InnerArray.GetItem(index), true); 400InnerArray.RemoveAt(index); 414ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index, InnerArray.Count); 416_owner.UpdateMaxItemWidth(InnerArray.GetItem(index), true); 417InnerArray.SetItem(index, value);
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedIndexCollection.cs (1)
167return _owner.Items.InnerArray;
System\Windows\Forms\Controls\ListBoxes\ListBox.SelectedObjectCollection.cs (2)
114return _owner.Items.InnerArray; 233bool selected = _owner.Items.InnerArray.GetState(index, SelectedObjectMask);