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)
2926public 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
128 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)
2973base.Site = value; 2998base.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 (62)
System\ComponentModel\Design\ComponentDesignerTests.cs (41)
62component.Site = mockSite.Object; 89component.Site = mockSite.Object; 122Site = MockSite.CreateMockSiteWithDesignerHost(mockDesignerHost.Object).Object 160Site = MockSite.CreateMockSiteWithDesignerHost(mockDesignerHost.Object).Object 192Site = MockSite.CreateMockSiteWithDesignerHost(host).Object 245component.Site = mockSite.Object; 270Site = mockSite.Object 318Site = mockSite.Object 345component.Site = mockSite.Object; 375Site = mockSite.Object 407Site = mockSite.Object 438component.Site = mockSite.Object; 463Site = mockSite.Object 525Site = mockSite.Object 605Site = CreateMockSiteWithComponentChangeService(componentChangeService).Object 688Site = CreateMockSiteWithComponentChangeService(componentChangeService).Object 835Site = mockSite.Object 951component.Site = mockSite.Object; 1060Site = mockSite.Object 1168Site = mockSite.Object 1261Site = mockSite.Object 1352Site = mockSite.Object 1446Site = mockSite.Object 1553Site = mockSite.Object 1651Site = mockSite.Object 1730Site = mockSite.Object 1788Site = mockSite.Object 1847Site = mockSite.Object 1923Site = mockSite.Object 1976Site = mockSite.Object 2056component.Site = mockSite.Object; 2118Site = mockSite.Object 2175Site = mockSite.Object 2233Site = mockSite.Object 2500component.Site = mockSite.Object; 2525component.Site = mockSite.Object; 2558component.Site = mockSite.Object; 2583component.Site = mockSite.Object; 2640Site = mockSite.Object, 2673yield return new object[] { new Component { Site = mockSite.Object } }; 2674yield return new object[] { new IntDefaultPropertyComponent { Site = mockSite.Object } };
System\ComponentModel\Design\DesignerActionListTests.cs (1)
56yield return new object[] { new Component { Site = mockSite.Object }, o };
System\ComponentModel\Design\DesignerActionServiceTests.cs (4)
468Site = site 496Site = mockSite.Object 540Site = mockSite.Object 596Site = mockSite.Object
System\ComponentModel\Design\DesignerHostTests.cs (1)
2857component.Site = null;
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (10)
125Site = mockSite1.Object 132Site = mockSite2.Object 231Site = mockSite.Object 331Site = mockSite.Object 383Site = mockSite.Object 431Site = mockSite.Object 477Site = mockSite.Object 522Site = mockSite.Object 571Site = mockSite.Object 624Site = mockSite.Object
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
71Site = ownerSite 991component.Site = null;
System\Windows\Forms\Design\ToolStripMenuItemCodeDomSerializerTests.cs (1)
66nonDummyItem.Site = mockMenuItemSite.Object;
ToolStripMenuItemDesignerTest.cs (2)
109toolStripMenuItem.Site = mockSite.Object; 138toolStripMenuItem.Site = mockSite.Object;
System.Windows.Forms.Tests (60)
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
169component.Site = new SiteWithMenuCommands();
System\Windows\Forms\ColumnHeaderTests.cs (6)
770Site = mockSite.Object 845Site = Mock.Of<ISite>(), 931header.Site = mockSite.Object; 1468Site = mockSite.Object, 1505Site = mockSite.Object, 1543Site = mockSite.Object,
System\Windows\Forms\Design\EventsTabTests.cs (4)
57yield return new object[] { new ClassWithDefaultEvent { Site = nullMockSite.Object }, provider, null }; 63yield return new object[] { new ClassWithDefaultEvent { Site = invalidMockSite.Object }, provider, null }; 74yield return new object[] { new Component { Site = mockSite.Object }, provider, null }; 75yield return new object[] { new ClassWithDefaultEvent { Site = mockSite.Object }, provider, descriptor };
System\Windows\Forms\NotifyIconTests.cs (7)
268Site = mockSite.Object, 294Site = mockSite.Object, 416Site = mockSite.Object, 508Site = mockSite.Object, 541Site = mockSite.Object, 870Site = mockSite.Object 945Site = mockSite.Object
System\Windows\Forms\TimerTests.cs (18)
68timer.Site = mockSite.Object; 81timer.Site = null; 93timer.Site = mockSite.Object; 112timer.Site = null; 174timer.Site = mockSite.Object; 187timer.Site = null; 200timer.Site = mockSite.Object; 219timer.Site = null; 255timer.Site = mockSite.Object; 268timer.Site = null; 280timer.Site = mockSite.Object; 294timer.Site = null; 306timer.Site = mockSite.Object; 320timer.Site = null; 332timer.Site = mockSite.Object; 354timer.Site = null; 366timer.Site = mockSite.Object; 384timer.Site = null;
System\Windows\Forms\ToolStripDropDownTests.cs (2)
3728Site = mockSite.Object 4613Site = mockSite.Object
System\Windows\Forms\ToolStripItemTests.cs (17)
1165Site = mockSite.Object, 1263Site = mockSite.Object, 1401Site = mockSite.Object, 2601Site = mockSite.Object, 2688Site = mockSite.Object, 2823Site = mockSite.Object, 6179Site = mockSite.Object 6220Site = mockSite.Object 7702Site = mockSite.Object 7810Site = mockSite.Object 9215Site = mockSite.Object, 9313Site = mockSite.Object, 9451Site = mockSite.Object, 13644Site = mockSite.Object 14876Site = mockSite.Object 14975Site = mockSite.Object, 15113Site = mockSite.Object,
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
165Site = mockSite.Object
System\Windows\Forms\ToolTipTests.cs (4)
130Site = mockSite.Object, 147toolTip.Site = null; 694Site = mockSite.Object 707toolTip.Site = null;
295 references to Site
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
29string 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)
2928get => 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 (42)
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\ToolStripCollectionEditor.ToolStripItemEditorForm.cs (6)
139if (Context.Instance is ToolStripItem itemInstance && itemInstance.Site is not null) 141Text = $"{_originalText} ({itemInstance.Site.Name}.{Context.PropertyDescriptor.Name})"; 460newToolStripItemTypes = ToolStripDesignerUtils.GetCustomItemTypes(component, component.Site); 678itemText = (item.Site is not null) ? item.Site.Name : itemType.Name; 890string itemName = selectedItem.Site?.Name ?? string.Empty;
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)
286Assert.Same(component1, component1.Site.Component); 287Assert.Same(host, component1.Site.Container); 288Assert.True(component1.Site.DesignMode); 289Assert.Equal(expectedName, component1.Site.Name); 297Assert.Same(component2, component2.Site.Component); 298Assert.Same(host, component2.Site.Container); 299Assert.True(component2.Site.DesignMode); 300Assert.Equal(expectedName, component2.Site.Name); 308Assert.Same(component3, component3.Site.Component); 309Assert.Same(host, component3.Site.Container); 310Assert.True(component3.Site.DesignMode); 311Assert.Equal(expectedName, component3.Site.Name); 319Assert.Same(component4, component4.Site.Component); 320Assert.Same(host, component4.Site.Container); 321Assert.True(component4.Site.DesignMode); 322Assert.Equal(expectedName, component4.Site.Name); 341Assert.Same(component1, component1.Site.Component); 342Assert.Same(host, component1.Site.Container); 343Assert.True(component1.Site.DesignMode); 344Assert.Equal("name1", component1.Site.Name); 352Assert.Same(component2, component2.Site.Component); 353Assert.Same(host, component2.Site.Container); 354Assert.True(component2.Site.DesignMode); 355Assert.Equal("name2", component2.Site.Name); 363Assert.Same(component3, component3.Site.Component); 364Assert.Same(host, component3.Site.Container); 365Assert.True(component3.Site.DesignMode); 366Assert.Empty(component3.Site.Name); 374Assert.Same(component4, component4.Site.Component); 375Assert.Same(host, component4.Site.Container); 376Assert.True(component4.Site.DesignMode); 377Assert.Empty(component4.Site.Name); 432Assert.Empty(component.Site.Name); 439Assert.Empty(component.Site.Name); 446Assert.Equal("name", component.Site.Name); 502Assert.Empty(component.Site.Name); 509Assert.Empty(component.Site.Name); 516Assert.Equal("name", component.Site.Name); 600Assert.Empty(component.Site.Name); 605Assert.Empty(component.Site.Name); 610Assert.Equal("name", component.Site.Name); 640Assert.Equal("name", component.Site.Name); 644Assert.Equal("name", component.Site.Name); 695Assert.Equal("name", component.Site.Name); 699Assert.Equal("name", component.Site.Name); 730Assert.Same(name, component1.Site.Name); 737Assert.Equal("name2", component2.Site.Name); 790Assert.Equal("name1", component1.Site.Name); 801Assert.Equal("name2", component2.Site.Name); 837Assert.Equal("name1", component.Site.Name); 881Assert.Equal("name1", component.Site.Name); 917IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 930IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 949IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 961IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 979IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 991IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 1008IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 1044IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site); 1071IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1104IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1134IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1168IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1206IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1241IServiceContainer container = Assert.IsAssignableFrom<IServiceContainer>(component.Site); 1270component.Site.Name = value; 1271Assert.Same(expectedName, component.Site.Name); 1275component.Site.Name = value; 1276Assert.Same(expectedName, component.Site.Name); 1287component.Site.Name = "NAME"; 1288Assert.Equal("NAME", component.Site.Name); 1291component.Site.Name = "NAME"; 1292Assert.Equal("NAME", component.Site.Name); 1308component1.Site.Name = value; 1309Assert.Same(value ?? string.Empty, component1.Site.Name); 1312component1.Site.Name = value; 1313Assert.Same(value ?? string.Empty, component1.Site.Name); 1358Assert.Equal(oldName, component.Site.Name); 1362component.Site.Name = value; 1363Assert.Equal(expectedName, component.Site.Name); 1389component.Site.Name = value; 1390Assert.Same(value ?? string.Empty, component.Site.Name); 1394component.Site.Name = value; 1395Assert.Same(value ?? string.Empty, component.Site.Name); 1400component.Site.Name = "name"; 1401Assert.Equal("name", component.Site.Name); 1437Assert.Equal("oldName", component.Site.Name); 1440component.Site.Name = value; 1441Assert.Equal(expectedName, component.Site.Name); 1454Assert.Throws<InvalidOperationException>(() => component1.Site.Name = "name2"); 1455Assert.Throws<InvalidOperationException>(() => component1.Site.Name = "NAME2"); 1480Assert.Same(service, component.Site.GetService(typeof(int))); 1505INestedContainer nestedContainer = Assert.IsAssignableFrom<INestedContainer>(component.Site.GetService(typeof(INestedContainer))); 1506Assert.Same(service, component.Site.GetService(typeof(int))); 1507Assert.Same(component.Site, component.Site.GetService(typeof(IDictionaryService))); 1508Assert.Same(nestedContainer, component.Site.GetService(typeof(INestedContainer))); 1518INestedContainer container = Assert.IsAssignableFrom<INestedContainer>(component.Site.GetService(typeof(INestedContainer))); 1519Assert.Same(container, component.Site.GetService(typeof(INestedContainer))); 1552NestedContainer container = Assert.IsAssignableFrom<NestedContainer>(component.Site.GetService(typeof(INestedContainer))); 1555Assert.Same(service, nestedComponent.Site.GetService(typeof(int))); 1565Assert.Same(component.Site, component.Site.GetService(typeof(IDictionaryService))); 1575Assert.Same(surface.ServiceContainer, component.Site.GetService(typeof(IServiceContainer))); 1585Assert.Same(host, component.Site.GetService(typeof(IContainer))); 1595Assert.Throws<ArgumentNullException>("service", () => component.Site.GetService(null)); 1692Assert.Null(component.Site); 1696Assert.Null(component.Site); 1718Assert.Empty(component.Site.Name); 1722Assert.Equal("name", component.Site.Name); 2542Assert.Null(rootComponent.Site); 2544Assert.NotNull(component.Site); 2554Assert.Null(rootComponent.Site); 2556Assert.NotNull(component.Site); 2566Assert.Null(rootComponent.Site); 2568Assert.Null(component.Site); 2692Assert.Empty(component.Site.Name); 2816Assert.Null(component1.Site); 2818Assert.NotNull(component2.Site); 2826Assert.Null(component1.Site); 2828Assert.NotNull(component2.Site); 2838Assert.Null(component1.Site); 2840Assert.Null(component2.Site); 2865Assert.Null(component.Site); 2876IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site);
System\ComponentModel\Design\SiteNestedContainerTests.cs (63)
78INestedSite nestedSite = Assert.IsAssignableFrom<INestedSite>(component1.Site); 83Assert.Same(componentName, component1.Site.Name); 96if (component1.Site is not null) 98Assert.Equal(componentName, component1.Site.Name); 188Assert.Same(component1, component1.Site.Component); 189Assert.Same(container, component1.Site.Container); 190Assert.True(component1.Site.DesignMode); 191Assert.Null(component1.Site.Name); 199Assert.Same(component2, component2.Site.Component); 200Assert.Same(container, component2.Site.Container); 201Assert.True(component2.Site.DesignMode); 202Assert.Null(component2.Site.Name); 210Assert.Same(component3, component3.Site.Component); 211Assert.Same(container, component3.Site.Container); 212Assert.True(component3.Site.DesignMode); 213Assert.Null(component3.Site.Name); 221Assert.Same(component4, component4.Site.Component); 222Assert.Same(container, component4.Site.Container); 223Assert.True(component4.Site.DesignMode); 224Assert.Null(component4.Site.Name); 245Assert.Same(component1, component1.Site.Component); 246Assert.Same(container, component1.Site.Container); 247Assert.True(component1.Site.DesignMode); 248Assert.Equal("name1", component1.Site.Name); 256Assert.Same(component2, component2.Site.Component); 257Assert.Same(container, component2.Site.Container); 258Assert.True(component2.Site.DesignMode); 259Assert.Equal("name2", component2.Site.Name); 267Assert.Same(component3, component3.Site.Component); 268Assert.Same(container, component3.Site.Container); 269Assert.True(component3.Site.DesignMode); 270Assert.Empty(component3.Site.Name); 278Assert.Same(component4, component4.Site.Component); 279Assert.Same(container, component4.Site.Container); 280Assert.True(component4.Site.DesignMode); 281Assert.Null(component4.Site.Name); 341Assert.Null(component.Site.Name); 348Assert.Null(component.Site.Name); 355Assert.Null(component.Site.Name); 412Assert.Null(component.Site.Name); 421Assert.Null(component.Site); 427Assert.Null(component.Site.Name); 438Assert.Equal("name", component.Site.Name); 442Assert.Null(component.Site.Name); 611Assert.Null(component.Site); 615Assert.Null(component.Site); 638Assert.Null(component.Site.Name); 642Assert.Null(component.Site.Name); 682Assert.Null(rootComponent.Site); 684Assert.NotNull(component.Site); 692Assert.Null(rootComponent.Site); 694Assert.NotNull(component.Site); 702Assert.Null(rootComponent.Site); 704Assert.Null(component.Site); 818Assert.Null(component.Site.Name); 948Assert.Null(component1.Site); 950Assert.NotNull(component2.Site); 958Assert.Null(component1.Site); 960Assert.NotNull(component2.Site); 970Assert.Null(component1.Site); 972Assert.Null(component2.Site); 999Assert.Null(component.Site); 1011IDictionaryService service = Assert.IsAssignableFrom<IDictionaryService>(component.Site);
System.Windows.Forms.Tests (58)
System\Windows\Forms\BindingSourceTests.cs (7)
47Assert.Null(source.Site); 106Assert.Null(source.Site); 170Assert.Null(source.Site); 256Assert.Null(source.Site); 328Assert.Null(source.Site); 435Assert.Null(source.Site); 510Assert.NotNull(source.Site);
System\Windows\Forms\ColorDialogTests.cs (3)
33Assert.Null(dialog.Site); 57Assert.Null(dialog.Site); 354Assert.Null(dialog.Site);
System\Windows\Forms\ColumnHeaderTests.cs (8)
30Assert.Null(header.Site); 56Assert.Null(header.Site); 80Assert.Null(header.Site); 849Assert.Equal(value, header.Site.Name); 854Assert.Equal(value, header.Site.Name); 1484Assert.Null(header.Site); 1523Assert.Null(header.Site); 1563Assert.Null(header.Site);
System\Windows\Forms\CommonDialogTests.cs (1)
25Assert.Null(dialog.Site);
System\Windows\Forms\FileDialogTests.cs (3)
44Assert.Null(dialog.Site); 82Assert.Null(dialog.Site); 638Assert.Null(dialog.Site);
System\Windows\Forms\FolderBrowserDialogTests.cs (2)
28Assert.Null(dialog.Site); 306Assert.Null(dialog.Site);
System\Windows\Forms\FontDialogTests.cs (3)
38Assert.Null(dialog.Site); 68Assert.Null(dialog.Site); 627Assert.Null(dialog.Site);
System\Windows\Forms\HelpProviderTests.cs (1)
23Assert.Null(provider.Site);
System\Windows\Forms\ImageListTests.cs (2)
25Assert.Null(list.Site); 43Assert.NotNull(list.Site);
System\Windows\Forms\NotifyIconTests.cs (6)
24Assert.Null(notifyIcon.Site); 41Assert.NotNull(notifyIcon.Site); 736Assert.Null(notifyIcon.Site); 750Assert.Null(notifyIcon.Site); 794Assert.Null(notifyIcon.Site); 807Assert.Null(notifyIcon.Site);
System\Windows\Forms\PageSetupDialogTests.cs (3)
30Assert.Null(dialog.Site); 401Assert.Null(dialog.Site); 437Assert.NotNull(dialog.Site);
System\Windows\Forms\TimerTests.cs (2)
21Assert.Null(timer.Site); 34Assert.NotNull(timer.Site);
System\Windows\Forms\ToolStripButtonTests.cs (6)
84Assert.Null(item.Site); 165Assert.Null(item.Site); 252Assert.Null(item.Site); 342Assert.Null(item.Site); 430Assert.Null(item.Site); 528Assert.Null(item.Site);
System\Windows\Forms\ToolStripDropDownItemTests.cs (4)
84Assert.Null(item.Site); 173Assert.Null(item.Site); 272Assert.Null(item.Site); 380Assert.Null(item.Site);
System\Windows\Forms\ToolStripItemTests.cs (3)
83Assert.Null(item.Site); 168Assert.Null(item.Site); 263Assert.Null(item.Site);
System\Windows\Forms\ToolStripMenuItemTests.cs (1)
89Assert.Null(item.Site);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
81Assert.Null(item.Site);
System\Windows\Forms\ToolTipTests.cs (2)
35Assert.Null(toolTip.Site); 65Assert.NotNull(toolTip.Site);