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