6 references to CreateComponentsCore
System.Windows.Forms.Design.Tests (6)
System\Drawing\Design\ToolboxItemTests.cs (6)
778Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, null))); 782Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()))); 844Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, null))); 848Assert.Same(component, Assert.Single(item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()))); 914Assert.Throws<InvalidOperationException>(() => item.CreateComponentsCore(mockDesignerHost.Object, null)); 918Assert.Throws<InvalidOperationException>(() => item.CreateComponentsCore(mockDesignerHost.Object, new Hashtable()));