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