7 references to CreateComponentsCore
System.Windows.Forms.Design.Tests (7)
System\Drawing\Design\ToolboxItemTests.cs (7)
724Assert.IsType<Component>(Assert.Single(item.CreateComponentsCore(null))); 732Assert.IsType<Component>(Assert.Single(item.CreateComponentsCore(null))); 774Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object))); 840Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object))); 910Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object))); 926Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object))); 958Assert.Empty(item.CreateComponentsCore(null));