8 references to GetProvider
System.Windows.Forms.Design (2)
System\ComponentModel\Design\DesignerHost.cs (1)
137TypeDescriptionProvider typeProvider = _typeService.GetProvider(component);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
104return service.GetProvider(instance);
System.Windows.Forms.Design.Tests (6)
System\ComponentModel\Design\DesignerHostTests.cs (6)
760.Setup(s => s.GetProvider(It.IsAny<object>())) 790mockTypeDescriptionProviderService.Verify(s => s.GetProvider(component1), Times.Once()); 801mockTypeDescriptionProviderService.Verify(s => s.GetProvider(component2), Times.Once()); 813.Setup(s => s.GetProvider(It.IsAny<object>())) 837mockTypeDescriptionProviderService.Verify(s => s.GetProvider(component), Times.Once()); 881mockTypeDescriptionProviderService.Verify(s => s.GetProvider(component), Times.Never());