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