1 write to _converter
System.Windows.Forms.Tests (1)
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (1)
21
_converter
= new SelectionRangeConverter();
12 references to _converter
System.Windows.Forms.Tests (12)
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (12)
36
_converter
.CanConvertFrom(null, type).Should().Be(expected);
45
_converter
.CanConvertTo(null, type).Should().Be(expected);
59
SelectionRange range = (SelectionRange)
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
69
SelectionRange range = (SelectionRange)
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
79
Action act = () =>
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
99
object result =
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, range, targetType);
107
InstanceDescriptor descriptor = (InstanceDescriptor)
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(InstanceDescriptor));
117
Action act = () =>
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(int));
134
Func<SelectionRange> func = () => (SelectionRange)
_converter
.CreateInstance(null, propertyValues);
150
_converter
.GetCreateInstanceSupported(context: null).Should().BeTrue();
157
PropertyDescriptorCollection props =
_converter
.GetProperties(null, range, null);
167
_converter
.GetPropertiesSupported(context: null).Should().BeTrue();