1 instantiation of RootDesignerComponent
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
1001using RootDesignerComponent component = new();
15 references to RootDesignerComponent
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\DesignSurfaceTests.cs (15)
79using SubDesignSurface surface = new(typeof(RootDesignerComponent)); 89Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 90Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 101using SubDesignSurface surface = new(null, typeof(RootDesignerComponent)); 111Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 112Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 148using SubDesignSurface surface = new(mockServiceProvider.Object, typeof(RootDesignerComponent)); 158Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 159Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 932surface.BeginLoad(typeof(RootDesignerComponent)); 937Assert.IsType<RootDesignerComponent>(host.RootComponent); 938Assert.Equal(typeof(RootDesignerComponent).FullName, host.RootComponentClassName); 962Assert.Throws<InvalidOperationException>(() => surface.BeginLoad(typeof(RootDesignerComponent))); 972Assert.Throws<ObjectDisposedException>(() => surface.BeginLoad(typeof(RootDesignerComponent))); 1001using RootDesignerComponent component = new();