1 type derived from ServiceContainer
System.Windows.Forms.Design (1)
System\ComponentModel\Design\DesignSurfaceServiceContainer.cs (1)
9internal sealed class DesignSurfaceServiceContainer : ServiceContainer
7 instantiations of ServiceContainer
Aspire.Hosting.Tests (1)
Utils\TestServiceProvider.cs (1)
12private readonly ServiceContainer _serviceContainer = new ServiceContainer();
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignSurfaceManager.cs (1)
81protected ServiceContainer ServiceContainer => _serviceContainer ??= new ServiceContainer(_parentProvider);
System\ComponentModel\Design\SiteNestedContainer.cs (1)
102return _services ??= new ServiceContainer(_host);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\DesignerHostTests.cs (2)
1080ServiceContainer otherContainer = new(); 1182ServiceContainer otherContainer = new();
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
280ServiceContainer container = new();
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
59ServiceContainer serviceContainer = new();
33 references to ServiceContainer
Aspire.Hosting.Tests (1)
Utils\TestServiceProvider.cs (1)
12private readonly ServiceContainer _serviceContainer = new ServiceContainer();
netstandard (1)
netstandard.cs (1)
295[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.ServiceContainer))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
281[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.ServiceContainer))]
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ServiceContainer.cs (1)
16private static readonly Type[] s_defaultServices = new Type[] { typeof(IServiceContainer), typeof(ServiceContainer) };
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignSurface.cs (1)
104protected ServiceContainer ServiceContainer
System\ComponentModel\Design\DesignSurfaceManager.cs (2)
13private ServiceContainer? _serviceContainer; 81protected ServiceContainer ServiceContainer => _serviceContainer ??= new ServiceContainer(_parentProvider);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
364if (manager.GetService(typeof(IServiceContainer)) is ServiceContainer sc)
System\ComponentModel\Design\SiteNestedContainer.cs (1)
13private ServiceContainer? _services;
System.Windows.Forms.Design.Tests (23)
System\ComponentModel\Design\DesignerHostTests.cs (4)
1080ServiceContainer otherContainer = new(); 1182ServiceContainer otherContainer = new(); 2360[InlineData(typeof(ServiceContainer))] 3157public new ServiceContainer ServiceContainer => base.ServiceContainer;
System\ComponentModel\Design\DesignSurfaceTests.cs (17)
204ServiceContainer container = surface.ServiceContainer; 213ServiceContainer container = surface.ServiceContainer; 223ServiceContainer container = surface.ServiceContainer; 231ServiceContainer container = surface.ServiceContainer; 240ServiceContainer container = surface.ServiceContainer; 248ServiceContainer container = surface.ServiceContainer; 256ServiceContainer container = surface.ServiceContainer; 264ServiceContainer container = surface.ServiceContainer; 281ServiceContainer container = surface.ServiceContainer; 290ServiceContainer container = surface.ServiceContainer; 304ServiceContainer container = surface.ServiceContainer; 318ServiceContainer container = surface.ServiceContainer; 1177ServiceContainer container = surface.ServiceContainer; 1268ServiceContainer container = surface.ServiceContainer; 1279ServiceContainer container = surface.ServiceContainer; 1536[InlineData(typeof(ServiceContainer))] 1731public new ServiceContainer ServiceContainer => base.ServiceContainer;
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (1)
280ServiceContainer container = new();
System\ComponentModel\Design\SiteNestedContainerTests.cs (1)
1027public new ServiceContainer ServiceContainer => base.ServiceContainer;
System.Windows.Forms.UI.IntegrationTests (1)
DesignBehaviorsTests.cs (1)
59ServiceContainer serviceContainer = new();