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)
157Assert.Equal(name, converter.ConvertTo(context, null, "value", null)); 164Assert.Throws<ArgumentNullException>("context", () => converter.ConvertTo(null, CultureInfo.CurrentCulture, "value", typeof(string))); 179Assert.Throws<InvalidOperationException>(() => converter.ConvertTo(context, null, "value", null)); 194Assert.Throws<InvalidCastException>(() => converter.ConvertTo(context, null, "value", null));