12 references to Add
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignerActionService.cs (1)
86
Add
(comp, new DesignerActionListCollection([actionList]));
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
105
Assert.Throws<ArgumentNullException>("comp", () => service.
Add
(null, (DesignerActionListCollection)null));
115
service.
Add
(component, new DesignerActionListCollection { actionList });
138
service.
Add
(component, new DesignerActionListCollection { actionList1 });
139
service.
Add
(component, new DesignerActionListCollection { actionList2 });
140
service.
Add
(component, new DesignerActionListCollection { null });
161
Assert.Throws<ArgumentNullException>("designerActionListCollection", () => service.
Add
(new Component(), (DesignerActionListCollection)null));
201
service.
Add
(component2, new DesignerActionListCollection());
224
service.
Add
(component2, new DesignerActionListCollection());
240
service.
Add
(new Component(), new DesignerActionListCollection());
686
service.
Add
(component2, new DesignerActionListCollection());
719
service.
Add
(new Component(), new DesignerActionListCollection());