7 references to GetListItemType
System.Windows.Forms (1)
System\Windows\Forms\DataBinding\BindingSource.cs (1)
1127
Type type = ListBindingHelper.
GetListItemType
(_dataSource, _dataMember);
System.Windows.Forms.Tests (6)
System\Windows\Forms\ListBindingHelperTests.cs (6)
178
Assert.Equal(list is null ? typeof(object) : expected, ListBindingHelper.
GetListItemType
(list, null));
179
Assert.Equal(list is null ? typeof(object) : expected, ListBindingHelper.
GetListItemType
(list, string.Empty));
218
Assert.Equal(expected, ListBindingHelper.
GetListItemType
(list, dataMember));
228
Assert.Throws<NotSupportedException>(() => ListBindingHelper.
GetListItemType
(list, null));
229
Assert.Throws<NotSupportedException>(() => ListBindingHelper.
GetListItemType
(list, string.Empty));
230
Assert.Throws<NotSupportedException>(() => ListBindingHelper.
GetListItemType
(list, "dataMember"));