1 interface inheriting from IContainer
System.ComponentModel.TypeConverter (1)
System\ComponentModel\INestedContainer.cs (1)
14public interface INestedContainer : IContainer
1 implementation of IContainer
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Container.cs (1)
11public class Container : IContainer
466 references to IContainer
Accessibility_Core_App (13)
CommonControl1.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
CommonControl2.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
ContainerControls.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
ContainerControls2.Designer.cs (1)
10private System.ComponentModel.IContainer components = null;
DataBindingExample.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
DataControls.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
DialogControls.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
Main.Designer.cs (1)
9private System.ComponentModel.IContainer components = null;
Menu_Toolbars_controls.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MenuForm.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
PrintingControls.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
RemainingControls.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
ToolStripContainer.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
DesignSurface (1)
MainForm.Designer.cs (1)
10private System.ComponentModel.IContainer components = null;
DesignSurfaceExt (1)
NameCreationServiceImp.cs (1)
17public string CreateName(IContainer container, Type type)
Microsoft.VisualBasic.Forms (1)
Microsoft\VisualBasic\MyServices\Internal\ProgressDialog.vb (1)
32Private ReadOnly _components As IContainer
NativeHost.ManagedControl (1)
ManagedControl.Designer.cs (1)
9private System.ComponentModel.IContainer components = null;
netstandard (1)
netstandard.cs (1)
329[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.IContainer))]
PresentationBuildTasks (1)
src\Microsoft.DotNet.Wpf\src\PresentationFramework\System\Windows\Markup\TypeContext.cs (1)
102public IContainer Container
PresentationFramework (9)
MS\Internal\Data\DefaultValueConverter.cs (1)
791public IContainer Container { get { return null; } }
System\Windows\Controls\ContentPresenter.cs (1)
1133IContainer ITypeDescriptorContext.Container { get { return null; } }
System\Windows\Documents\DPTypeDescriptorContext.cs (1)
148System.ComponentModel.IContainer System.ComponentModel.ITypeDescriptorContext.Container
System\Windows\Markup\Baml2006\DeferredBinaryDeserializerExtension.cs (1)
85IContainer ITypeDescriptorContext.Container
System\Windows\Markup\Baml2006\TypeConverterMarkupExtension.cs (1)
49IContainer ITypeDescriptorContext.Container
System\Windows\Markup\Primitives\ElementMarkupObject.cs (1)
1202public IContainer Container
System\Windows\Markup\Primitives\MarkupWriter.cs (1)
1472public IContainer Container
System\Windows\Markup\TypeContext.cs (1)
102public IContainer Container
System\Windows\TemplateContent.cs (1)
1481IContainer ITypeDescriptorContext.Container
PresentationUI (11)
MS\Internal\Documents\Application\DocumentPropertiesDialog.Designer.cs (1)
14private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\CredentialManagerDialog.Designer.cs (1)
15private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RequestedSignatureDialog.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (1)
15private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RMEnrollmentPage2.Designer.cs (1)
15private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RMEnrollmentPage3.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RMPermissions.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\RMPublishingDialog.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\SigningDialog.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
MS\Internal\Documents\SigningProgress.Designer.cs (1)
12private System.ComponentModel.IContainer components = null;
ReachFramework (1)
Serialization\Manager\XpsTokenContext.cs (1)
101System.ComponentModel.IContainer
ScratchProject (1)
Form1.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ScratchProjectWithInternals (1)
Form1.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
System (1)
src\libraries\shims\System\ref\System.cs (1)
315[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.IContainer))]
System.ComponentModel.Primitives (10)
System\ComponentModel\Component.cs (2)
96/// Returns the <see cref='System.ComponentModel.IContainer'/> 101public IContainer? Container => _site?.Container;
System\ComponentModel\ComponentCollection.cs (2)
14/// <see cref='System.ComponentModel.IContainer'/>. 37/// <see cref='System.ComponentModel.IContainer'/>.
System\ComponentModel\IContainer.cs (4)
20/// <see cref='System.ComponentModel.IContainer'/> at the end of the list. 27/// <see cref='System.ComponentModel.IContainer'/> at the end of the list, 34/// Gets all the components in the <see cref='System.ComponentModel.IContainer'/>. 39/// Removes a component from the <see cref='System.ComponentModel.IContainer'/>.
System\ComponentModel\ISite.cs (2)
16/// <see cref='System.ComponentModel.IContainer'/> and enable communication between 31IContainer? Container { get; }
System.ComponentModel.TypeConverter (15)
System\ComponentModel\Container.cs (2)
130protected virtual object? GetService(Type service) => service == typeof(IContainer) ? this : null; 261public IContainer Container { get; }
System\ComponentModel\Design\IDesignerHost.cs (1)
34IContainer Container { get; }
System\ComponentModel\Design\IInheritanceService.cs (1)
14void AddInheritedComponents(IComponent component, IContainer container);
System\ComponentModel\Design\Serialization\ComponentSerializationService.cs (4)
90public abstract ICollection Deserialize(SerializationStore store, IContainer container); 106public abstract void DeserializeTo(SerializationStore store, IContainer container, bool validateRecycledTypes, bool applyDefaults); 108public void DeserializeTo(SerializationStore store, IContainer container) 113public void DeserializeTo(SerializationStore store, IContainer container, bool validateRecycledTypes)
System\ComponentModel\Design\Serialization\INameCreationService.cs (1)
21string CreateName(IContainer? container, Type dataType);
System\ComponentModel\ITypeDescriptorContext.cs (1)
15IContainer? Container { get; }
System\ComponentModel\MarshalByValueComponent.cs (1)
142public virtual IContainer? Container => _site?.Container;
System\ComponentModel\NestedContainer.cs (1)
119public IContainer Container { get; }
System\ComponentModel\ReferenceConverter.cs (2)
64IContainer? cont = context.Container; 150IContainer? cont = context.Container;
System\ComponentModel\ReflectTypeDescriptionProvider.cs (1)
665IContainer? cont = component.Site.Container;
System.Data.Common (2)
System\Data\DataSet.cs (1)
1000IContainer? cont = oldSite.Container;
System\Data\DataTable.cs (1)
2707IContainer? cont = oldSite.Container;
System.Drawing.Common.Tests (1)
System\Drawing\Printing\MarginsConverterTests.cs (1)
150public IContainer Container => null;
System.IO.Ports (1)
System\IO\Ports\SerialPort.cs (1)
548public SerialPort(IContainer container) : this()
System.Windows.Forms (24)
System\Windows\Forms\ActiveX\AxHost.AxContainer.cs (5)
26private IContainer? _associatedContainer; 317private void FillComponentsTable(IContainer? container) 382private IContainer? GetParentIsDesigned() 385private IContainer? GetParentsContainer() 387IContainer? container = GetParentIsDesigned();
System\Windows\Forms\ActiveX\Control.AxSourcingSite.cs (1)
33public IContainer? Container => null;
System\Windows\Forms\ContextMenuStrip.cs (1)
17public ContextMenuStrip(IContainer container) : base()
System\Windows\Forms\Controls\ImageList\ImageList.cs (1)
67public ImageList(IContainer container) : this()
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (1)
176public virtual IContainer? Container => Component?.Site?.Container;
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MultiPropertyDescriptorGridEntry.cs (2)
30public override IContainer? Container 34IContainer? container = null;
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.StubSite.cs (1)
39IContainer? ISite.Container => _owner.Site?.Container;
System\Windows\Forms\Controls\WebBrowser\WebBrowserContainer.cs (6)
18private IContainer? _associatedContainer; 193private IContainer? GetParentsContainer() 195IContainer? rval = GetParentIContainer(); 201private IContainer? GetParentIContainer() 207private void FillComponentsTable(IContainer? container) 273if (ctl.Site is not ISite site || site.Container is not IContainer container)
System\Windows\Forms\DataBinding\BindingNavigator.cs (1)
60public BindingNavigator(IContainer container)
System\Windows\Forms\DataBinding\BindingSource.cs (1)
97public BindingSource(IContainer container)
System\Windows\Forms\ErrorProvider\ErrorProvider.cs (1)
80public ErrorProvider(IContainer container)
System\Windows\Forms\NotifyIcon.cs (1)
67public NotifyIcon(IContainer container) : this()
System\Windows\Forms\Timer.cs (1)
42public Timer(IContainer container) : this()
System\Windows\Forms\ToolTip\ToolTip.cs (1)
76public ToolTip(IContainer cont)
System.Windows.Forms.Design (86)
System\ComponentModel\Design\CollectionEditor.PropertyGridSite.cs (1)
21public IContainer? Container => null;
System\ComponentModel\Design\DesignerActionPanel.TypeDescriptorContext.cs (2)
21public IContainer? Container => _serviceProvider.GetService<IContainer>();
System\ComponentModel\Design\DesignerHost.cs (6)
14/// design time <see cref="IContainer"/> object. The services this class implements are generally non-removable (they 27private static readonly Type[] s_defaultServices = [typeof(IDesignerHost), typeof(IContainer), typeof(IComponentChangeService), typeof(IDesignerLoaderHost2)]; 180internal bool AddToContainerPreProcess(IComponent component, string? name, IContainer containerToAddTo) 229internal void AddToContainerPostProcess(IComponent component, IContainer containerToAddTo) 627internal bool RemoveFromContainerPreProcess([NotNullWhen(true)] IComponent? component, IContainer container) 871IContainer IDesignerHost.Container => this;
System\ComponentModel\Design\DesignerHost.Site.cs (2)
176if (service != typeof(IServiceContainer) && service != typeof(IContainer) && _nestedContainer is not null) 192IContainer ISite.Container => _container;
System\ComponentModel\Design\DesignSurface.cs (3)
71public IContainer ComponentContainer 286ctor = TypeDescriptor.GetReflectionType(type).GetConstructor(BindingFlags.Public | BindingFlags.Instance | BindingFlags.ExactBinding, null, [typeof(IContainer)], null); 291instance = TypeDescriptor.CreateInstance(this, type, [typeof(IContainer)], [ComponentContainer]);
System\ComponentModel\Design\InheritanceService.cs (2)
53public void AddInheritedComponents(IComponent component, IContainer container) 61protected virtual void AddInheritedComponents(Type? type, IComponent component, IContainer container)
System\ComponentModel\Design\ReferenceService.cs (2)
78if (_provider.GetService(typeof(IContainer)) is not IContainer container)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (2)
460internal void SetupVariableReferences(IDesignerSerializationManager manager, IContainer container, Dictionary<object, ObjectData> objectData, IList shimObjectNames) 492if (manager.GetService<IContainer>() is { } container)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.cs (3)
193internal List<object> Deserialize(IServiceProvider? provider, IContainer? container = null) 200private void Deserialize(IServiceProvider? provider, IContainer? container, bool validateRecycledTypes, bool applyDefaults, List<object>? objects) 279internal void DeserializeTo(IServiceProvider provider, IContainer container, bool validateRecycledTypes, bool applyDefaults)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.cs (2)
151public override ICollection Deserialize(SerializationStore store, IContainer container) 172public override void DeserializeTo(SerializationStore store, IContainer container, bool validateRecycledTypes, bool applyDefaults)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.cs (1)
1012string INameCreationService.CreateName(IContainer? container, Type dataType)
System\ComponentModel\Design\Serialization\CodeDomLocalizationProvider.LanguageExtenders.cs (1)
53&& site.TryGetService(out IContainer? container))
System\ComponentModel\Design\Serialization\CodeDomSerializationProvider.cs (1)
86if (typeof(IContainer).IsAssignableFrom(objectType))
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (3)
21GetReflectionTypeFromTypeHelper(manager, typeof(IContainer)) 258IContainer? container = manager.GetService<IContainer>();
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (6)
27if (typeof(IContainer).IsAssignableFrom(type)) 29object? obj = manager.GetService(typeof(IContainer)); 52CodeMemberField field = new(typeof(IContainer), ContainerName) 61CodeVariableDeclarationStatement var = new(typeof(IContainer), ContainerName); 72assign.UserData[nameof(IContainer)] = nameof(IContainer);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (3)
23private IContainer? _container; 62public IContainer? Container 540=> serviceType == typeof(IContainer) ? Container : _provider?.GetService(serviceType);
System\ComponentModel\Design\Serialization\TypeCodeDomSerializer.cs (2)
259IContainer? container = manager.GetService<IContainer>();
System\ComponentModel\Design\UndoEngine.UndoUnit.cs (3)
24private readonly Dictionary<string, IContainer>? _lastSelection; // the selection as it was before we gathered undo info 35Dictionary<string, IContainer> selectedNames = []; 473foreach ((string name, IContainer container) in _lastSelection)
System\Windows\Forms\Design\CollectionEditVerbManager.cs (1)
68IContainer ITypeDescriptorContext.Container
System\Windows\Forms\Design\ControlCodeDomSerializer.cs (2)
29IContainer? container = manager.GetService<IContainer>();
System\Windows\Forms\Design\ControlCommandSet.cs (3)
370IContainer container = component.Site.Container; 1375IContainer container = host.Container; 1408IContainer controlSiteContainer = null;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (5)
156IContainer? container = host?.Container; 633IContainer? container = null; 771IContainer? container = host?.Container; 852IContainer? container, 864IContainer? container,
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (2)
184IContainer? currentContainer = _liveDataGridView.Site?.Container; 1175private static bool ValidateName(IContainer container, string siteName, IComponent component)
System\Windows\Forms\Design\DataGridViewColumnDesigner.cs (1)
58IContainer? container = host?.Container;
System\Windows\Forms\Design\DataGridViewComponentPropertyGridSite.cs (1)
27public IContainer? Container => null;
System\Windows\Forms\Design\DataGridViewDesigner.cs (4)
341IContainer? currentContainer = dataGridView.Site?.Container; 345IContainer? container = col.Site?.Container; 400IContainer? currentContainer = dataGridView.Site?.Container; 577IContainer? currentContainer = site?.Container;
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
588IContainer? container = null; 1427IContainer? container = _designerHost?.Container;
System\Windows\Forms\Design\DesignerUtils.cs (2)
725public static IContainer? CheckForNestedContainer(IContainer? container) =>
System\Windows\Forms\Design\DocumentDesigner.cs (1)
842IContainer container = host.Container;
System\Windows\Forms\Design\EditorServiceContext.cs (1)
76IContainer? ITypeDescriptorContext.Container => _designer.Component.Site?.Container;
System\Windows\Forms\Design\FormatControl.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
System\Windows\Forms\Design\ListViewGroupCollectionEditor.cs (1)
40&& Context.TryGetService(out IContainer container))
System\Windows\Forms\Design\MaskDesignerDialog.cs (1)
36private IContainer _components;
System\Windows\Forms\Design\OleDragDropHandler.cs (1)
668IContainer? container = host.RootComponent.Site!.Container;
System\Windows\Forms\Design\ParentControlDesigner.cs (6)
598private void AddChildComponents(IComponent component, IContainer container, IDesignerHost host) 618IContainer childContainer; 866IContainer container = Component.Site.Container; 1406IContainer container = target.Component.Site.Container; 2309IContainer container = DesignerUtils.CheckForNestedContainer(Component.Site.Container); // ...necessary to support SplitterPanel components 2312IContainer oldContainer = null;
System\Windows\Forms\Design\TabOrder.cs (1)
384IContainer? container = null;
System\Windows\Forms\Design\ToolStripDesigner.cs (3)
1664IContainer container = (IContainer)serviceProvider.GetService(typeof(IContainer));
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (2)
1678IContainer container = host.Container; 1769IContainer container = host.Container;
System.Windows.Forms.Design.Tests (58)
Mocks\MockSite.cs (1)
71.Returns((IContainer)null);
System\ComponentModel\Design\ComponentDesignerTests.cs (23)
226.Returns((IContainer)null); 519.Returns((IContainer)null); 591.Returns((IContainer)null); 830.Returns((IContainer)null); 948.Returns((IContainer)null); 1054.Returns((IContainer)null); 1162.Returns((IContainer)null); 1255.Returns((IContainer)null); 1346.Returns((IContainer)null); 1440.Returns((IContainer)null); 1547.Returns((IContainer)null); 1645.Returns((IContainer)null); 1724.Returns((IContainer)null); 1782.Returns((IContainer)null); 1842.Returns((IContainer)null); 1918.Returns((IContainer)null); 1971.Returns((IContainer)null); 2053.Returns((IContainer)null); 2113.Returns((IContainer)null); 2164.Returns((IContainer)null); 2228.Returns((IContainer)null); 2635.Returns((IContainer)null); 2670.Returns((IContainer)null);
System\ComponentModel\Design\DesignerActionListTests.cs (1)
53.Returns((IContainer)null);
System\ComponentModel\Design\DesignerHostTests.cs (6)
243.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 616.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 672.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>())) 1583Assert.Same(host, component.Site.GetService(typeof(IContainer))); 2355Assert.Same(host, host.GetService(typeof(IContainer))); 3126Assert.Equal(typeof(IDesignerHost).GetProperty(nameof(IDesignerHost.Container)), reflect.GetProperty(nameof(IDesignerHost.Container), BindingFlags.Instance | BindingFlags.Static | BindingFlags.Public, null, typeof(IContainer), Array.Empty<Type>(), Array.Empty<ParameterModifier>()));
System\ComponentModel\Design\DesignSurfaceTests.cs (11)
271yield return new object[] { typeof(IContainer) }; 1806public ClassWithPublicConstructor(IContainer container) 1818public ComponentWithPublicConstructor(IContainer container) 1833private ClassWithPrivateDefaultConstructor(IContainer container) 1845private ComponentWithPrivateDefaultConstructor(IContainer container) 1853public new IContainer Container { get; set; } 1855public ComponentWithIContainerConstructor(IContainer container) 1863public IContainer Container { get; set; } 1865public ClassWithIContainerConstructor(IContainer container) 1887private ClassWithPrivateIContainerConstructor(IContainer container) 1894private ComponentWithPrivateIContainerConstructor(IContainer container)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (10)
55public void DesignerSerializationManager_Ctor_IServiceProvider(IServiceProvider provider, IContainer expectedContainer) 84public void DesignerSerializationManager_Container_Set_GetReturnsExpected(IContainer value) 91Assert.Same(value, manager.GetService(typeof(IContainer))); 96Assert.Same(value, manager.GetService(typeof(IContainer))); 992Assert.Same(expected, manager.GetService(typeof(IContainer))); 993Assert.Same(expected, ((IServiceProvider)manager).GetService(typeof(IContainer))); 999[InlineData(typeof(IContainer))] 1045Assert.Same(expected, iManager.GetService(typeof(IContainer))); 1046Assert.Same(expected, iManager.GetService(typeof(IContainer))); 1052[InlineData(typeof(IContainer))]
System\ComponentModel\Design\SiteNestedContainerTests.cs (2)
21.Returns((IContainer)null); 149.Setup(s => s.CreateName(It.IsAny<IContainer>(), It.IsAny<Type>()))
System\Windows\Forms\Design\ControlDesigner.DesignerControlCollectionTests.cs (1)
173public IContainer Container { get; init; } = new Container();
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (1)
53public IContainer Container => null;
System\Windows\Forms\Design\FlowPanelDesignerTests.cs (1)
18Mock<IContainer> mockContainer = new();
TestControlDesigner.Mocks.cs (1)
103.Returns((IContainer?)null);
System.Windows.Forms.Tests (180)
BindingNavigatorTests.cs (2)
38IContainer nullContainer = null; 39Mock<IContainer> mockContainer = new(MockBehavior.Strict);
ContextMenuStripTests.cs (2)
22IContainer nullContainer = null; 23Mock<IContainer> mockContainer = new(MockBehavior.Strict);
System\Windows\Forms\AccessibleObjects\PropertyGrid.PropertyGridAccessibleObjectTests.cs (1)
212public IContainer Container { get; }
System\Windows\Forms\AxHostTests.cs (17)
254.Returns((IContainer)null); 597.Returns((IContainer)null); 630.Returns((IContainer)null); 661.Returns((IContainer)null); 692.Returns((IContainer)null); 725.Returns((IContainer)null); 756.Returns((IContainer)null); 791.Returns((IContainer)null); 839.Returns((IContainer)null); 1773.Returns((IContainer)null); 1826.Returns((IContainer)null); 1883.Returns((IContainer)null); 1938.Returns((IContainer)null); 1995.Returns((IContainer)null); 2057.Returns((IContainer)null); 2122.Returns((IContainer)null); 2196.Returns((IContainer)null);
System\Windows\Forms\BindingSourceTests.cs (1)
831public SubBindingSource(IContainer container) : base(container)
System\Windows\Forms\ButtonBaseTests.cs (19)
566.Returns((IContainer)null); 612.Returns((IContainer)null); 658.Returns((IContainer)null); 863.Returns((IContainer)null); 954.Returns((IContainer)null); 1507.Returns((IContainer)null); 1661.Returns((IContainer)null); 2843.Returns((IContainer)null); 2955.Returns((IContainer)null); 4390.Returns((IContainer)null); 4481.Returns((IContainer)null); 5159.Returns((IContainer)null); 5263.Returns((IContainer)null); 6274.Returns((IContainer)null); 6365.Returns((IContainer)null); 6988.Returns((IContainer)null); 7092.Returns((IContainer)null); 7418.Returns((IContainer)null); 7522.Returns((IContainer)null);
System\Windows\Forms\ButtonTests.cs (2)
2418.Returns((IContainer)null); 2507.Returns((IContainer)null);
System\Windows\Forms\ColumnHeaderTests.cs (5)
765.Returns((IContainer)null); 928.Returns((IContainer)null); 1459.Returns((IContainer)null); 1496.Returns((IContainer)null); 1534.Returns((IContainer)null);
System\Windows\Forms\ControlTests.Methods.cs (3)
2499.Returns((IContainer)null); 2550.Returns((IContainer)null); 2618.Returns((IContainer)null);
System\Windows\Forms\ControlTests.Properties.cs (16)
9293.Returns((IContainer)null); 9361.Returns((IContainer)null); 10539.Returns((IContainer)null); 10598.Returns((IContainer)null); 10620.Returns((IContainer)null); 10629.Returns((IContainer)null); 10638.Returns((IContainer)null); 10698.Returns((IContainer)null); 10732.Returns((IContainer)null); 10748.Returns((IContainer)null); 10764.Returns((IContainer)null); 10773.Returns((IContainer)null); 10906.Returns((IContainer)null); 10922.Returns((IContainer)null); 10938.Returns((IContainer)null); 10947.Returns((IContainer)null);
System\Windows\Forms\DataGridViewElementTests.cs (1)
272.Returns((IContainer)null);
System\Windows\Forms\ErrorProviderTests.cs (2)
86Assert.Throws<ArgumentNullException>("container", () => new ErrorProvider((IContainer)null)); 1361public SubErrorProvider(IContainer container) : base(container)
System\Windows\Forms\MdiClientTests.cs (4)
346.Returns((IContainer)null); 411.Returns((IContainer)null); 838.Returns((IContainer)null); 1000.Returns((IContainer)null);
System\Windows\Forms\NotifyIconTests.cs (7)
260.Returns((IContainer)null); 285.Returns((IContainer)null); 406.Returns((IContainer)null); 500.Returns((IContainer)null); 531.Returns((IContainer)null); 857.Returns((IContainer)null); 935.Returns((IContainer)null);
System\Windows\Forms\PanelTests.cs (1)
1078.Returns((IContainer)null);
System\Windows\Forms\ProgressBarTests.cs (3)
140.Returns<IContainer>(null); 799.Returns<IContainer>(null); 860.Returns<IContainer>(null);
System\Windows\Forms\PropertyGridTests.cs (13)
2718.Returns((IContainer)null); 2728.Returns((IContainer)null); 2792.Returns((IContainer)null); 2818.Returns((IContainer)null); 2828.Returns((IContainer)null); 2842.Returns((IContainer)null); 2852.Returns((IContainer)null); 2914.Returns((IContainer)null); 2938.Returns((IContainer)null); 2948.Returns((IContainer)null); 2972.Returns((IContainer)null); 2982.Returns((IContainer)null); 4271public IContainer Container => null;
System\Windows\Forms\TabControl.ControlCollectionTests.cs (4)
690.Returns((IContainer)null); 716.Returns((IContainer)null); 818.Returns((IContainer)null); 1518.Returns((IContainer)null);
System\Windows\Forms\TabControl.TabPageCollectionTests.cs (12)
689.Returns((IContainer)null); 717.Returns((IContainer)null); 824.Returns((IContainer)null); 2642.Returns((IContainer)null); 2668.Returns((IContainer)null); 2850.Returns((IContainer)null); 3398.Returns((IContainer)null); 3486.Returns((IContainer)null); 3605.Returns((IContainer)null); 3797.Returns((IContainer)null); 3883.Returns((IContainer)null); 4638.Returns((IContainer)null);
System\Windows\Forms\TabControlTests.cs (1)
198.Returns<IContainer>(null);
System\Windows\Forms\TabPageTests.cs (15)
705.Returns((IContainer)null); 747.Returns((IContainer)null); 790.Returns((IContainer)null); 1162.Returns((IContainer)null); 1314.Returns((IContainer)null); 1434.Returns((IContainer)null); 1551.Returns((IContainer)null); 1692.Returns((IContainer)null); 1806.Returns((IContainer)null); 2833.Returns((IContainer)null); 2947.Returns((IContainer)null); 3066.Returns((IContainer)null); 3205.Returns((IContainer)null); 3323.Returns((IContainer)null); 3435.Returns((IContainer)null);
System\Windows\Forms\TimerTests.cs (1)
463public SubTimer(IContainer container) : base(container)
System\Windows\Forms\ToolStripControlHostTests.cs (14)
488.Returns((IContainer)null); 1768public void ToolStripControlHost_Site_Set_GetReturnsExpected(IContainer container, string name, bool designMode) 1951.Returns((IContainer)null); 1974.Returns((IContainer)null); 1992.Returns((IContainer)null); 2013.Returns((IContainer)null); 2032.Returns((IContainer)null); 2052.Returns((IContainer)null); 2074.Returns((IContainer)null); 2093.Returns((IContainer)null); 2113.Returns((IContainer)null); 2133.Returns((IContainer)null); 2165.Returns((IContainer)null); 2185.Returns((IContainer)null);
System\Windows\Forms\ToolStripDropDownTests.cs (4)
1219.Returns((IContainer)null); 1351.Returns((IContainer)null); 3723.Returns((IContainer)null); 4608.Returns((IContainer)null);
System\Windows\Forms\ToolStripItemTests.cs (15)
1158.Returns((IContainer)null); 1255.Returns((IContainer)null); 1393.Returns((IContainer)null); 2594.Returns((IContainer)null); 2680.Returns((IContainer)null); 2815.Returns((IContainer)null); 6174.Returns((IContainer)null); 6215.Returns((IContainer)null); 7697.Returns((IContainer)null); 9208.Returns((IContainer)null); 9305.Returns((IContainer)null); 9443.Returns((IContainer)null); 14869.Returns((IContainer)null); 14967.Returns((IContainer)null); 15105.Returns((IContainer)null);
System\Windows\Forms\ToolStripSeparatorTests.cs (1)
160.Returns((IContainer)null);
System\Windows\Forms\ToolStripTests.cs (4)
1770.Returns((IContainer)null); 1901.Returns((IContainer)null); 2123.Returns((IContainer)null); 4254.Returns((IContainer)null);
System\Windows\Forms\ToolTipTests.cs (1)
911public SubToolTip(IContainer cont) : base(cont)
System\Windows\Forms\TreeViewTests.cs (3)
531.Returns((IContainer)null); 570.Returns((IContainer)null); 6092.Returns((IContainer)null);
System\Windows\Forms\UserControlTests.cs (2)
279.Returns((IContainer)null); 370.Returns((IContainer)null);
TextBoxBaseTests.cs (2)
1463.Returns((IContainer)null); 1494.Returns((IContainer)null);
WebBrowserBaseTests.cs (2)
251.Returns((IContainer)null); 271.Returns((IContainer)null);
System.Xaml (2)
System\Xaml\Context\ServiceProviderContext.cs (1)
97IContainer ITypeDescriptorContext.Container
System\Xaml\XamlObjectReader.cs (1)
2797public IContainer Container
System.Xaml.Tests (3)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
197public IContainer Container => throw new NotImplementedException();
System\Windows\Markup\ValueSerializerTests.cs (1)
445public IContainer Container => throw new NotImplementedException();
System\Windows\Markup\XamlSetTypeConverterEventArgsTests.cs (1)
44public IContainer Container => throw new NotImplementedException();
TrimTest (1)
Form1.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
TrimTestBinaryDeserialization (1)
Form1.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
WinFormsControlsTest (39)
AnchorLayoutTests.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
Buttons.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
Calendar.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ChartControl.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
CollectionEditors.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ComboBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ComboBoxesWithScrollBars.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
DataGridViewInVirtualModeTest.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
DataGridViewTest.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
DateTimePicker.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
DesignTimeAligned.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
Dialogs.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
DockLayoutTests.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
DragDrop.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
ErrorProviderTest.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
FormBorderStyles.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
ListBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ListViewTest.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MainForm.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MdiChild.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MdiParent.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MediaPlayer.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MenuStripAndCheckedListBox.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MessageBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
MultipleControls.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
Panels.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
Password.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
PictureBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
PropertyGrid.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
RichTextBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ScalingBeforeChanges.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ScrollableControls.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
ScrollBars.Designer.cs (1)
13private System.ComponentModel.IContainer components = null;
Splitter.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
TextBoxes.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ToolStripTests.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
ToolTipTests.Designer.cs (1)
8private System.ComponentModel.IContainer components = null;
TrackBars.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;
TreeViewTest.Designer.cs (1)
11private System.ComponentModel.IContainer components = null;