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