17 references to GetTopLevel
System.Windows.Forms.Tests (17)
System\Windows\Forms\ControlTests.Methods.cs (17)
121
Assert.Equal(topLevel, control.
GetTopLevel
());
127
Assert.Equal(topLevel, control.
GetTopLevel
());
376
Assert.Equal(topLevel, control.
GetTopLevel
());
385
Assert.Equal(topLevel, control.
GetTopLevel
());
2897
Assert.False(control.
GetTopLevel
());
2900
Assert.False(control.
GetTopLevel
());
7016
Assert.Equal(topLevel, control.
GetTopLevel
());
7022
Assert.Equal(topLevel, control.
GetTopLevel
());
7271
Assert.Equal(topLevel, control.
GetTopLevel
());
7280
Assert.Equal(topLevel, control.
GetTopLevel
());
10059
Assert.Equal(value, control.
GetTopLevel
());
10067
Assert.Equal(value, control.
GetTopLevel
());
10075
Assert.Equal(!value, control.
GetTopLevel
());
10100
Assert.Equal(value, control.
GetTopLevel
());
10108
Assert.Equal(value, control.
GetTopLevel
());
10116
Assert.Equal(!value, control.
GetTopLevel
());
10133
Assert.False(control.
GetTopLevel
());