1 write to _realCollection
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (1)
20public DesignerControlCollection(Control owner) : base(owner) => _realCollection = owner.Controls;
22 references to _realCollection
System.Windows.Forms.Design (22)
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollection.cs (22)
22public override int Count => _realCollection.Count; 30public new bool IsReadOnly => _realCollection.IsReadOnly; 32int IList.Add(object control) => ((IList)_realCollection).Add(control); 34public override void Add(Control c) => _realCollection.Add(c); 36public override void AddRange(params Control[] controls) => _realCollection.AddRange(controls); 38bool IList.Contains(object control) => ((IList)_realCollection).Contains(control); 40public new void CopyTo(Array dest, int index) => _realCollection.CopyTo(dest, index); 42public override bool Equals(object other) => _realCollection.Equals(other); 44public new IEnumerator GetEnumerator() => _realCollection.GetEnumerator(); 46public override int GetHashCode() => _realCollection.GetHashCode(); 48int IList.IndexOf(object control) => ((IList)_realCollection).IndexOf(control); 50void IList.Insert(int index, object value) => ((IList)_realCollection).Insert(index, value); 52void IList.Remove(object control) => ((IList)_realCollection).Remove(control); 54void IList.RemoveAt(int index) => ((IList)_realCollection).RemoveAt(index); 58get => ((IList)_realCollection)[index]; 63=> _realCollection.GetChildIndex(child, throwException); 66=> _realCollection.SetChildIndex(child, newIndex); 70for (int i = _realCollection.Count - 1; i >= 0; i--) 72if (_realCollection[i] is not null && 73_realCollection[i].Site is not null && 74TypeDescriptor.GetAttributes(_realCollection[i]).Contains(InheritanceAttribute.NotInherited)) 76_realCollection.RemoveAt(i);