Base:
method
ConvertFrom
System.ComponentModel.TypeConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
6 references to ConvertFrom
PresentationFramework.Tests (6)
System\Windows\Controls\VirtualizationCacheLengthConverter.Tests.cs (6)
57
object? result = converter.
ConvertFrom
(null, cultureInfo, input);
119
object? result = converter.
ConvertFrom
(null, cultureInfo, input);
149
Assert.Throws<NotSupportedException>(() => converter.
ConvertFrom
(null, culture, value));
169
Assert.Throws<InvalidCastException>(() => converter.
ConvertFrom
(null, culture, value));
191
Assert.Throws<FormatException>(() => converter.
ConvertFrom
(null, culture, value));
226
Assert.Throws<InvalidOperationException>(() => converter.
ConvertFrom
(null, CultureInfo.InvariantCulture, input));