2 overrides of IsSupportedType
System.ComponentModel.TypeConverter (2)
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (1)
122public override bool IsSupportedType(Type type) => Provider.IsSupportedType(type);
System\ComponentModel\TypeDescriptor.cs (1)
3397public override bool IsSupportedType(Type type)
19 references to IsSupportedType
System.ComponentModel.TypeConverter (3)
System\ComponentModel\DelegatingTypeDescriptionProvider.cs (1)
122public override bool IsSupportedType(Type type) => Provider.IsSupportedType(type);
System\ComponentModel\TypeDescriptionProvider.cs (1)
416return _parent.IsSupportedType(type);
System\ComponentModel\TypeDescriptor.cs (1)
3401return Provider.IsSupportedType(type);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\InheritanceService.cs (1)
282if (targetProvider.IsSupportedType(type))
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
126if (targetProvider.IsSupportedType(type)) 151if (targetProvider.IsSupportedType(type)) 308if (targetProvider.IsSupportedType(type))
System\ComponentModel\Design\Serialization\DesignerSerializationManager.cs (1)
553if (typeProvider is not null && !typeProvider.IsSupportedType(type))
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\DesignerHostTests.cs (5)
746.Setup(p => p.IsSupportedType(typeof(int))) 793Assert.False(TypeDescriptor.GetProvider(component1).IsSupportedType(typeof(int))); 794mockTypeDescriptionProvider.Verify(p => p.IsSupportedType(typeof(int)), Times.Once()); 804Assert.False(TypeDescriptor.GetProvider(component2).IsSupportedType(typeof(int))); 805mockTypeDescriptionProvider.Verify(p => p.IsSupportedType(typeof(int)), Times.Exactly(2));
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (6)
1438.Setup(p => p.IsSupportedType(resolvedType)) 1464mockTypeDescriptionProvider.Verify(s => s.IsSupportedType(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount)); 1472mockTypeDescriptionProvider.Verify(s => s.IsSupportedType(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount * 2)); 1566.Setup(p => p.IsSupportedType(resolvedType)) 1595mockTypeDescriptionProvider.Verify(s => s.IsSupportedType(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount)); 1603mockTypeDescriptionProvider.Verify(s => s.IsSupportedType(resolvedType), Times.Exactly(typeDescriptionProviderServiceCount * 2));