59 instantiations of RootDesignerComponent
System.Windows.Forms.Design.Tests (59)
System\ComponentModel\Design\DesignerHostTests.cs (59)
274
using RootDesignerComponent component1 =
new
();
275
using RootDesignerComponent component2 =
new
();
329
using RootDesignerComponent component1 =
new
();
330
using RootDesignerComponent component2 =
new
();
380
yield return new object[] { new
RootDesignerComponent
(), 0 };
451
yield return new object[] { new
RootDesignerComponent
() };
594
using RootDesignerComponent component =
new
();
635
using RootDesignerComponent component =
new
();
726
using RootDesignerComponent component1 =
new
();
786
using RootDesignerComponent component1 =
new
();
833
using RootDesignerComponent component =
new
();
843
using RootDesignerComponent component =
new
();
912
using RootDesignerComponent component =
new
();
925
using RootDesignerComponent component =
new
();
944
using RootDesignerComponent component =
new
();
956
using RootDesignerComponent component =
new
();
974
using RootDesignerComponent component =
new
();
986
using RootDesignerComponent component =
new
();
1004
using RootDesignerComponent component =
new
();
1040
using RootDesignerComponent component =
new
();
1067
using RootDesignerComponent component =
new
();
1100
using RootDesignerComponent component =
new
();
1130
using RootDesignerComponent component =
new
();
1164
using RootDesignerComponent component =
new
();
1202
using RootDesignerComponent component =
new
();
1237
using RootDesignerComponent component =
new
();
1266
using RootDesignerComponent component =
new
();
1283
using RootDesignerComponent component =
new
();
1299
using RootDesignerComponent component1 =
new
();
1300
using RootDesignerComponent component2 =
new
();
1301
using RootDesignerComponent component3 =
new
();
1349
using RootDesignerComponent component =
new
();
1373
using RootDesignerComponent component =
new
();
1433
using RootDesignerComponent component =
new
();
1448
using RootDesignerComponent component1 =
new
();
1449
using RootDesignerComponent component2 =
new
();
1476
using RootDesignerComponent component =
new
();
1501
using RootDesignerComponent component =
new
();
1514
using RootDesignerComponent component =
new
();
1548
using RootDesignerComponent component =
new
();
1561
using RootDesignerComponent component =
new
();
1571
using RootDesignerComponent component =
new
();
1581
using RootDesignerComponent component =
new
();
1591
using RootDesignerComponent component =
new
();
1603
using RootDesignerComponent component =
new
();
1665
using RootDesignerComponent component =
new
();
1669
Assert.Throws<InvalidOperationException>(() => host.Container.Add(new
RootDesignerComponent
(), host.RootComponentClassName));
2252
using RootDesignerComponent component =
new
();
2256
Assert.Null(host.GetDesigner(new
RootDesignerComponent
()));
2265
Assert.Null(host.GetDesigner(new
RootDesignerComponent
()));
2529
using RootDesignerComponent rootComponent =
new
();
2571
yield return new object[] { new
RootDesignerComponent
(), 0, 0 };
2641
yield return new object[] { new
RootDesignerComponent
() };
2752
RootDesignerComponent otherComponent =
new
();
2753
using RootDesignerComponent component =
new
();
2770
using RootDesignerComponent otherComponent =
new
();
2785
using RootDesignerComponent component1 =
new
();
2851
using RootDesignerComponent component =
new
();
2872
using RootDesignerComponent component =
new
();
64 references to RootDesignerComponent
System.Windows.Forms.Design.Tests (64)
System\ComponentModel\Design\DesignerHostTests.cs (64)
274
using
RootDesignerComponent
component1 = new();
275
using
RootDesignerComponent
component2 = new();
329
using
RootDesignerComponent
component1 = new();
330
using
RootDesignerComponent
component2 = new();
594
using
RootDesignerComponent
component = new();
635
using
RootDesignerComponent
component = new();
639
mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(
RootDesignerComponent
)), Times.Once());
643
mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(
RootDesignerComponent
)), Times.Once());
657
.Returns(typeof(
RootDesignerComponent
))
694
mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(
RootDesignerComponent
)), Times.Once());
698
mockNameCreationService.Verify(s => s.CreateName(host.Container, typeof(
RootDesignerComponent
)), Times.Once());
726
using
RootDesignerComponent
component1 = new();
743
ICustomTypeDescriptor descriptor = TypeDescriptor.GetProvider(typeof(
RootDesignerComponent
)).GetTypeDescriptor(typeof(
RootDesignerComponent
));
786
using
RootDesignerComponent
component1 = new();
833
using
RootDesignerComponent
component = new();
843
using
RootDesignerComponent
component = new();
844
ICustomTypeDescriptor descriptor = TypeDescriptor.GetProvider(typeof(
RootDesignerComponent
)).GetTypeDescriptor(typeof(
RootDesignerComponent
));
889
surface.BeginLoad(typeof(
RootDesignerComponent
));
912
using
RootDesignerComponent
component = new();
925
using
RootDesignerComponent
component = new();
944
using
RootDesignerComponent
component = new();
956
using
RootDesignerComponent
component = new();
974
using
RootDesignerComponent
component = new();
986
using
RootDesignerComponent
component = new();
1004
using
RootDesignerComponent
component = new();
1040
using
RootDesignerComponent
component = new();
1067
using
RootDesignerComponent
component = new();
1100
using
RootDesignerComponent
component = new();
1130
using
RootDesignerComponent
component = new();
1164
using
RootDesignerComponent
component = new();
1202
using
RootDesignerComponent
component = new();
1237
using
RootDesignerComponent
component = new();
1266
using
RootDesignerComponent
component = new();
1283
using
RootDesignerComponent
component = new();
1299
using
RootDesignerComponent
component1 = new();
1300
using
RootDesignerComponent
component2 = new();
1301
using
RootDesignerComponent
component3 = new();
1349
using
RootDesignerComponent
component = new();
1373
using
RootDesignerComponent
component = new();
1433
using
RootDesignerComponent
component = new();
1448
using
RootDesignerComponent
component1 = new();
1449
using
RootDesignerComponent
component2 = new();
1476
using
RootDesignerComponent
component = new();
1501
using
RootDesignerComponent
component = new();
1514
using
RootDesignerComponent
component = new();
1548
using
RootDesignerComponent
component = new();
1561
using
RootDesignerComponent
component = new();
1571
using
RootDesignerComponent
component = new();
1581
using
RootDesignerComponent
component = new();
1591
using
RootDesignerComponent
component = new();
1603
using
RootDesignerComponent
component = new();
1665
using
RootDesignerComponent
component = new();
1808
surface.BeginLoad(typeof(
RootDesignerComponent
));
1823
surface.BeginLoad(typeof(
RootDesignerComponent
));
2252
using
RootDesignerComponent
component = new();
2529
using
RootDesignerComponent
rootComponent = new();
2752
RootDesignerComponent
otherComponent = new();
2753
using
RootDesignerComponent
component = new();
2770
using
RootDesignerComponent
otherComponent = new();
2785
using
RootDesignerComponent
component1 = new();
2851
using
RootDesignerComponent
component = new();
2872
using
RootDesignerComponent
component = new();