1 type derived from A
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\EventHandlerServiceTests.cs (1)
180
private class B :
A
{ }
10 instantiations of A
System.Windows.Forms.Design.Tests (10)
System\Windows\Forms\Design\EventHandlerServiceTests.cs (10)
39
service.PushHandler(new
A
());
41
object second = new
A
();
51
A a =
new
();
64
A a =
new
();
107
A a =
new
();
123
A a =
new
();
134
A a =
new
();
158
A a1 =
new
();
160
A a2 =
new
();
170
A a =
new
();
15 references to A
System.Windows.Forms.Design.Tests (15)
System\Windows\Forms\Design\EventHandlerServiceTests.cs (15)
44
Assert.Same(second, service.GetHandler(typeof(
A
)));
51
A
a = new();
54
object foundHandler = service.GetHandler(typeof(
A
));
56
foundHandler = service.GetHandler(typeof(
A
));
64
A
a = new();
69
object foundHandler = service.GetHandler(typeof(
A
));
107
A
a = new();
116
Assert.Same(a, service.GetHandler(typeof(
A
)));
123
A
a = new();
126
Assert.Null(service.GetHandler(typeof(
A
)));
134
A
a = new();
158
A
a1 = new();
160
A
a2 = new();
163
Assert.Same(a2, service.GetHandler(typeof(
A
)));
170
A
a = new();