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); 267IEnumerator 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);