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