2 implementations of INestedSite
System.ComponentModel.TypeConverter (1)
System\ComponentModel\NestedContainer.cs (1)
104private sealed class Site : INestedSite
System.Windows.Forms.Design (1)
System\ComponentModel\Design\SiteNestedContainer.cs (1)
128private sealed class NestedSite : DesignerHost.Site, INestedSite
27 references to INestedSite
netstandard (1)
netstandard.cs (1)
338[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.INestedSite))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
324[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.INestedSite))]
System.ComponentModel.TypeConverter (5)
System\ComponentModel\NestedContainer.cs (1)
47if (Owner.Site is INestedSite nestedOwnerSite)
System\ComponentModel\ReflectTypeDescriptionProvider.cs (2)
848INestedSite? ns = comp?.Site as INestedSite;
System\ComponentModel\ReflectTypeDescriptionProvider.ReflectedTypeData.cs (2)
166INestedSite? nestedSite = site as INestedSite;
System.Windows.Forms (2)
System\Windows\Forms\Control.cs (2)
12598if (site is not INestedSite) 12608if (site is not INestedSite)
System.Windows.Forms.Design (11)
System\ComponentModel\Design\ReferenceService.cs (2)
132if (compAdded.Site is not INestedSite) 147if (compRemoved.Site is not INestedSite)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (1)
292if (site is INestedSite nestedSite && !string.IsNullOrEmpty(nestedSite.FullName))
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
58if (comp.Site is INestedSite nestedSite && !string.IsNullOrEmpty(nestedSite.FullName))
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
840return site is null ? null : site is INestedSite nestedSite ? nestedSite.FullName : site.Name;
System\Windows\Forms\Design\BaseContextMenuStrip.cs (1)
273if (site is INestedSite nestedSite && !string.IsNullOrEmpty(nestedSite.FullName))
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (1)
223if (c.Site is not null && !(c.Site is INestedSite) && _destHost is not null)
System\Windows\Forms\Design\ControlCommandSet.cs (2)
1022INestedSite nestedSite = selComp.Site as INestedSite;
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionCodeDomSerializer.cs (1)
29if (val is IComponent { Site: not null and not INestedSite } comp)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
2232if (val is IComponent { Site: not null and not INestedSite } comp)
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (4)
842Mock<INestedSite> mockNestedSite = new(MockBehavior.Strict); 1050Mock<INestedSite> mockNestedSite = new(MockBehavior.Strict); 1304Mock<INestedSite> mockNestedSite = new(MockBehavior.Strict); 1583Mock<INestedSite> mockNestedSite = new(MockBehavior.Strict);
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
898Mock<INestedSite> mockNestedSite = new(MockBehavior.Strict);
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
76INestedSite nestedSite = Assert.IsAssignableFrom<INestedSite>(component1.Site);