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