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