Base:
method
ConvertFrom
System.ComponentModel.TypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
5 references to ConvertFrom
System.Xaml.Tests (5)
System\Xaml\Schema\XamlTypeTypeConverterTests.cs (5)
82XamlType actual = Assert.IsType<XamlType>(converter.ConvertFrom(context, null, value)); 115Assert.Throws<FormatException>(() => converter.ConvertFrom(context, null, value)); 136Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "value")); 170Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(context, null, "prefix:namespace")); 187Assert.Throws<NotSupportedException>(() => converter.ConvertFrom(new CustomTypeDescriptorContext(), null, value));