1 write to DesiredType
System.Windows.Forms (1)
System\Windows\Forms\ConvertEventArgs.cs (1)
11DesiredType = desiredType;
12 references to DesiredType
System.Windows.Forms (6)
System\Windows\Forms\DataBinding\Binding.cs (6)
653if (!(cevent.Value is DBNull) && cevent.Value is not null && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 655cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture); 666if (!(cevent.Value is DBNull) && cevent.DesiredType is not null && !cevent.DesiredType.IsInstanceOfType(cevent.Value) && (cevent.Value is IConvertible)) 668cevent.Value = Convert.ChangeType(cevent.Value, cevent.DesiredType, CultureInfo.CurrentCulture);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ConvertEventArgsTests.cs (1)
16Assert.Equal(desiredType, e.DesiredType);
System\Windows\Forms\DataGridViewCellFormattingEventArgsTests.cs (1)
24Assert.Equal(desiredType, e.DesiredType);
System\Windows\Forms\DataGridViewCellParsingEventArgsTests.cs (1)
25Assert.Equal(desiredType, e.DesiredType);
System\Windows\Forms\ListControlConvertEventArgsTests.cs (1)
16Assert.Equal(desiredType, e.DesiredType);
System\Windows\Forms\ListControlTests.cs (2)
2411Assert.Equal(typeof(string), e.DesiredType); 2453Assert.Equal(typeof(string), e.DesiredType);