3 implementations of RemoveService
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ServiceContainer.cs (1)
223
public virtual void
RemoveService
(Type serviceType, bool promote)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
1295
void IServiceContainer.
RemoveService
(Type serviceType, bool promote)
System\ComponentModel\Design\DesignerHost.Site.cs (1)
140
void IServiceContainer.
RemoveService
(Type serviceType, bool promote)
6 references to RemoveService
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\ServiceContainer.cs (1)
230
container.
RemoveService
(serviceType, promote);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
1298
sc.
RemoveService
(serviceType, promote);
System\ComponentModel\Design\DesignerHost.Site.cs (1)
142
SiteServiceContainer.
RemoveService
(serviceType, promote);
System.Windows.Forms.Design.Tests (3)
System\ComponentModel\Design\DesignerHostTests.cs (3)
2905
host.
RemoveService
(typeof(object), promote);
2919
Assert.Throws<ObjectDisposedException>(() => host.
RemoveService
(typeof(object), true));
2920
Assert.Throws<ObjectDisposedException>(() => host.
RemoveService
(typeof(object), false));