7 references to _converter
System.Windows.Forms.Tests (7)
System\Windows\Forms\FlatButtonAppearanceConverterTests.cs (7)
16
string resultWithNullContext = (string)
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(string));
17
string resultWithNullCulture = (string)
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(string));
26
Action action1 = () =>
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: null!);
27
Action action2 = () =>
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(int));
38
Action action = () =>
_converter
.GetProperties(context: null, value: button, attributes: null);
49
PropertyDescriptorCollection properties =
_converter
.GetProperties(context: null, button, attributes);
61
PropertyDescriptorCollection properties =
_converter
.GetProperties(contextMock.Object, button, attributes: null);