161 overrides of ConvertTo
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4651public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
420public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
522public override object? ConvertTo(ITypeDescriptorContext? context,
PresentationCore (41)
MS\Internal\IListConverters.cs (1)
72public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\CultureInfoConverter.cs (1)
118public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\DurationConverter.cs (1)
101public override object ConvertTo(
System\Windows\FontStretchConverter.cs (1)
103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\FontStyleConverter.cs (1)
103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\FontWeightConverter.cs (1)
103public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Ink\StrokeCollectionConverter.cs (1)
125public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\Command\KeyGestureConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\Command\MouseActionConverter.cs (1)
92public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\Command\MouseGestureConverter.cs (1)
146public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\CursorConverter.cs (1)
211public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\InputScopeConverter.cs (1)
152public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Input\InputScopeNameConverter.cs (1)
134public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\XmlLanguageConverter.cs (1)
111public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media\Animation\KeySplineConverter.cs (1)
98public override object ConvertTo(
System\Windows\Media\Animation\KeyTimeConverter.cs (1)
129public override object ConvertTo(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
111public override object ConvertTo(
System\Windows\Media\ColorConverter.cs (1)
109public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\FontFamilyConverter.cs (1)
135public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\BrushConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\CacheModeConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
128public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\GeometryConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
128public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
128public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\TransformConverter.cs (1)
142public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
128public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\ImageSourceConverter.cs (1)
206public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\PixelFormatConverter.cs (1)
101public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media\RequestCachePolicyConverter.cs (1)
111public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
124public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\TextDecorationCollectionConverter.cs (1)
180public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
PresentationFramework (21)
System\Windows\Controls\DataGridLengthConverter.cs (1)
127public override object ConvertTo(
System\Windows\Controls\VirtualizationCacheLengthConverter.cs (1)
136public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
System\Windows\CornerRadiusConverter.cs (1)
133public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
System\Windows\DialogResultConverter.cs (1)
70public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\DynamicResourceExtensionConverter.cs (1)
43public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Windows\EventSetterHandlerConverter.cs (1)
90public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\FigureLengthConverter.cs (1)
144public override object ConvertTo(
System\Windows\FontSizeConverter.cs (1)
110public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\GridLengthConverter.cs (1)
163public override object ConvertTo(
System\Windows\Input\Command\CommandConverter.cs (1)
173public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType )
System\Windows\LengthConverter.cs (1)
139public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\DependencyPropertyConverter.cs (1)
97public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\RoutedEventConverter.cs (1)
136public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\Markup\SetterTriggerConditionValueConverter.cs (1)
85public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\TemplateKeyConverter.cs (1)
73public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\PropertyPathConverter.cs (1)
133public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\SystemKeyConverter.cs (1)
110public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\TemplateBindingExpressionConverter.cs (1)
43public override object ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, object value, Type destinationType)
System\Windows\TemplateBindingExtensionConverter.cs (1)
46public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\ThemeModeConverter.cs (1)
98public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext,
System\Windows\ThicknessConverter.cs (1)
126public override object ConvertTo(ITypeDescriptorContext typeDescriptorContext, CultureInfo cultureInfo, object value, Type destinationType)
ReachFramework (3)
Serialization\ColorTypeConverter.cs (1)
143ConvertTo(
Serialization\FontTypeConverter.cs (1)
140ConvertTo(
Serialization\ImageSourceTypeConverter.cs (1)
150ConvertTo(
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.ComponentModel.TypeConverter (24)
System\ComponentModel\BaseNumberConverter.cs (1)
90public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\CharConverter.cs (1)
26public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\CollectionConverter.cs (1)
19public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\CultureInfoConverter.cs (1)
139public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DateOnlyConverter.cs (1)
77public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DateTimeConverter.cs (1)
81public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\DateTimeOffsetConverter.cs (1)
81public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\Design\DesignerOptionService.cs (1)
460public override object? ConvertTo(ITypeDescriptorContext? cxt, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\EnumConverter.cs (1)
123public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\GuidConverter.cs (1)
56public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\MultilineStringConverter.cs (1)
17public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\NullableConverter.cs (1)
100public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\ReferenceConverter.cs (1)
84public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\TimeOnlyConverter.cs (1)
77public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\TimeSpanConverter.cs (1)
65public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\TypeListConverter.cs (1)
68public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\UriTypeConverter.cs (1)
65public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\VersionConverter.cs (1)
66public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Drawing\ColorConverter.cs (1)
48public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Drawing\PointConverter.cs (1)
61public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Drawing\RectangleConverter.cs (1)
59public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Drawing\SizeConverter.cs (1)
59public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Drawing\SizeFConverter.cs (1)
58public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Configuration.ConfigurationManager (8)
System\Configuration\CommaDelimitedStringAttributeCollectionConverter.cs (1)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\GenericEnumConverter.cs (1)
22public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\InfiniteIntConverter.cs (1)
12public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\InfiniteTimeSpanConverter.cs (1)
13public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\TimeSpanMinutesConverter.cs (1)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\TimeSpanSecondsConverter.cs (1)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\TypeNameConverter.cs (1)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System\Configuration\WhiteSpaceTrimStringConverter.cs (1)
11public override object ConvertTo(ITypeDescriptorContext ctx, CultureInfo ci, object value, Type type)
System.Data.Common (6)
System\Data\ColumnTypeConverter.cs (1)
71public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\Common\DataColumnMapping.cs (1)
159public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\Common\DataTableMapping.cs (1)
181public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\ConstraintConverter.cs (1)
31public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\DefaultValueTypeConverter.cs (1)
22public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Data\RelationshipConverter.cs (1)
38public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Drawing.Common (5)
Special\NotSupported.cs (5)
372public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 732public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 825public override object ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 837public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } 2738public override object? ConvertTo(System.ComponentModel.ITypeDescriptorContext? context, System.Globalization.CultureInfo? culture, object? value, System.Type destinationType) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonControlLengthConverter.cs (1)
117public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
100public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.Windows.Forms (26)
System\Resources\ResxFileRef.Converter.cs (1)
22public override object? ConvertTo(
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
38public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
25public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (1)
68public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (1)
12public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType) =>
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
34public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (1)
30public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
23public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
86public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
82public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
34public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
88public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ListViewItemConverter.cs (1)
41public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
92public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyDescriptorGridEntry.ExceptionConverter.cs (1)
16public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
99public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (1)
39public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
64public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\ImageKeyConverter.cs (1)
83public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Input\CursorConverter.cs (1)
83public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Input\KeysConverter.cs (1)
220public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
64public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
24public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
63public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Windows.Forms.Design (4)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
341public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
294public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
40public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
19public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
43public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System.Windows.Forms.Tests (5)
System\Windows\Forms\Layout\TableLayoutSettingsTests.cs (2)
1859public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 1867public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Forms\ListControlTests.cs (3)
3042public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 3060public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType) 3074public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
34public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\NameReferenceConverter.cs (1)
65public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (1)
28public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Windows\Markup\TypeExtensionConverter.cs (1)
28public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Xaml\Replacements\DateTimeConverter2.cs (1)
41public override object? ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
37public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Xaml\Replacements\TypeTypeConverter.cs (1)
39public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
40public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
System.Xaml.Tests (1)
System\Windows\Markup\ValueSerializerTests.cs (1)
478public override object ConvertTo(ITypeDescriptorContext? context, CultureInfo? culture, object? value, Type destinationType)
WinFormsControlsTest (1)
UserControls\UserControlWithObjectCollectionEditor.cs (1)
33public override object ConvertTo(ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType)
145 references to ConvertTo
dotnet-svcutil-lib (1)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (1)
4672return base.ConvertTo(context, culture, value, destinationType);
Microsoft.AspNetCore.Components.Tests (1)
BindConverterTest.cs (1)
427return base.ConvertTo(context, culture, value, destinationType);
Microsoft.AspNetCore.Http.Abstractions (1)
PathString.cs (1)
529: base.ConvertTo(context, culture, value, destinationType);
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\ModelBindingHelper.cs (1)
722: converter.ConvertTo(null, culture, value, destinationType);
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1828desc = (InstanceDescriptor)converter.ConvertTo(ctx, TypeConverterHelper.InvariantEnglishUS, value, typeof(InstanceDescriptor));
PresentationCore (39)
MS\Internal\IListConverters.cs (1)
78return base.ConvertTo(context, culture, value, destinationType);
System\Windows\DurationConverter.cs (1)
143return base.ConvertTo(context, cultureInfo, value, destinationType);
System\Windows\FontStretchConverter.cs (1)
121return base.ConvertTo(context, culture, value, destinationType);
System\Windows\FontStyleConverter.cs (1)
121return base.ConvertTo(context, culture, value, destinationType);
System\Windows\FontWeightConverter.cs (1)
121return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Ink\StrokeCollectionConverter.cs (1)
163return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Input\Command\KeyGesture.cs (1)
168return (string)_keyGestureConverter.ConvertTo(null, culture, this, typeof(string));
System\Windows\Input\Command\MouseGestureConverter.cs (2)
163strGesture += modifierKeysConverter.ConvertTo(context, culture, mouseGesture.Modifiers, destinationType) as string; 172strGesture += mouseActionConverter.ConvertTo(context, culture, mouseGesture.MouseAction, destinationType) as string;
System\Windows\Input\InputScopeConverter.cs (1)
162return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Input\InputScopeNameConverter.cs (1)
144return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Animation\KeySplineConverter.cs (1)
138return base.ConvertTo(context, cultureInfo, value, destinationType);
System\Windows\Media\Animation\KeyTimeConverter.cs (3)
186typeof(Double)).ConvertTo( 197typeof(TimeSpan)).ConvertTo( 206return base.ConvertTo(
System\Windows\Media\Animation\RepeatBehaviorConverter.cs (1)
158return base.ConvertTo(context, cultureInfo, value, destinationType);
System\Windows\Media\ColorConverter.cs (1)
127return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\FontFamilyConverter.cs (1)
218return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\BrushConverter.cs (1)
168return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\CacheModeConverter.cs (1)
168return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\DoubleCollectionConverter.cs (1)
144return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\GeometryConverter.cs (1)
168return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\Int32CollectionConverter.cs (1)
144return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\PathFigureCollectionConverter.cs (1)
168return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\PointCollectionConverter.cs (1)
144return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\TransformConverter.cs (1)
168return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\Generated\VectorCollectionConverter.cs (1)
144return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\ImageSourceConverter.cs (1)
231return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media\PixelFormatConverter.cs (1)
124return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Matrix3DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Point3DCollectionConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Point3DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Point4DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\QuaternionConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Rect3DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Size3DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Vector3DCollectionConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Media3D\Generated\Vector3DConverter.cs (1)
140return base.ConvertTo(context, culture, value, destinationType);
System\Windows\TextDecorationCollectionConverter.cs (1)
192return base.ConvertTo(context, culture, value, destinationType);
PresentationFramework (12)
MS\Internal\Data\DefaultValueConverter.cs (1)
307value = _typeConverter.ConvertTo(ctx, culture, o, destinationType);
System\Windows\Controls\ContentPresenter.cs (1)
1119textBlock.Text = (string)tc.ConvertTo(context, culture, content, typeof(string));
System\Windows\Documents\DPTypeDescriptorContext.cs (2)
79stringValue = (string)typeConverter.ConvertTo( 136stringValue = (string)typeConverter.ConvertTo(
System\Windows\Documents\TextRangeSerialization.cs (1)
1135string stringValue = (string)typeConverter.ConvertTo(/*ITypeDescriptorContext:*/null, CultureInfo.InvariantCulture, propertyValue, typeof(string));
System\Windows\DynamicResourceExtensionConverter.cs (1)
57return base.ConvertTo(context, culture, value, destinationType);
System\Windows\FontSizeConverter.cs (1)
136return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Markup\BamlRecordReader.cs (1)
1644convertedParam = converter.ConvertTo(TypeConvertContext,
System\Windows\Markup\Primitives\ElementMarkupObject.cs (2)
373instanceDescriptor = converter.ConvertTo(_context, TypeConverterHelper.InvariantEnglishUS, 916return converter.ConvertTo(context, TypeConverterHelper.InvariantEnglishUS, value, typeof(MarkupExtension));
System\Windows\TemplateBindingExpressionConverter.cs (1)
52return base.ConvertTo(context, culture, value, destinationType);
System\Windows\TemplateBindingExtensionConverter.cs (1)
60return base.ConvertTo(context, culture, value, destinationType);
ReachFramework (3)
Serialization\VisualSerializer.cs (3)
335colorString = converter.ConvertTo(_context, CultureInfo.InvariantCulture, color, typeof(string)) as string; 647Object obj = converter.ConvertTo(_context, null, imageSource, typeof(Uri)); 2093uri = converter.ConvertTo(_context, null, glyphRun, typeof(Uri)) as Uri;
System.CodeDom (2)
Microsoft\CSharp\CSharpModifierAttributeConverter.cs (1)
58return base.ConvertTo(context, culture, value, destinationType);
Microsoft\VisualBasic\VBModifierAttributeConverter.cs (1)
58return base.ConvertTo(context, culture, value, destinationType);
System.ComponentModel.TypeConverter (28)
System\ComponentModel\BaseNumberConverter.cs (1)
107return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\CharConverter.cs (1)
36return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\CollectionConverter.cs (1)
26return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\CultureInfoConverter.cs (1)
166return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\DateOnlyConverter.cs (1)
101return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\DateTimeConverter.cs (1)
137return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\DateTimeOffsetConverter.cs (1)
149return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\Design\DesignerOptionService.cs (1)
466return base.ConvertTo(cxt, culture, value, destinationType);
System\ComponentModel\EnumConverter.cs (1)
224return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\GuidConverter.cs (1)
65return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\MultilineStringConverter.cs (1)
26return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\NullableConverter.cs (2)
124return UnderlyingTypeConverter.ConvertTo(context, culture, value, destinationType); 127return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\ReferenceConverter.cs (1)
118return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\TimeOnlyConverter.cs (1)
102return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\TimeSpanConverter.cs (1)
75return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\TypeConverter.cs (4)
106return ConvertTo(null, null, value, destinationType); 157return (string?)ConvertTo(null, CultureInfo.CurrentCulture, value, typeof(string)); 165return (string?)ConvertTo(context, CultureInfo.CurrentCulture, value, typeof(string)); 173return (string?)ConvertTo(context, culture, value, typeof(string));
System\ComponentModel\TypeListConverter.cs (1)
84return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\VersionConverter.cs (1)
90return base.ConvertTo(context, culture, value, destinationType);
System\Drawing\ColorConverter.cs (1)
137return base.ConvertTo(context, culture, value, destinationType);
System\Drawing\PointConverter.cs (1)
92return base.ConvertTo(context, culture, value, destinationType);
System\Drawing\RectangleConverter.cs (1)
95return base.ConvertTo(context, culture, value, destinationType);
System\Drawing\SizeConverter.cs (1)
90return base.ConvertTo(context, culture, value, destinationType);
System\Drawing\SizeFConverter.cs (1)
87return base.ConvertTo(context, culture, value, destinationType);
System\Security\Authentication\ExtendedProtection\ExtendedProtectionPolicyTypeConverter.cs (1)
57return base.ConvertTo(context, culture, value, destinationType);
System.Data.Common (6)
System\Data\ColumnTypeConverter.cs (1)
104return base.ConvertTo(context, culture, value, destinationType);
System\Data\Common\DataColumnMapping.cs (1)
176return base.ConvertTo(context, culture, value, destinationType);
System\Data\Common\DataTableMapping.cs (1)
200return base.ConvertTo(context, culture, value, destinationType);
System\Data\ConstraintConverter.cs (1)
60return base.ConvertTo(context, culture, value, destinationType);
System\Data\DefaultValueTypeConverter.cs (1)
38return base.ConvertTo(context, culture, value, destinationType);
System\Data\RelationshipConverter.cs (1)
71return base.ConvertTo(context, culture, value, destinationType);
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Controls\Ribbon\StringCollectionConverter.cs (1)
130return base.ConvertTo(context, culture, value, destinationType);
System.Windows.Forms (33)
System\Windows\Forms\ActiveX\AxHost.StateConverter.cs (1)
60return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1568byte[] data = (byte[])converter.ConvertTo(
System\Windows\Forms\ComponentModel\COM2Interop\COM2EnumConverter.cs (1)
36: base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\ComponentModel\COM2Interop\COM2ExtendedTypeConverter.cs (2)
70? _innerConverter.ConvertTo(context, culture, value, destinationType) 71: base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\Buttons\FlatButtonAppearanceConverter.cs (1)
13destinationType == typeof(string) ? "" : base.ConvertTo(context, culture, value, destinationType)!;
System\Windows\Forms\Controls\DataGridView\DataGridViewCellConverter.cs (1)
37return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewCellStyleConverter.cs (1)
44return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewColumnConverter.cs (1)
58return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\DataGridView\DataGridViewRowConverter.cs (1)
36return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\Labels\LinkArea.LinkAreaConverter.cs (1)
111return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\Labels\LinkConverter.cs (1)
117return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\ListView\ColumnHeaderConverter.cs (1)
79return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\ListView\ListViewGroupConverter.cs (1)
105return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\ListView\ListViewSubItemConverter.cs (1)
60return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\MonthCalendar\SelectionRangeConverter.cs (1)
133return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\MergePropertyDescriptor.cs (1)
142var instanceDescriptor = (InstanceDescriptor?)converter.ConvertTo(
System\Windows\Forms\Controls\PropertyGrid\PropertyGridInternal\PropertyGridView.cs (1)
2442currentValue = entry.TypeConverter.ConvertTo(entry, CultureInfo.CurrentCulture, currentValue, value.GetType());
System\Windows\Forms\Controls\ToolStrips\OpacityConverter.cs (1)
107return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Controls\TreeView\TreeNodeConverter.cs (1)
111return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\DataBinding\ListBindingConverter.cs (1)
74return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\ImageKeyConverter.cs (1)
96return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Input\CursorConverter.cs (1)
141return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Input\KeysConverter.cs (2)
226return base.ConvertTo(context, culture, value, destinationType); 233: base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Internal\Formatter.cs (5)
152return sourceConverter.ConvertTo(context: null, GetFormatterCulture(formatInfo), value, targetType); 183return (bool)sourceConverter.ConvertTo(context: null, GetFormatterCulture(formatInfo), value, s_booleanType)! 209return sourceConverter.ConvertTo(context: null, GetFormatterCulture(formatInfo), value, targetType); 319return sourceConverter.ConvertTo(context: null, GetFormatterCulture(formatInfo), value, targetType); 375return sourceConverter.ConvertTo(context: null, GetFormatterCulture(formatInfo), value, targetType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanelCellPositionTypeConverter.cs (1)
73return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettings.StyleConverter.cs (1)
44return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutSettingsTypeConverter.cs (1)
132return base.ConvertTo(context, culture, value, destinationType);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\EventBindingService.EventPropertyDescriptor.cs (1)
348return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\Design\InheritedPropertyDescriptor.cs (1)
301return base.ConvertTo(context, culture, value, destinationType);
System\ComponentModel\Design\Serialization\CodeDomDesignerLoader.ModifierConverter.cs (1)
41=> GetConverter(context).ConvertTo(context, culture, value, destinationType);
System\Windows\Forms\Design\DataMemberFieldConverter.cs (1)
23: base.ConvertTo(context, culture, value, destinationType);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\DataMemberFieldConverterTests.cs (2)
37Assert.Equal(expected, s_converter.ConvertTo(s_context, CultureInfo.CurrentCulture, actual, expectedType)); 46() => s_converter.ConvertTo(s_context, CultureInfo.CurrentCulture, actual, expectedType));
System.Windows.Forms.Primitives (1)
System\Windows\Forms\PaddingConverter.cs (1)
66return base.ConvertTo(context, culture, value, destinationType);
System.Xaml (8)
src\Microsoft.DotNet.Wpf\src\Shared\System\Windows\Markup\Replacements\TypeUriConverter.cs (1)
59return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Markup\StaticExtensionsToInstanceDescriptorsConverter.cs (1)
43return base.ConvertTo(context, culture, value, destinationType);
System\Windows\Markup\TypeExtensionConverter.cs (1)
43return base.ConvertTo(context, culture, value, destinationType);
System\Xaml\Replacements\DateTimeConverter2.cs (1)
48return base.ConvertTo(context, culture, value, destinationType);
System\Xaml\Replacements\DateTimeOffsetConverter2.cs (1)
75return base.ConvertTo(context, culture, value, destinationType);
System\Xaml\Replacements\TypeTypeConverter.cs (1)
50return base.ConvertTo(context, culture, value, destinationType);
System\Xaml\Runtime\ClrObjectRuntime.cs (1)
223return (T)converter.ConvertTo(context, TypeConverterHelper.InvariantEnglishUS, instance, typeof(T));
System\Xaml\Schema\XamlTypeTypeConverter.cs (1)
53return base.ConvertTo(context, culture, value, destinationType);
WinFormsControlsTest (1)
UserControls\UserControlWithObjectCollectionEditor.cs (1)
40return base.ConvertTo(context, culture, value, destinationType);