11 references to new
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignSurface.cs (2)
22public DesignSurface() : this((IServiceProvider?)null) 61public DesignSurface(IServiceProvider? parentProvider, Type rootComponentType) : this(parentProvider)
System\ComponentModel\Design\DesignSurfaceManager.cs (1)
274protected virtual DesignSurface CreateDesignSurfaceCore(IServiceProvider parentProvider) => new(parentProvider);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\DesignerHostTests.cs (1)
3151public SubDesignSurface(IServiceProvider parentProvider) : base(parentProvider)
System\ComponentModel\Design\DesignSurfaceTests.cs (2)
1477using DesignSurface surface = new(mockServiceProvider.Object); 1719public SubDesignSurface(IServiceProvider parentProvider) : base(parentProvider)
System\ComponentModel\Design\SiteNestedContainerTests.cs (4)
404using DesignSurface surface = new(mockServiceProvider.Object); 810using DesignSurface surface = new(mockServiceProvider.Object); 858using DesignSurface surface = new(mockParentProvider?.Object); 1023public SubDesignSurface(IServiceProvider parentProvider) : base(parentProvider)
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
60DesignSurface designSurface = new(serviceContainer);