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