58 references to TypeDescriptionProviderService
netstandard (1)
netstandard.cs (1)
299[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.TypeDescriptionProviderService))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
285[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.ComponentModel.Design.TypeDescriptionProviderService))]
System.Windows.Forms.Design (6)
System\ComponentModel\Design\DesignerHost.cs (1)
63private TypeDescriptionProviderService? _typeService;
System\ComponentModel\Design\InheritanceService.cs (1)
294return DocumentDesigner.s_manager?.GetService<TypeDescriptionProviderService>()?.GetProvider(type);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
102if (provider.TryGetService(out TypeDescriptionProviderService? service)) 181targetProvider = provider.GetService<TypeDescriptionProviderService>()?.GetProvider(type);
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (2)
550if (GetService(typeof(TypeDescriptionProviderService)) is TypeDescriptionProviderService typeProviderService)
System.Windows.Forms.Design.Tests (50)
System\ComponentModel\Design\DesignerHostTests.cs (32)
200.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 212.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 247.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 411.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 482.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 528.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 547.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 621.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 677.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 711.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 758Mock<TypeDescriptionProviderService> mockTypeDescriptionProviderService = new(MockBehavior.Strict); 765.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 789mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Once()); 800mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Once()); 811Mock<TypeDescriptionProviderService> mockTypeDescriptionProviderService = new(MockBehavior.Strict); 818.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 836mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Once()); 860Mock<TypeDescriptionProviderService> mockTypeDescriptionProviderService = new(MockBehavior.Strict); 863.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 880mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Once()); 1053.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1083.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1116.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1150.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1185.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1223.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1419.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1462.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1487.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1528.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 2602.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 2672.Setup(p => p.GetService(typeof(TypeDescriptionProviderService)))
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (2)
217.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 309.Setup(p => p.GetService(typeof(TypeDescriptionProviderService)))
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (16)
1107.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1108.Returns((TypeDescriptionProviderService)null); 1119.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1441Mock<TypeDescriptionProviderService> mockTypeDescriptionProviderService = new(MockBehavior.Strict); 1455.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1462mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Exactly(typeDescriptionProviderServiceCount)); 1470mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Exactly(typeDescriptionProviderServiceCount * 2)); 1485.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1486.Returns((TypeDescriptionProviderService)null); 1497.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1501Mock<TypeDescriptionProviderService> invalidMockTypeDescriptionProviderService = new(MockBehavior.Strict); 1513.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1569Mock<TypeDescriptionProviderService> mockTypeDescriptionProviderService = new(MockBehavior.Strict); 1583.Setup(p => p.GetService(typeof(TypeDescriptionProviderService))) 1593mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Exactly(typeDescriptionProviderServiceCount)); 1601mockServiceProvider.Verify(p => p.GetService(typeof(TypeDescriptionProviderService)), Times.Exactly(typeDescriptionProviderServiceCount * 2));