2 writes to InnerList
System.Windows.Forms (2)
System\Windows\Forms\Layout\ArrangedElementCollection.cs (2)
16
internal ArrangedElementCollection(List<IArrangedElement> innerList) =>
InnerList
= innerList;
18
private ArrangedElementCollection(int size) =>
InnerList
= new List<IArrangedElement>(size);
72 references to InnerList
System.Windows.Forms (72)
System\Windows\Forms\Control.ControlCollection.cs (7)
73
InnerList
.Add(value);
162
ccOther.
InnerList
.AddRange(
InnerList
);
166
public bool Contains(Control? control) => ((IList)
InnerList
).Contains(control);
232
public int IndexOf(Control? control) => ((IList)
InnerList
).IndexOf(control);
299
InnerList
.Remove(value);
348
Control control = (Control)
InnerList
[index]!;
System\Windows\Forms\Controls\ToolStrips\ToolStripItemCollection.cs (14)
48
return (ToolStripItem)(
InnerList
[index]);
69
return (ToolStripItem)
InnerList
[index];
105
int retVal = ((IList)
InnerList
).Add(value);
157
var itemsToAdd = toolStripItems.
InnerList
.ToArray();
167
return
InnerList
.Contains(value);
298
bool IList.IsFixedSize { get { return ((IList)
InnerList
).IsFixedSize; } }
299
bool IList.Contains(object? value) { return
InnerList
.Contains(value); }
308
get { return
InnerList
[index]; }
316
InnerList
.Insert(index, value);
336
return
InnerList
.IndexOf(value);
420
if (!
InnerList
.Remove(value))
437
: (ToolStripItem)
InnerList
[index];
439
InnerList
.RemoveAt(index);
462
InnerList
.CopyTo(array, index);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (2)
39
InnerList
.Sort(new YXComparer());
43
InnerList
.Sort(new XYComparer());
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (12)
35
return (ToolStripPanelRow)(
InnerList
[index]);
43
int retVal = ((IList)
InnerList
).Add(value);
91
return
InnerList
.Contains(value);
112
bool IList.IsFixedSize { get { return ((IList)
InnerList
).IsFixedSize; } }
113
bool IList.Contains(object? value) { return
InnerList
.Contains(value); }
114
bool IList.IsReadOnly { get { return ((IList)
InnerList
).IsReadOnly; } }
123
get { return
InnerList
[index]; }
129
return
InnerList
.IndexOf(value);
136
InnerList
.Insert(index, value);
148
public void Remove(ToolStripPanelRow value) =>
InnerList
.Remove(value);
150
public void RemoveAt(int index) =>
InnerList
.RemoveAt(index);
152
public void CopyTo(ToolStripPanelRow[] array, int index) =>
InnerList
.CopyTo(array, index);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (12)
57
_cellCollection ??= new ArrangedElementCollection(
InnerList
);
81
int index = ((IList)
InnerList
).Add(control.ToolStripPanelCell);
145
public override IEnumerator GetEnumerator() { return new ToolStripPanelCellToControlEnumerator(
InnerList
.GetEnumerator()); }
151
var cell = (ToolStripPanelCell)(
InnerList
[index]);
162
ToolStripPanelCell cell = (ToolStripPanelCell)(
InnerList
[i]);
174
bool IList.IsFixedSize { get { return ((IList)
InnerList
).IsFixedSize; } }
176
bool IList.Contains(object? value) { return
InnerList
.Contains(value); }
178
bool IList.IsReadOnly { get { return ((IList)
InnerList
).IsReadOnly; } }
213
InnerList
.Insert(index, control.ToolStripPanelCell!);
276
InnerList
.RemoveAt(index);
288
if (index >= array.Length ||
InnerList
.Count > array.Length - index)
293
for (int i = 0; i <
InnerList
.Count; i++)
System\Windows\Forms\Layout\ArrangedElementCollection.cs (25)
22
internal virtual IArrangedElement this[int index] =>
InnerList
[index];
33
if (
InnerList
[i] != other.
InnerList
[i])
45
foreach (object o in
InnerList
)
65
InnerList
[fromIndex] =
InnerList
[toIndex];
93
InnerList
[toIndex] = element;
108
destinationList.
InnerList
[--destinationIndex] = sourceList.
InnerList
[--sourceIndex];
115
destinationList.
InnerList
[destinationIndex++] = sourceList.
InnerList
[sourceIndex++];
120
void IList.Clear() => ((IList)
InnerList
).Clear();
122
bool IList.IsFixedSize => ((IList)
InnerList
).IsFixedSize;
124
bool IList.Contains(object? value) => ((IList)
InnerList
).Contains(value);
126
public virtual bool IsReadOnly => ((IList)
InnerList
).IsReadOnly;
128
void IList.RemoveAt(int index) => ((IList)
InnerList
).RemoveAt(index);
130
void IList.Remove(object? value) => ((IList)
InnerList
).Remove(value);
132
int IList.Add(object? value) => ((IList)
InnerList
).Add(value);
134
int IList.IndexOf(object? value) => ((IList)
InnerList
).IndexOf(value);
140
get =>
InnerList
[index];
144
public virtual int Count =>
InnerList
.Count;
146
object ICollection.SyncRoot => ((ICollection)
InnerList
).SyncRoot;
148
public void CopyTo(Array array, int index) => ((ICollection)
InnerList
).CopyTo(array, index);
150
bool ICollection.IsSynchronized => ((ICollection)
InnerList
).IsSynchronized;
152
public virtual IEnumerator GetEnumerator() =>
InnerList
.GetEnumerator();