1 instantiation of RootDesignerComponent
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\DesignSurfaceTests.cs (1)
999using RootDesignerComponent component = new();
15 references to RootDesignerComponent
System.Windows.Forms.Design.Tests (15)
System\ComponentModel\Design\DesignSurfaceTests.cs (15)
77using SubDesignSurface surface = new(typeof(RootDesignerComponent)); 87Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 88Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 99using SubDesignSurface surface = new(null, typeof(RootDesignerComponent)); 109Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 110Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 146using SubDesignSurface surface = new(mockServiceProvider.Object, typeof(RootDesignerComponent)); 156Assert.IsType<RootDesignerComponent>(surface.Host.RootComponent); 157Assert.Equal(typeof(RootDesignerComponent).FullName, surface.Host.RootComponentClassName); 930surface.BeginLoad(typeof(RootDesignerComponent)); 935Assert.IsType<RootDesignerComponent>(host.RootComponent); 936Assert.Equal(typeof(RootDesignerComponent).FullName, host.RootComponentClassName); 960Assert.Throws<InvalidOperationException>(() => surface.BeginLoad(typeof(RootDesignerComponent))); 970Assert.Throws<ObjectDisposedException>(() => surface.BeginLoad(typeof(RootDesignerComponent))); 999using RootDesignerComponent component = new();