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); 57SelectionRange range = (SelectionRange)_converter.ConvertFrom(null, CultureInfo.InvariantCulture, value); 67SelectionRange range = (SelectionRange)_converter.ConvertFrom(null, CultureInfo.InvariantCulture, value); 77Action act = () => _converter.ConvertFrom(null, CultureInfo.InvariantCulture, value); 97object result = _converter.ConvertTo(null, CultureInfo.InvariantCulture, range, targetType); 105InstanceDescriptor descriptor = (InstanceDescriptor)_converter.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(InstanceDescriptor)); 115Action act = () => _converter.ConvertTo(null, CultureInfo.InvariantCulture, _range, typeof(int)); 132Func<SelectionRange> func = () => (SelectionRange)_converter.CreateInstance(null, propertyValues); 148_converter.GetCreateInstanceSupported(context: null).Should().BeTrue(); 155PropertyDescriptorCollection props = _converter.GetProperties(null, range, null); 165_converter.GetPropertiesSupported(context: null).Should().BeTrue();