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