System\ComponentModel\Design\DesignerActionServiceTests.cs (11)
103Assert.Throws<ArgumentNullException>("comp", () => service.Add(null, (DesignerActionListCollection)null));
113service.Add(component, new DesignerActionListCollection { actionList });
136service.Add(component, new DesignerActionListCollection { actionList1 });
137service.Add(component, new DesignerActionListCollection { actionList2 });
138service.Add(component, new DesignerActionListCollection { null });
159Assert.Throws<ArgumentNullException>("designerActionListCollection", () => service.Add(new Component(), (DesignerActionListCollection)null));
199service.Add(component2, new DesignerActionListCollection());
222service.Add(component2, new DesignerActionListCollection());
238service.Add(new Component(), new DesignerActionListCollection());
684service.Add(component2, new DesignerActionListCollection());
717service.Add(new Component(), new DesignerActionListCollection());