33 references to InnerArray
System.Windows.Forms (33)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (2)
656
dataGridViewCell.Items.AddRangeInternal(Items.
InnerArray
.ToArray());
1294
comboBox.Items.AddRange([.. Items.
InnerArray
]);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.ObjectCollection.cs (30)
32
public int Count =>
InnerArray
.Count;
39
object ICollection.SyncRoot => ((ICollection)
InnerArray
).SyncRoot;
41
bool ICollection.IsSynchronized => ((ICollection)
InnerArray
).IsSynchronized;
43
bool IList.IsFixedSize => ((IList)
InnerArray
).IsFixedSize;
45
public bool IsReadOnly => ((IList)
InnerArray
).IsReadOnly;
60
int index = ((IList)
InnerArray
).Add(item);
67
InnerArray
.Sort(Comparer);
68
index =
InnerArray
.IndexOf(item);
75
InnerArray
.Remove(item);
112
InnerArray
.Add(item);
117
InnerArray
.Sort(Comparer);
138
InnerArray
.AddRange(items);
141
InnerArray
.Sort(Comparer);
145
internal void SortInternal() =>
InnerArray
.Sort(Comparer);
155
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
InnerArray
.Count);
157
return
InnerArray
[index];
164
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
InnerArray
.Count);
166
InnerArray
[index] = value.OrThrowIfNull();
176
if (
InnerArray
.Count > 0)
179
InnerArray
.Clear();
184
internal void ClearInternal() =>
InnerArray
.Clear();
192
((ICollection)
InnerArray
).CopyTo(destination, arrayIndex);
195
((ICollection)
InnerArray
).CopyTo(destination, index);
200
public IEnumerator GetEnumerator() =>
InnerArray
.GetEnumerator();
206
return
InnerArray
.IndexOf(value);
222
ArgumentOutOfRangeException.ThrowIfGreaterThan(index,
InnerArray
.Count);
232
InnerArray
.Insert(index, item);
243
int index =
InnerArray
.IndexOf(value!);
259
ArgumentOutOfRangeException.ThrowIfGreaterThanOrEqual(index,
InnerArray
.Count);
261
InnerArray
.RemoveAt(index);
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxColumn.cs (1)
524
object[] items = [.. ComboBoxCellTemplate!.Items.
InnerArray
];