Base:
method
ConvertTo
System.ComponentModel.TypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)
4 references to ConvertTo
System.Xaml.Tests (4)
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (4)
226Assert.Equal("prefix:Int32", converter.ConvertTo(context, null, type, typeof(string))); 249Assert.Equal(type.ToString(), converter.ConvertTo(context, null, type, typeof(string))); 259Assert.Equal(value ?? string.Empty, converter.ConvertTo(new CustomTypeDescriptorContext(), null, value, typeof(string))); 269Assert.Throws<NotSupportedException>(() => converter.ConvertTo(new CustomTypeDescriptorContext(), null, type, destinationType));