7 references to GetService
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.LocalDesignerSerializationManager.cs (1)
44private bool TypeResolutionAvailable => _typeSvcAvailable ??= GetService(typeof(ITypeResolutionService)) is not null;
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (5)
68if (GetService(typeof(IDesignerHost)) is IDesignerHost host) 261if (GetService(typeof(IDesignerHost)) is IDesignerHost host && host.Container == Container) 550if (GetService(typeof(TypeDescriptionProviderService)) is TypeDescriptionProviderService typeProviderService) 571_typeResolver = GetService(typeof(ITypeResolutionService)) as ITypeResolutionService; 948return GetService(serviceType);
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (1)
1998public new object GetService(Type serviceType) => base.GetService(serviceType);