136 overrides of CanConvertFrom
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4613public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.AspNetCore.Components.Tests (2)
BindConverterTest.cs (1)
390public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
EventCallbackFactoryBinderExtensionsTest.cs (1)
690public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
514public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2911public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\InferParameterBindingInfoConventionTest.cs (1)
1131public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
ModelBinding\Binders\HeaderModelBinderProviderTest.cs (1)
215public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.AspNetCore.Mvc.IntegrationTests (2)
HeaderModelBinderIntegrationTest.cs (1)
498public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
SimpleTypeModelBinderIntegrationTest.cs (1)
834public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
65public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
PresentationCore (41)
MS\Internal\IListConverters.cs (1)
36public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\CultureInfoConverter.cs (1)
51public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\DurationConverter.cs (1)
26public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\FontStretchConverter.cs (1)
35public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\FontStyleConverter.cs (1)
35public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\FontWeightConverter.cs (1)
35public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
45public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
36public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\Command\MouseActionConverter.cs (1)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\Command\MouseGestureConverter.cs (1)
37public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\CursorConverter.cs (1)
30public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\InputScopeConverter.cs (1)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Input\InputScopeNameConverter.cs (1)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Markup\XmlLanguageConverter.cs (1)
44public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\Media\Animation\KeySplineConverter.cs (1)
33public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptor, Type destinationType)
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
26public override bool CanConvertFrom(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
32public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Media\ColorConverter.cs (1)
32public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Media\FontFamilyConverter.cs (1)
40public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Media\Generated\BrushConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\CacheModeConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\GeometryConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\TransformConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
56public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\ImageSourceConverter.cs (1)
44public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media\PixelFormatConverter.cs (1)
38public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
33public override bool CanConvertFrom(ITypeDescriptorContext td, Type t)
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
52public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\TextDecorationCollectionConverter.cs (1)
55public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
PresentationFramework (19)
System\Windows\Controls\DataGridLengthConverter.cs (1)
26public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
40public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\CornerRadiusConverter.cs (1)
42public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\DeferrableContentConverter.cs (1)
33public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\DialogResultConverter.cs (1)
37public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\EventSetterHandlerConverter.cs (1)
26public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\FigureLengthConverter.cs (1)
50public override bool CanConvertFrom(
System\Windows\FontSizeConverter.cs (1)
42public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\GridLengthConverter.cs (1)
52public override bool CanConvertFrom(
System\Windows\Input\Command\CommandConverter.cs (1)
49public override bool CanConvertFrom( ITypeDescriptorContext context, Type sourceType )
System\Windows\LengthConverter.cs (1)
49public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\Markup\DependencyPropertyConverter.cs (1)
41public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Markup\RoutedEventConverter.cs (1)
21public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
40public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Markup\TemplateKeyConverter.cs (1)
37public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\PropertyPathConverter.cs (1)
50public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\SystemKeyConverter.cs (1)
40public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\ThemeModeConverter.cs (1)
39public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
System\Windows\ThicknessConverter.cs (1)
43public override bool CanConvertFrom(ITypeDescriptorContext typeDescriptorContext, Type sourceType)
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
54CanConvertFrom(
Serialization\FontTypeConverter.cs (1)
51CanConvertFrom(
Serialization\ImageSourceTypeConverter.cs (1)
60CanConvertFrom(
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
16public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) =>
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
16public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType) =>
System.ComponentModel.TypeConverter (22)
System\ComponentModel\BaseNumberConverter.cs (1)
45public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\BooleanConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\CharConverter.cs (1)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\CultureInfoConverter.cs (1)
43public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\DateOnlyConverter.cs (1)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\DateTimeConverter.cs (1)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
21public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\EnumConverter.cs (1)
42public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\GuidConverter.cs (1)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\NullableConverter.cs (1)
41public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\ReferenceConverter.cs (1)
33public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\StringConverter.cs (1)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\TimeOnlyConverter.cs (1)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\TimeSpanConverter.cs (1)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\TypeListConverter.cs (1)
32public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\UriTypeConverter.cs (1)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\VersionConverter.cs (1)
22public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Drawing\ColorConverter.cs (1)
28public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Drawing\PointConverter.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Drawing\RectangleConverter.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Drawing\SizeConverter.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Drawing\SizeFConverter.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System.Configuration.ConfigurationManager (2)
System\Configuration\ConfigurationConverterBase.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext ctx, Type type)
System\Configuration\IdnElement.cs (1)
41public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System.Data.Common (1)
System\Data\ColumnTypeConverter.cs (1)
107public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) =>
System.Drawing.Common (6)
Special\NotSupported.cs (6)
369public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 381public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 729public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 822public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 834public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type? sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2735public override bool CanConvertFrom(System.ComponentModel.ITypeDescriptorContext? context, System.Type sourceType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
46public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
28public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System.Windows.Forms (13)
System\Resources\ResxFileRef.Converter.cs (1)
16public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
16public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
53public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
21public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Input\CursorConverter.cs (1)
24public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Input\KeysConverter.cs (1)
130public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
23public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
298public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
20public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
11public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) =>
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
14public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType) =>
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Windows\Markup\NameReferenceConverter.cs (1)
15public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Xaml\EventConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
18public override bool CanConvertFrom(ITypeDescriptorContext? context, Type sourceType)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
27public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Xaml\Replacements\TypeListConverter.cs (1)
20public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Xaml\Replacements\TypeTypeConverter.cs (1)
19public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
14public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)
System.Xaml.Tests (3)
System\Windows\Markup\ValueSerializerTests.cs (3)
467public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 491public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType) 504public override bool CanConvertFrom(ITypeDescriptorContext? context, Type? sourceType)
89 references to CanConvertFrom
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4620return base.CanConvertFrom(context, sourceType);
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
397return base.CanConvertFrom(context, sourceType);
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
515=> sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2913return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
Microsoft.AspNetCore.Mvc.IntegrationTests (1)
SimpleTypeModelBinderIntegrationTest.cs (1)
836return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Protocol\Converters\StringEnumConverter.cs (1)
72return base.CanConvertFrom(context, sourceType);
PresentationCore (21)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
51return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
36return base.CanConvertFrom(
System\Windows\Media\Generated\BrushConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\GeometryConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\TransformConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
63return base.CanConvertFrom(context, sourceType);
System\Windows\Media\ImageSourceConverter.cs (1)
51return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
59return base.CanConvertFrom(context, sourceType);
PresentationFramework (2)
System\Windows\DeferrableContentConverter.cs (1)
40return base.CanConvertFrom(context, sourceType);
System\Windows\SystemKeyConverter.cs (1)
44return base.CanConvertFrom(context, sourceType);
ReachFramework (2)
Serialization\Manager\ReachSerializableProperties.cs (2)
479converter.CanConvertFrom(null,typeof(string)); 835converter.CanConvertFrom(null,typeof(string));
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
17sourceType == typeof(string) ? true : base.CanConvertFrom(context, sourceType);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
17sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System.ComponentModel.TypeConverter (25)
System\ComponentModel\BaseNumberConverter.cs (1)
47return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\BooleanConverter.cs (1)
21return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\CharConverter.cs (1)
20return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\CultureInfoConverter.cs (1)
45return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\DateOnlyConverter.cs (1)
22return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\DateTimeConverter.cs (1)
24return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\DateTimeOffsetConverter.cs (1)
23return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\EnumConverter.cs (1)
48return base.CanConvertFrom(context, sourceType);
System\ComponentModel\GuidConverter.cs (1)
24return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\NullableConverter.cs (2)
49return UnderlyingTypeConverter.CanConvertFrom(context, sourceType); 52return base.CanConvertFrom(context, sourceType);
System\ComponentModel\ReferenceConverter.cs (1)
40return base.CanConvertFrom(context, sourceType);
System\ComponentModel\StringConverter.cs (1)
20return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\TimeOnlyConverter.cs (1)
22return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\TimeSpanConverter.cs (1)
24return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\TypeConverter.cs (2)
22public bool CanConvertFrom(Type sourceType) => CanConvertFrom(null, sourceType); 315if (value == null || CanConvertFrom(context, value.GetType()))
System\ComponentModel\TypeListConverter.cs (1)
34return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\UriTypeConverter.cs (1)
25return sourceType == typeof(string) || sourceType == typeof(Uri) || base.CanConvertFrom(context, sourceType);
System\ComponentModel\VersionConverter.cs (1)
24return sourceType == typeof(string) || sourceType == typeof(Version) || base.CanConvertFrom(context, sourceType);
System\Drawing\ColorConverter.cs (1)
30return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\Drawing\PointConverter.cs (1)
17return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\Drawing\RectangleConverter.cs (1)
17return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\Drawing\SizeConverter.cs (1)
17return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\Drawing\SizeFConverter.cs (1)
17return sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System.Configuration.ConfigurationManager (1)
System\Configuration\IdnElement.cs (1)
47return base.CanConvertFrom(context, sourceType);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
30return (sourceType == typeof(string)) || base.CanConvertFrom(context, sourceType);
System.Windows.Forms (15)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
19=> sourceType == typeof(byte[]) || base.CanConvertFrom(context, sourceType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
17=> sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
55? _innerConverter.CanConvertFrom(context, sourceType) 56: base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
30return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
26return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
28return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
30return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\GridEntry.cs (2)
379if (!forceReadOnly && converter.CanConvertFrom(this, typeof(string)) && 873if (TypeConverter.CanConvertFrom(this, typeof(string)))
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
26return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Input\CursorConverter.cs (1)
31return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Input\KeysConverter.cs (1)
131=> sourceType == typeof(string) || sourceType == typeof(Enum[]) || base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
30return base.CanConvertFrom(context, sourceType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
25return base.CanConvertFrom(context, sourceType);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\DesignerActionPanel.EditorPropertyLine.cs (1)
160bool converterReadOnly = !PropertyDescriptor.Converter.CanConvertFrom(TypeDescriptorContext, typeof(string));
System\ComponentModel\Design\DesignerActionPanel.PropertyLine.cs (1)
57if (!PropertyDescriptor.Converter.CanConvertFrom(_typeDescriptorContext, valueType))
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
305return base.CanConvertFrom(context, sourceType);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
21=> GetConverter(context).CanConvertFrom(context, sourceType);
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
12sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (2)
18Assert.True(s_converter.CanConvertFrom(s_context, typeof(string))); 19Assert.True(s_converter.CanConvertFrom(s_context, typeof(InstanceDescriptor)));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
15sourceType == typeof(string) || base.CanConvertFrom(context, sourceType);
System.Windows.Forms.Tests (1)
System\Windows\Forms\ListViewGroupConverterTests.cs (1)
54Assert.Equal(expected, converter.CanConvertFrom(mockContext.Object, typeof(string)));
System.Xaml (5)
System\Windows\Markup\NameReferenceConverter.cs (1)
22return base.CanConvertFrom(context, sourceType);
System\Xaml\EventConverter.cs (1)
25return base.CanConvertFrom(context, sourceType);
System\Xaml\Replacements\DateTimeConverter2.cs (1)
25return base.CanConvertFrom(context, sourceType);
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
34return base.CanConvertFrom(context, sourceType);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
175return converter.CanConvertFrom(context, typeof(T));