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\Windows\Markup\NameReferenceConverterTests.cs (4)
155Assert.Equal(name, converter.ConvertTo(context, null, "value", null)); 162Assert.Throws<ArgumentNullException>("context", () => converter.ConvertTo(null, CultureInfo.CurrentCulture, "value", typeof(string))); 177Assert.Throws<InvalidOperationException>(() => converter.ConvertTo(context, null, "value", null)); 192Assert.Throws<InvalidCastException>(() => converter.ConvertTo(context, null, "value", null));