1 write to _converter
System.Windows.Forms.Tests (1)
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (1)
19
_converter
= new SelectionRangeConverter();
12 references to _converter
System.Windows.Forms.Tests (12)
System\Windows\Forms\MonthCalendar.SelectionRangeConverterTests.cs (12)
34
_converter
.CanConvertFrom(null, type).Should().Be(expected);
43
_converter
.CanConvertTo(null, type).Should().Be(expected);
57
SelectionRange range = (SelectionRange)
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
67
SelectionRange range = (SelectionRange)
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
77
Action act = () =>
_converter
.ConvertFrom(null, CultureInfo.InvariantCulture, value);
97
object result =
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, range, targetType);
105
InstanceDescriptor descriptor = (InstanceDescriptor)
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(InstanceDescriptor));
115
Action act = () =>
_converter
.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(int));
132
Func<SelectionRange> func = () => (SelectionRange)
_converter
.CreateInstance(null, propertyValues);
148
_converter
.GetCreateInstanceSupported(context: null).Should().BeTrue();
155
PropertyDescriptorCollection props =
_converter
.GetProperties(null, range, null);
165
_converter
.GetPropertiesSupported(context: null).Should().BeTrue();