Base:
method
ConvertTo
System.ComponentModel.TypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object, System.Type)
2 references to ConvertTo
PresentationCore.Tests (2)
System\Windows\DurationConverter.Tests.cs (2)
50Assert.Equal(expected, (string)converter.ConvertTo(null, culture, value, typeof(string))); 88Assert.Throws<NotSupportedException>(() => converter.ConvertTo(null, null, new Duration(new TimeSpan(17, 22, 10, 15, 457, 123)), destinationType));