1 write to _collection
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (1)
23
_collection
= new(_tableLayoutPanel);
22 references to _collection
System.Windows.Forms.Design.Tests (22)
System\Windows\Forms\Design\TableLayoutPanelDesignerTests.cs (22)
180
_collection
.Should().NotBeNull();
181
_collection
.Count.Should().Be(0);
182
_collection
.Should().BeAssignableTo<IList>();
190
_collection
.Count.Should().Be(1);
196
_collection
.IsReadOnly.Should().Be(_tableLayoutPanel.Controls.IsReadOnly);
203
_collection
.Add(button);
215
_collection
.AddRange(controls);
226
_collection
.Add(button1);
227
_collection
.Add(button2);
230
_collection
.CopyTo(array, 0);
263
_collection
.Add(button1);
264
_collection
.Add(button2);
265
_collection
.Add(button3);
267
IEnumerator enumerator =
_collection
.GetEnumerator();
288
_collection
.Add(button, 1, 1);
299
_collection
.Add(button1);
300
_collection
.Add(button2);
301
_collection
.GetChildIndex(button2).Should().Be(1);
309
_collection
.Add(button1);
310
_collection
.Add(button2);
311
_collection
.SetChildIndex(button1, 1);
312
_collection
.GetChildIndex(button1).Should().Be(1);