135 overrides of CanConvertTo
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
410
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
PresentationCore (41)
MS\Internal\IListConverters.cs (1)
44
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\CultureInfoConverter.cs (1)
65
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\DurationConverter.cs (1)
45
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\FontStretchConverter.cs (1)
53
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\FontStyleConverter.cs (1)
53
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\FontWeightConverter.cs (1)
53
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
61
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
56
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\Command\MouseActionConverter.cs (1)
42
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\Command\MouseGestureConverter.cs (1)
119
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\CursorConverter.cs (1)
45
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\InputScopeConverter.cs (1)
66
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Input\InputScopeNameConverter.cs (1)
66
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\XmlLanguageConverter.cs (1)
58
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\Media\Animation\KeySplineConverter.cs (1)
52
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
46
public override bool
CanConvertTo
(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
51
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\ColorConverter.cs (1)
50
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\FontFamilyConverter.cs (1)
54
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\BrushConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\CacheModeConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\GeometryConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\TransformConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\ImageSourceConverter.cs (1)
62
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\PixelFormatConverter.cs (1)
56
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
53
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
70
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\TextDecorationCollectionConverter.cs (1)
36
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
PresentationFramework (21)
System\Windows\Controls\DataGridLengthConverter.cs (1)
53
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
71
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\CornerRadiusConverter.cs (1)
73
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\DialogResultConverter.cs (1)
49
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\DynamicResourceExtensionConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\EventSetterHandlerConverter.cs (1)
42
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\FigureLengthConverter.cs (1)
84
public override bool
CanConvertTo
(
System\Windows\FontSizeConverter.cs (1)
56
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\GridLengthConverter.cs (1)
86
public override bool
CanConvertTo
(
System\Windows\Input\Command\CommandConverter.cs (1)
68
public override bool
CanConvertTo
( ITypeDescriptorContext context, Type destinationType )
System\Windows\LengthConverter.cs (1)
79
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
60
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\RoutedEventConverter.cs (1)
37
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
59
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\TemplateKeyConverter.cs (1)
48
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\PropertyPathConverter.cs (1)
71
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\SystemKeyConverter.cs (1)
59
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\TemplateBindingExpressionConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\TemplateBindingExtensionConverter.cs (1)
34
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\ThemeModeConverter.cs (1)
52
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
System\Windows\ThicknessConverter.cs (1)
74
public override bool
CanConvertTo
(ITypeDescriptorContext typeDescriptorContext, Type destinationType)
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
79
CanConvertTo
(
Serialization\FontTypeConverter.cs (1)
76
CanConvertTo
(
Serialization\ImageSourceTypeConverter.cs (1)
85
CanConvertTo
(
System.ComponentModel.TypeConverter (19)
System\ComponentModel\BaseNumberConverter.cs (1)
110
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\CultureInfoConverter.cs (1)
52
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DateOnlyConverter.cs (1)
26
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DateTimeConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
30
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\EnumConverter.cs (1)
55
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\GuidConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\NullableConverter.cs (1)
79
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\TimeOnlyConverter.cs (1)
26
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\TimeSpanConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\TypeListConverter.cs (1)
41
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\UriTypeConverter.cs (1)
32
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\ComponentModel\VersionConverter.cs (1)
31
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\ColorConverter.cs (1)
33
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\PointConverter.cs (1)
20
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\RectangleConverter.cs (1)
20
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\SizeConverter.cs (1)
20
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Drawing\SizeFConverter.cs (1)
20
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
16
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System.Configuration.ConfigurationManager (1)
System\Configuration\ConfigurationConverterBase.cs (1)
10
public override bool
CanConvertTo
(ITypeDescriptorContext ctx, Type type)
System.Data.Common (6)
System\Data\ColumnTypeConverter.cs (1)
62
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\Common\DataColumnMapping.cs (1)
150
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Data\Common\DataTableMapping.cs (1)
172
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Data\ConstraintConverter.cs (1)
20
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\PrimaryKeyTypeConverter.cs (1)
19
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType) =>
System\Data\RelationshipConverter.cs (1)
22
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System.Drawing.Common (5)
Special\NotSupported.cs (5)
370
public override bool
CanConvertTo
(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
730
public override bool
CanConvertTo
(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
823
public override bool
CanConvertTo
(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
835
public override bool
CanConvertTo
(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
2736
public override bool
CanConvertTo
(System.ComponentModel.ITypeDescriptorContext? context, [System.Diagnostics.CodeAnalysis.NotNullWhen(true)] System.Type? destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
71
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
39
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System.Windows.Forms (22)
System\Resources\ResxFileRef.Converter.cs (1)
19
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
22
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
19
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
58
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
14
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
17
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (1)
13
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
13
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
37
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
33
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
17
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
35
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (1)
24
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
14
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
37
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (1)
22
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
47
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Input\CursorConverter.cs (1)
38
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Input\KeysConverter.cs (1)
137
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
13
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
14
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
32
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System.Windows.Forms.Design (2)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
311
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
27
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
17
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType) =>
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
26
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\NameReferenceConverter.cs (1)
49
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (1)
18
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Windows\Markup\TypeExtensionConverter.cs (1)
18
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
28
public override bool
CanConvertTo
(ITypeDescriptorContext? context, [NotNullWhen(true)] Type? destinationType)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
17
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Xaml\Replacements\TypeTypeConverter.cs (1)
36
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
35
public override bool
CanConvertTo
(ITypeDescriptorContext context, Type destinationType)
System.Xaml.Tests (3)
System\Windows\Markup\ValueSerializerTests.cs (3)
461
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
486
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
499
public override bool
CanConvertTo
(ITypeDescriptorContext? context, Type? destinationType)
105 references to CanConvertTo
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
417
return base.
CanConvertTo
(context, destinationType);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1826
if (converter.
CanConvertTo
(ctx, typeof(InstanceDescriptor)))
PresentationCore (27)
System\Windows\FontStretchConverter.cs (1)
60
return base.
CanConvertTo
(context, destinationType);
System\Windows\FontStyleConverter.cs (1)
60
return base.
CanConvertTo
(context, destinationType);
System\Windows\FontWeightConverter.cs (1)
60
return base.
CanConvertTo
(context, destinationType);
System\Windows\Ink\StrokeCollectionConverter.cs (1)
70
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
57
return base.
CanConvertTo
(
System\Windows\Media\ColorConverter.cs (1)
57
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\FontFamilyConverter.cs (1)
81
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\BrushConverter.cs (1)
95
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
95
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
81
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\GeometryConverter.cs (1)
95
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
81
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
95
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
81
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\TransformConverter.cs (1)
95
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
81
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\ImageSourceConverter.cs (1)
84
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media\PixelFormatConverter.cs (1)
64
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
77
return base.
CanConvertTo
(context, destinationType);
PresentationFramework (11)
System\Windows\Controls\ContentPresenter.cs (1)
1117
if (tc != null && (tc.
CanConvertTo
(context, typeof(String))))
System\Windows\Documents\DPTypeDescriptorContext.cs (2)
77
if (typeConverter.
CanConvertTo
(context, typeof(string)))
134
if (typeConverter.
CanConvertTo
(context, typeof(string)))
System\Windows\DynamicResourceExtensionConverter.cs (1)
37
return base.
CanConvertTo
(context, destinationType);
System\Windows\FontSizeConverter.cs (1)
63
return base.
CanConvertTo
(context, destinationType);
System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
368
if (converter != null && converter.
CanConvertTo
(Context, typeof(InstanceDescriptor)))
913
if (converter.
CanConvertTo
(context, typeof(MarkupExtension)))
System\Windows\SystemKeyConverter.cs (2)
69
return base.
CanConvertTo
(context, destinationType);
159
return base.
CanConvertTo
(context, destinationType);
System\Windows\TemplateBindingExpressionConverter.cs (1)
37
return base.
CanConvertTo
(context, destinationType);
System\Windows\TemplateBindingExtensionConverter.cs (1)
40
return base.
CanConvertTo
(context, destinationType);
ReachFramework (2)
Serialization\Manager\ReachSerializableProperties.cs (2)
478
canConvert = converter.
CanConvertTo
(null,typeof(string)) &&
834
canConvert = converter.
CanConvertTo
(null,typeof(string)) &&
System.ComponentModel.TypeConverter (21)
System\ComponentModel\BaseNumberConverter.cs (1)
117
return base.
CanConvertTo
(context, destinationType);
System\ComponentModel\CultureInfoConverter.cs (1)
54
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\DateOnlyConverter.cs (1)
28
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\DateTimeConverter.cs (1)
33
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\DateTimeOffsetConverter.cs (1)
32
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\EnumConverter.cs (1)
61
return base.
CanConvertTo
(context, destinationType);
System\ComponentModel\GuidConverter.cs (1)
33
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\NullableConverter.cs (2)
91
return UnderlyingTypeConverter.
CanConvertTo
(context, destinationType);
94
return base.
CanConvertTo
(context, destinationType);
System\ComponentModel\TimeOnlyConverter.cs (1)
28
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\TimeSpanConverter.cs (1)
33
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\TypeConverter.cs (1)
35
public bool CanConvertTo([NotNullWhen(true)] Type? destinationType) =>
CanConvertTo
(null, destinationType);
System\ComponentModel\TypeListConverter.cs (1)
43
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\UriTypeConverter.cs (1)
34
return destinationType == typeof(Uri) || destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\ComponentModel\VersionConverter.cs (1)
33
return destinationType == typeof(Version) || destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Drawing\ColorConverter.cs (1)
35
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Drawing\PointConverter.cs (1)
22
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Drawing\RectangleConverter.cs (1)
22
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Drawing\SizeConverter.cs (1)
22
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Drawing\SizeFConverter.cs (1)
22
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
18
return destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System.Data.Common (7)
System\Data\ColumnTypeConverter.cs (2)
64
base.
CanConvertTo
(context, destinationType);
109
base.
CanConvertTo
(context, sourceType);
System\Data\Common\DataColumnMapping.cs (1)
156
return base.
CanConvertTo
(context, destinationType);
System\Data\Common\DataTableMapping.cs (1)
178
return base.
CanConvertTo
(context, destinationType);
System\Data\ConstraintConverter.cs (1)
22
base.
CanConvertTo
(context, destinationType);
System\Data\PrimaryKeyTypeConverter.cs (1)
21
base.
CanConvertTo
(context, destinationType);
System\Data\RelationshipConverter.cs (1)
28
return base.
CanConvertTo
(context, destinationType);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
46
return base.
CanConvertTo
(context, destinationType);
System.Windows.Forms (23)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
23
=> destinationType == typeof(byte[]) || base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
20
=> base.
CanConvertTo
(context, destType) || (destType is not null && destType.IsEnum);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
60
? _innerConverter.
CanConvertTo
(context, destinationType)
61
: base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
21
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
24
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (1)
20
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
20
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
44
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
40
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
24
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
47
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (1)
31
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
21
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
44
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2440
&& entry.TypeConverter.
CanConvertTo
(entry, value.GetType()))
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (1)
29
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
54
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Input\CursorConverter.cs (1)
45
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Input\KeysConverter.cs (1)
138
=> destinationType == typeof(Enum[]) || base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
20
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
21
return base.
CanConvertTo
(context, destinationType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
39
return base.
CanConvertTo
(context, destinationType);
System.Windows.Forms.Design (2)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
318
return base.
CanConvertTo
(context, destinationType);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
28
=> GetConverter(context).
CanConvertTo
(context, destinationType);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
18
destinationType == typeof(InstanceDescriptor) || base.
CanConvertTo
(context, destinationType);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListViewGroupConverterTests.cs (1)
167
Assert.Equal(expected, converter.
CanConvertTo
(mockContext.Object, typeof(string)));
System.Xaml (7)
ms\Internal\Markup\TypeConverterValueSerializer.cs (1)
27
return converter.
CanConvertTo
(context, typeof(string));
System\Windows\Markup\NameReferenceConverter.cs (1)
61
return base.
CanConvertTo
(context, destinationType);
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (1)
25
return base.
CanConvertTo
(context, destinationType);
System\Windows\Markup\TypeExtensionConverter.cs (1)
25
return base.
CanConvertTo
(context, destinationType);
System\Xaml\Replacements\DateTimeConverter2.cs (1)
35
return base.
CanConvertTo
(context, destinationType);
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
24
return base.
CanConvertTo
(context, destinationType);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
191
return converter.
CanConvertTo
(context, type);