Implemented interface member:
property
Site
System.ComponentModel.IComponent.Site
5 overrides of Site
System.ComponentModel.TypeConverter (1)
System\Timers\Timer.cs (1)
197
public override ISite?
Site
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
654
public override ISite?
Site
System.Windows.Forms (3)
System\Windows\Forms\Control.cs (1)
2928
public override ISite?
Site
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
386
public override ISite?
Site
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
88
public override ISite?
Site
127 writes to Site
System.ComponentModel.TypeConverter (1)
System\Timers\Timer.cs (1)
202
base.
Site
= value;
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
662
base.
Site
= value;
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (2)
2975
base.
Site
= value;
3000
base.
Site
= value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
391
base.
Site
= value;
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
92
base.
Site
= value;
System.Windows.Forms.Design.Tests (61)
System\ComponentModel\Design\ComponentDesignerTests.cs (41)
60
component.
Site
= mockSite.Object;
87
component.
Site
= mockSite.Object;
120
Site
= MockSite.CreateMockSiteWithDesignerHost(mockDesignerHost.Object).Object
158
Site
= MockSite.CreateMockSiteWithDesignerHost(mockDesignerHost.Object).Object
190
Site
= MockSite.CreateMockSiteWithDesignerHost(host).Object
243
component.
Site
= mockSite.Object;
268
Site
= mockSite.Object
316
Site
= mockSite.Object
343
component.
Site
= mockSite.Object;
373
Site
= mockSite.Object
405
Site
= mockSite.Object
436
component.
Site
= mockSite.Object;
461
Site
= mockSite.Object
523
Site
= mockSite.Object
603
Site
= CreateMockSiteWithComponentChangeService(componentChangeService).Object
686
Site
= CreateMockSiteWithComponentChangeService(componentChangeService).Object
833
Site
= mockSite.Object
949
component.
Site
= mockSite.Object;
1058
Site
= mockSite.Object
1166
Site
= mockSite.Object
1259
Site
= mockSite.Object
1350
Site
= mockSite.Object
1444
Site
= mockSite.Object
1551
Site
= mockSite.Object
1649
Site
= mockSite.Object
1728
Site
= mockSite.Object
1786
Site
= mockSite.Object
1845
Site
= mockSite.Object
1921
Site
= mockSite.Object
1974
Site
= mockSite.Object
2054
component.
Site
= mockSite.Object;
2116
Site
= mockSite.Object
2173
Site
= mockSite.Object
2231
Site
= mockSite.Object
2498
component.
Site
= mockSite.Object;
2523
component.
Site
= mockSite.Object;
2556
component.
Site
= mockSite.Object;
2581
component.
Site
= mockSite.Object;
2638
Site
= mockSite.Object,
2671
yield return new object[] { new Component {
Site
= mockSite.Object } };
2672
yield return new object[] { new IntDefaultPropertyComponent {
Site
= mockSite.Object } };
System\ComponentModel\Design\DesignerActionListTests.cs (1)
54
yield return new object[] { new Component {
Site
= mockSite.Object }, o };
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
466
Site
= site
494
Site
= mockSite.Object
538
Site
= mockSite.Object
594
Site
= mockSite.Object
System\ComponentModel\Design\DesignerHostTests.cs (1)
2855
component.
Site
= null;
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (10)
121
Site
= mockSite1.Object
128
Site
= mockSite2.Object
227
Site
= mockSite.Object
327
Site
= mockSite.Object
379
Site
= mockSite.Object
427
Site
= mockSite.Object
473
Site
= mockSite.Object
518
Site
= mockSite.Object
567
Site
= mockSite.Object
620
Site
= mockSite.Object
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
69
Site
= ownerSite
989
component.
Site
= null;
ToolStripMenuItemDesignerTest.cs (2)
107
toolStripMenuItem.
Site
= mockSite.Object;
136
toolStripMenuItem.
Site
= mockSite.Object;
System.Windows.Forms.Tests (60)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
168
component.
Site
= new SiteWithMenuCommands();
System\Windows\Forms\ColumnHeaderTests.cs (6)
768
Site
= mockSite.Object
843
Site
= Mock.Of<ISite>(),
929
header.
Site
= mockSite.Object;
1466
Site
= mockSite.Object,
1503
Site
= mockSite.Object,
1541
Site
= mockSite.Object,
System\Windows\Forms\Design\EventsTabTests.cs (4)
55
yield return new object[] { new ClassWithDefaultEvent {
Site
= nullMockSite.Object }, provider, null };
61
yield return new object[] { new ClassWithDefaultEvent {
Site
= invalidMockSite.Object }, provider, null };
72
yield return new object[] { new Component {
Site
= mockSite.Object }, provider, null };
73
yield return new object[] { new ClassWithDefaultEvent {
Site
= mockSite.Object }, provider, descriptor };
System\Windows\Forms\NotifyIconTests.cs (7)
266
Site
= mockSite.Object,
292
Site
= mockSite.Object,
414
Site
= mockSite.Object,
506
Site
= mockSite.Object,
539
Site
= mockSite.Object,
868
Site
= mockSite.Object
943
Site
= mockSite.Object
System\Windows\Forms\TimerTests.cs (18)
66
timer.
Site
= mockSite.Object;
79
timer.
Site
= null;
91
timer.
Site
= mockSite.Object;
110
timer.
Site
= null;
172
timer.
Site
= mockSite.Object;
185
timer.
Site
= null;
198
timer.
Site
= mockSite.Object;
217
timer.
Site
= null;
253
timer.
Site
= mockSite.Object;
266
timer.
Site
= null;
278
timer.
Site
= mockSite.Object;
292
timer.
Site
= null;
304
timer.
Site
= mockSite.Object;
318
timer.
Site
= null;
330
timer.
Site
= mockSite.Object;
352
timer.
Site
= null;
364
timer.
Site
= mockSite.Object;
382
timer.
Site
= null;
System\Windows\Forms\ToolStripDropDownTests.cs (2)
3726
Site
= mockSite.Object
4611
Site
= mockSite.Object
System\Windows\Forms\ToolStripItemTests.cs (17)
1163
Site
= mockSite.Object,
1261
Site
= mockSite.Object,
1399
Site
= mockSite.Object,
2599
Site
= mockSite.Object,
2686
Site
= mockSite.Object,
2821
Site
= mockSite.Object,
6177
Site
= mockSite.Object
6218
Site
= mockSite.Object
7700
Site
= mockSite.Object
7808
Site
= mockSite.Object
9213
Site
= mockSite.Object,
9311
Site
= mockSite.Object,
9449
Site
= mockSite.Object,
13642
Site
= mockSite.Object
14874
Site
= mockSite.Object
14973
Site
= mockSite.Object,
15111
Site
= mockSite.Object,
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
163
Site
= mockSite.Object
System\Windows\Forms\ToolTipTests.cs (4)
128
Site
= mockSite.Object,
145
toolTip.
Site
= null;
692
Site
= mockSite.Object
705
toolTip.
Site
= null;
289 references to Site
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
32
string name = comp.
Site
.Name;
System.ComponentModel.TypeConverter (1)
System\Timers\Timer.cs (1)
199
get => base.
Site
;
System.IO.FileSystem.Watcher (1)
System\IO\FileSystemWatcher.cs (1)
658
return base.
Site
;
System.Windows.Forms (4)
System\Windows\Forms\Control.cs (1)
2930
get => base.
Site
;
System\Windows\Forms\Controls\ListView\ColumnHeader.cs (2)
287
if (
Site
is not null)
289
Site
.Name = value;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
388
get => base.
Site
;
System.Windows.Forms.Design (36)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
271
if (_comp is not null && _comp.
Site
is { } site)
System\Windows\Forms\Design\BindingNavigatorDesigner.cs (1)
107
item.Name = item?.
Site
?.Name;
System\Windows\Forms\Design\ToolStripCodeDomSerializer.cs (2)
25
if (item.
Site
is not null && toolStrip.Site is not null && item.
Site
.Container == toolStrip.Site.Container)
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (1)
208
itemDesigner?.GetGlyphs(ref glyphs, new ResizeBehavior(item.
Site
));
System\Windows\Forms\Design\ToolStripItemBehavior.cs (20)
75
if (item is not null && item.
Site
is not null)
77
IDesignerHost designerHost = (IDesignerHost)item.
Site
.GetService(typeof(IDesignerHost));
114
if (item.
Site
is not null)
116
ISelectionService selSvc = (ISelectionService)item.
Site
.GetService(typeof(ISelectionService));
128
if (item.
Site
is not null)
130
BehaviorService behaviorSvc = (BehaviorService)item.
Site
.GetService(typeof(BehaviorService));
142
if (item.
Site
is not null)
144
ToolStripKeyboardHandlingService keyBoardSvc = (ToolStripKeyboardHandlingService)item.
Site
.GetService(typeof(ToolStripKeyboardHandlingService));
178
_eventSvc ??= (IEventHandlerService)item.
Site
.GetService(typeof(IEventHandlerService));
293
IDesignerHost designerHost = (IDesignerHost)glyphItem.
Site
.GetService(typeof(IDesignerHost));
466
ToolStripDesignerUtils.InvalidateSelection(origSel, glyphItem, glyphItem.
Site
, false);
533
if (selSvc is null || glyphItem.
Site
is null || MouseHandlerPresent(glyphItem))
547
IDesignerHost designerHost = (IDesignerHost)glyphItem.
Site
.GetService(typeof(IDesignerHost));
651
IDesignerHost designerHost = (IDesignerHost)currentDropItem.
Site
.GetService(typeof(IDesignerHost));
679
if (currentDropItem.
Site
.TryGetService(out IComponentChangeService changeService))
709
components = DesignerUtils.CopyDragObjects(dragComponents, currentDropItem.
Site
);
913
if (item is not null && item.
Site
is not null)
916
IDesignerHost designerHost = (IDesignerHost)item.
Site
.GetService(typeof(IDesignerHost));
965
if (glyphItem.
Site
is null)
974
IDesignerHost designerHost = (IDesignerHost)glyphItem.
Site
.GetService(typeof(IDesignerHost));
System\Windows\Forms\Design\ToolStripItemDesigner.cs (4)
532
if (TryGetService(out IComponentChangeService changeService) && parent.
Site
is not null)
554
if (TryGetService(out IComponentChangeService changeService) && parent.
Site
is not null)
873
BehaviorService windowService = (BehaviorService)newItem.
Site
.GetService(typeof(BehaviorService));
877
ISelectionService selSvc = (ISelectionService)newItem.
Site
.GetService(typeof(ISelectionService));
System\Windows\Forms\Design\ToolStripMenuItemDesigner.cs (7)
866
newItem = (ToolStripItem)_designerHost.CreateComponent(t, ToolStripDesigner.NameFromText(newText, t, MenuItem.
Site
));
2157
ToolStripDesignerUtils.InvalidateSelection(origSel, MenuItem, MenuItem.
Site
, false /*shift pressed*/);
2682
IDesignerHost host = (IDesignerHost)primaryItem.
Site
.GetService(typeof(IDesignerHost));
2716
var changeService = primaryItem.
Site
.GetService<IComponentChangeService>();
2730
ToolStripKeyboardHandlingService keyboardHandlingService = (ToolStripKeyboardHandlingService)primaryItem.
Site
.GetService(typeof(ToolStripKeyboardHandlingService));
2736
components = DesignerUtils.CopyDragObjects(dragComponents, primaryItem.
Site
);
2797
BehaviorService bSvc = (BehaviorService)primaryItem.
Site
.GetService(typeof(BehaviorService));
System.Windows.Forms.Design.Tests (188)
System\ComponentModel\Design\DesignerHostTests.cs (125)
284
Assert.Same(component1, component1.
Site
.Component);
285
Assert.Same(host, component1.
Site
.Container);
286
Assert.True(component1.
Site
.DesignMode);
287
Assert.Equal(expectedName, component1.
Site
.Name);
295
Assert.Same(component2, component2.
Site
.Component);
296
Assert.Same(host, component2.
Site
.Container);
297
Assert.True(component2.
Site
.DesignMode);
298
Assert.Equal(expectedName, component2.
Site
.Name);
306
Assert.Same(component3, component3.
Site
.Component);
307
Assert.Same(host, component3.
Site
.Container);
308
Assert.True(component3.
Site
.DesignMode);
309
Assert.Equal(expectedName, component3.
Site
.Name);
317
Assert.Same(component4, component4.
Site
.Component);
318
Assert.Same(host, component4.
Site
.Container);
319
Assert.True(component4.
Site
.DesignMode);
320
Assert.Equal(expectedName, component4.
Site
.Name);
339
Assert.Same(component1, component1.
Site
.Component);
340
Assert.Same(host, component1.
Site
.Container);
341
Assert.True(component1.
Site
.DesignMode);
342
Assert.Equal("name1", component1.
Site
.Name);
350
Assert.Same(component2, component2.
Site
.Component);
351
Assert.Same(host, component2.
Site
.Container);
352
Assert.True(component2.
Site
.DesignMode);
353
Assert.Equal("name2", component2.
Site
.Name);
361
Assert.Same(component3, component3.
Site
.Component);
362
Assert.Same(host, component3.
Site
.Container);
363
Assert.True(component3.
Site
.DesignMode);
364
Assert.Empty(component3.
Site
.Name);
372
Assert.Same(component4, component4.
Site
.Component);
373
Assert.Same(host, component4.
Site
.Container);
374
Assert.True(component4.
Site
.DesignMode);
375
Assert.Empty(component4.
Site
.Name);
430
Assert.Empty(component.
Site
.Name);
437
Assert.Empty(component.
Site
.Name);
444
Assert.Equal("name", component.
Site
.Name);
500
Assert.Empty(component.
Site
.Name);
507
Assert.Empty(component.
Site
.Name);
514
Assert.Equal("name", component.
Site
.Name);
598
Assert.Empty(component.
Site
.Name);
603
Assert.Empty(component.
Site
.Name);
608
Assert.Equal("name", component.
Site
.Name);
638
Assert.Equal("name", component.
Site
.Name);
642
Assert.Equal("name", component.
Site
.Name);
693
Assert.Equal("name", component.
Site
.Name);
697
Assert.Equal("name", component.
Site
.Name);
728
Assert.Same(name, component1.
Site
.Name);
735
Assert.Equal("name2", component2.
Site
.Name);
788
Assert.Equal("name1", component1.
Site
.Name);
799
Assert.Equal("name2", component2.
Site
.Name);
835
Assert.Equal("name1", component.
Site
.Name);
879
Assert.Equal("name1", component.
Site
.Name);
915
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
928
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
947
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
959
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
977
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
989
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
1006
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
1042
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
1069
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1102
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1132
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1166
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1204
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1239
IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.
Site
);
1268
component.
Site
.Name = value;
1269
Assert.Same(expectedName, component.
Site
.Name);
1273
component.
Site
.Name = value;
1274
Assert.Same(expectedName, component.
Site
.Name);
1285
component.
Site
.Name = "NAME";
1286
Assert.Equal("NAME", component.
Site
.Name);
1289
component.
Site
.Name = "NAME";
1290
Assert.Equal("NAME", component.
Site
.Name);
1306
component1.
Site
.Name = value;
1307
Assert.Same(value ?? string.Empty, component1.
Site
.Name);
1310
component1.
Site
.Name = value;
1311
Assert.Same(value ?? string.Empty, component1.
Site
.Name);
1356
Assert.Equal(oldName, component.
Site
.Name);
1360
component.
Site
.Name = value;
1361
Assert.Equal(expectedName, component.
Site
.Name);
1387
component.
Site
.Name = value;
1388
Assert.Same(value ?? string.Empty, component.
Site
.Name);
1392
component.
Site
.Name = value;
1393
Assert.Same(value ?? string.Empty, component.
Site
.Name);
1398
component.
Site
.Name = "name";
1399
Assert.Equal("name", component.
Site
.Name);
1435
Assert.Equal("oldName", component.
Site
.Name);
1438
component.
Site
.Name = value;
1439
Assert.Equal(expectedName, component.
Site
.Name);
1452
Assert.Throws<InvalidOperationException>(() => component1.
Site
.Name = "name2");
1453
Assert.Throws<InvalidOperationException>(() => component1.
Site
.Name = "NAME2");
1478
Assert.Same(service, component.
Site
.GetService(typeof(int)));
1503
INestedContainer nestedContainer = Assert.IsAssignableFrom<INestedContainer>(component.
Site
.GetService(typeof(INestedContainer)));
1504
Assert.Same(service, component.
Site
.GetService(typeof(int)));
1505
Assert.Same(component.
Site
, component.
Site
.GetService(typeof(IDictionaryService)));
1506
Assert.Same(nestedContainer, component.
Site
.GetService(typeof(INestedContainer)));
1516
INestedContainer container = Assert.IsAssignableFrom<INestedContainer>(component.
Site
.GetService(typeof(INestedContainer)));
1517
Assert.Same(container, component.
Site
.GetService(typeof(INestedContainer)));
1550
NestedContainer container = Assert.IsAssignableFrom<NestedContainer>(component.
Site
.GetService(typeof(INestedContainer)));
1553
Assert.Same(service, nestedComponent.
Site
.GetService(typeof(int)));
1563
Assert.Same(component.
Site
, component.
Site
.GetService(typeof(IDictionaryService)));
1573
Assert.Same(surface.ServiceContainer, component.
Site
.GetService(typeof(IServiceContainer)));
1583
Assert.Same(host, component.
Site
.GetService(typeof(IContainer)));
1593
Assert.Throws<ArgumentNullException>("service", () => component.
Site
.GetService(null));
1690
Assert.Null(component.
Site
);
1694
Assert.Null(component.
Site
);
1716
Assert.Empty(component.
Site
.Name);
1720
Assert.Equal("name", component.
Site
.Name);
2540
Assert.Null(rootComponent.
Site
);
2542
Assert.NotNull(component.
Site
);
2552
Assert.Null(rootComponent.
Site
);
2554
Assert.NotNull(component.
Site
);
2564
Assert.Null(rootComponent.
Site
);
2566
Assert.Null(component.
Site
);
2690
Assert.Empty(component.
Site
.Name);
2814
Assert.Null(component1.
Site
);
2816
Assert.NotNull(component2.
Site
);
2824
Assert.Null(component1.
Site
);
2826
Assert.NotNull(component2.
Site
);
2836
Assert.Null(component1.
Site
);
2838
Assert.Null(component2.
Site
);
2863
Assert.Null(component.
Site
);
2874
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
System\ComponentModel\Design\SiteNestedContainerTests.cs (63)
76
INestedSite nestedSite = Assert.IsAssignableFrom<INestedSite>(component1.
Site
);
81
Assert.Same(componentName, component1.
Site
.Name);
94
if (component1.
Site
is not null)
96
Assert.Equal(componentName, component1.
Site
.Name);
186
Assert.Same(component1, component1.
Site
.Component);
187
Assert.Same(container, component1.
Site
.Container);
188
Assert.True(component1.
Site
.DesignMode);
189
Assert.Null(component1.
Site
.Name);
197
Assert.Same(component2, component2.
Site
.Component);
198
Assert.Same(container, component2.
Site
.Container);
199
Assert.True(component2.
Site
.DesignMode);
200
Assert.Null(component2.
Site
.Name);
208
Assert.Same(component3, component3.
Site
.Component);
209
Assert.Same(container, component3.
Site
.Container);
210
Assert.True(component3.
Site
.DesignMode);
211
Assert.Null(component3.
Site
.Name);
219
Assert.Same(component4, component4.
Site
.Component);
220
Assert.Same(container, component4.
Site
.Container);
221
Assert.True(component4.
Site
.DesignMode);
222
Assert.Null(component4.
Site
.Name);
243
Assert.Same(component1, component1.
Site
.Component);
244
Assert.Same(container, component1.
Site
.Container);
245
Assert.True(component1.
Site
.DesignMode);
246
Assert.Equal("name1", component1.
Site
.Name);
254
Assert.Same(component2, component2.
Site
.Component);
255
Assert.Same(container, component2.
Site
.Container);
256
Assert.True(component2.
Site
.DesignMode);
257
Assert.Equal("name2", component2.
Site
.Name);
265
Assert.Same(component3, component3.
Site
.Component);
266
Assert.Same(container, component3.
Site
.Container);
267
Assert.True(component3.
Site
.DesignMode);
268
Assert.Empty(component3.
Site
.Name);
276
Assert.Same(component4, component4.
Site
.Component);
277
Assert.Same(container, component4.
Site
.Container);
278
Assert.True(component4.
Site
.DesignMode);
279
Assert.Null(component4.
Site
.Name);
339
Assert.Null(component.
Site
.Name);
346
Assert.Null(component.
Site
.Name);
353
Assert.Null(component.
Site
.Name);
410
Assert.Null(component.
Site
.Name);
419
Assert.Null(component.
Site
);
425
Assert.Null(component.
Site
.Name);
436
Assert.Equal("name", component.
Site
.Name);
440
Assert.Null(component.
Site
.Name);
609
Assert.Null(component.
Site
);
613
Assert.Null(component.
Site
);
636
Assert.Null(component.
Site
.Name);
640
Assert.Null(component.
Site
.Name);
680
Assert.Null(rootComponent.
Site
);
682
Assert.NotNull(component.
Site
);
690
Assert.Null(rootComponent.
Site
);
692
Assert.NotNull(component.
Site
);
700
Assert.Null(rootComponent.
Site
);
702
Assert.Null(component.
Site
);
816
Assert.Null(component.
Site
.Name);
946
Assert.Null(component1.
Site
);
948
Assert.NotNull(component2.
Site
);
956
Assert.Null(component1.
Site
);
958
Assert.NotNull(component2.
Site
);
968
Assert.Null(component1.
Site
);
970
Assert.Null(component2.
Site
);
997
Assert.Null(component.
Site
);
1009
IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.
Site
);
System.Windows.Forms.Tests (58)
System\Windows\Forms\BindingSourceTests.cs (7)
45
Assert.Null(source.
Site
);
104
Assert.Null(source.
Site
);
168
Assert.Null(source.
Site
);
254
Assert.Null(source.
Site
);
326
Assert.Null(source.
Site
);
433
Assert.Null(source.
Site
);
508
Assert.NotNull(source.
Site
);
System\Windows\Forms\ColorDialogTests.cs (3)
31
Assert.Null(dialog.
Site
);
55
Assert.Null(dialog.
Site
);
352
Assert.Null(dialog.
Site
);
System\Windows\Forms\ColumnHeaderTests.cs (8)
28
Assert.Null(header.
Site
);
54
Assert.Null(header.
Site
);
78
Assert.Null(header.
Site
);
847
Assert.Equal(value, header.
Site
.Name);
852
Assert.Equal(value, header.
Site
.Name);
1482
Assert.Null(header.
Site
);
1521
Assert.Null(header.
Site
);
1561
Assert.Null(header.
Site
);
System\Windows\Forms\CommonDialogTests.cs (1)
23
Assert.Null(dialog.
Site
);
System\Windows\Forms\FileDialogTests.cs (3)
42
Assert.Null(dialog.
Site
);
80
Assert.Null(dialog.
Site
);
636
Assert.Null(dialog.
Site
);
System\Windows\Forms\FolderBrowserDialogTests.cs (2)
26
Assert.Null(dialog.
Site
);
304
Assert.Null(dialog.
Site
);
System\Windows\Forms\FontDialogTests.cs (3)
36
Assert.Null(dialog.
Site
);
66
Assert.Null(dialog.
Site
);
625
Assert.Null(dialog.
Site
);
System\Windows\Forms\HelpProviderTests.cs (1)
21
Assert.Null(provider.
Site
);
System\Windows\Forms\ImageListTests.cs (2)
23
Assert.Null(list.
Site
);
41
Assert.NotNull(list.
Site
);
System\Windows\Forms\NotifyIconTests.cs (6)
22
Assert.Null(notifyIcon.
Site
);
39
Assert.NotNull(notifyIcon.
Site
);
734
Assert.Null(notifyIcon.
Site
);
748
Assert.Null(notifyIcon.
Site
);
792
Assert.Null(notifyIcon.
Site
);
805
Assert.Null(notifyIcon.
Site
);
System\Windows\Forms\PageSetupDialogTests.cs (3)
28
Assert.Null(dialog.
Site
);
399
Assert.Null(dialog.
Site
);
435
Assert.NotNull(dialog.
Site
);
System\Windows\Forms\TimerTests.cs (2)
19
Assert.Null(timer.
Site
);
32
Assert.NotNull(timer.
Site
);
System\Windows\Forms\ToolStripButtonTests.cs (6)
82
Assert.Null(item.
Site
);
163
Assert.Null(item.
Site
);
250
Assert.Null(item.
Site
);
340
Assert.Null(item.
Site
);
428
Assert.Null(item.
Site
);
526
Assert.Null(item.
Site
);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
82
Assert.Null(item.
Site
);
171
Assert.Null(item.
Site
);
270
Assert.Null(item.
Site
);
378
Assert.Null(item.
Site
);
System\Windows\Forms\ToolStripItemTests.cs (3)
81
Assert.Null(item.
Site
);
166
Assert.Null(item.
Site
);
261
Assert.Null(item.
Site
);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
91
Assert.Null(item.
Site
);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
79
Assert.Null(item.
Site
);
System\Windows\Forms\ToolTipTests.cs (2)
33
Assert.Null(toolTip.
Site
);
63
Assert.NotNull(toolTip.
Site
);