4 instantiations of DataClass
System.Windows.Forms.Tests (4)
System\Windows\Forms\BindingSourceTests.cs (4)
63
yield return new object[] { new
DataClass
{ List = null }, nameof(DataClass.List), typeof(BindingList<int>) };
64
yield return new object[] { new
DataClass
{ List = null }, nameof(DataClass.List), typeof(BindingList<int>) };
208
DataClass listDataClass =
new
() { List = list };
471
Assert.Throws<ArgumentException>(() => new BindingSource(new
DataClass
(), "NoSuchProperty"));
6 references to DataClass
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingSourceTests.cs (6)
63
yield return new object[] { new DataClass { List = null }, nameof(
DataClass
.List), typeof(BindingList<int>) };
64
yield return new object[] { new DataClass { List = null }, nameof(
DataClass
.List), typeof(BindingList<int>) };
208
DataClass
listDataClass = new() { List = list };
209
yield return new object[] { listDataClass, nameof(
DataClass
.List), true, false, true, false, false, false, list };
210
yield return new object[] { listDataClass, nameof(
DataClass
.List).ToLowerInvariant(), true, false, true, false, false, false, list };
343
PropertyDescriptor sortProperty = TypeDescriptor.GetProperties(typeof(
DataClass
))[0];