7 references to _converter
System.Windows.Forms.Tests (7)
System\Windows\Forms\FlatButtonAppearanceConverterTests.cs (7)
18
string resultWithNullContext = (string)
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(string));
19
string resultWithNullCulture = (string)
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(string));
28
Action action1 = () =>
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: null!);
29
Action action2 = () =>
_converter
.ConvertTo(context: null, culture: null, value: null, destinationType: typeof(int));
40
Action action = () =>
_converter
.GetProperties(context: null, value: button, attributes: null);
51
PropertyDescriptorCollection properties =
_converter
.GetProperties(context: null, button, attributes);
63
PropertyDescriptorCollection properties =
_converter
.GetProperties(contextMock.Object, button, attributes: null);