6 references to _converter
System.Windows.Forms.Tests (6)
System\Windows\Forms\DataGridViewColumnConverterTests.cs (6)
20
_converter
.CanConvertTo(context: null, destinationType).Should().BeTrue();
54
Action action = () =>
_converter
.ConvertTo(context: null, culture: CultureInfo.InvariantCulture, value: _column, destinationType: null!);
61
Action action = () =>
_converter
.ConvertTo(context: null, culture: CultureInfo.InvariantCulture, value: _column, destinationType: typeof(int));
71
var descriptor =
_converter
.ConvertTo(context: null, culture: CultureInfo.InvariantCulture, value: column, destinationType: typeof(InstanceDescriptor)) as InstanceDescriptor;
78
var descriptor =
_converter
.ConvertTo(context: null, culture: CultureInfo.InvariantCulture, value: column, destinationType: typeof(InstanceDescriptor)) as InstanceDescriptor;
84
_converter
.ConvertTo(context: null, culture: CultureInfo.InvariantCulture, value: column, destinationType: typeof(string)).Should().Be(column.ToString());