9 references to GetProvider
System.Windows.Forms.Design (2)
System\ComponentModel\Design\InheritanceService.cs (1)
294
return DocumentDesigner.s_manager?.GetService<TypeDescriptionProviderService>()?.
GetProvider
(type);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
552
TypeDescriptionProvider? typeProvider = typeProviderService.
GetProvider
(type);
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (7)
1443
.Setup(s => s.
GetProvider
(resolvedType))
1463
mockTypeDescriptionProviderService.Verify(s => s.
GetProvider
(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount));
1471
mockTypeDescriptionProviderService.Verify(s => s.
GetProvider
(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount * 2));
1503
.Setup(p => p.
GetProvider
(typeof(int)))
1571
.Setup(s => s.
GetProvider
(resolvedType))
1594
mockTypeDescriptionProviderService.Verify(s => s.
GetProvider
(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount));
1602
mockTypeDescriptionProviderService.Verify(s => s.
GetProvider
(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount * 2));