7 references to Add
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignBindingPicker.cs (1)
2261images.Add(value, Color.Transparent);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ImageList.ImageCollectionTests.cs (6)
603collection.Add(value, transparentColor); 610collection.Add(value, transparentColor); 628collection.Add(value, transparentColor); 635collection.Add(value, transparentColor); 794Assert.Throws<ArgumentNullException>("value", () => collection.Add(null, Color.Transparent)); 808Assert.Throws<ArgumentException>(() => collection.Add(value, Color.Transparent));