6 writes to List
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingSourceTests.cs (6)
66
yield return new object[] { new ObjectDataClass {
List
= null }, nameof(ObjectDataClass.List), typeof(BindingList<object>) };
67
yield return new object[] { new ObjectDataClass {
List
= null }, nameof(ObjectDataClass.List).ToLowerInvariant(), typeof(BindingList<object>) };
282
yield return new object[] { new ObjectDataClass {
List
= o1 }, nameof(ObjectDataClass.List), true, true, true, false, false, false, new BindingList<object> { o1 }, typeof(BindingList<object>) };
285
yield return new object[] { new ObjectDataClass {
List
= o2 }, nameof(ObjectDataClass.List).ToLowerInvariant(), true, true, true, false, false, false, new BindingList<object> { o2 }, typeof(BindingList<object>) };
287
yield return new object[] { new ObjectDataClass {
List
= 1 }, nameof(ObjectDataClass.List), true, true, true, false, false, false, new BindingList<int> { 1 }, typeof(BindingList<int>) };
288
yield return new object[] { new ObjectDataClass {
List
= 1 }, nameof(ObjectDataClass.List).ToLowerInvariant(), true, true, true, false, false, false, new BindingList<int> { 1 }, typeof(BindingList<int>) };
6 references to List
System.Windows.Forms.Tests (6)
System\Windows\Forms\BindingSourceTests.cs (6)
66
yield return new object[] { new ObjectDataClass { List = null }, nameof(ObjectDataClass.
List
), typeof(BindingList<object>) };
67
yield return new object[] { new ObjectDataClass { List = null }, nameof(ObjectDataClass.
List
).ToLowerInvariant(), typeof(BindingList<object>) };
282
yield return new object[] { new ObjectDataClass { List = o1 }, nameof(ObjectDataClass.
List
), true, true, true, false, false, false, new BindingList<object> { o1 }, typeof(BindingList<object>) };
285
yield return new object[] { new ObjectDataClass { List = o2 }, nameof(ObjectDataClass.
List
).ToLowerInvariant(), true, true, true, false, false, false, new BindingList<object> { o2 }, typeof(BindingList<object>) };
287
yield return new object[] { new ObjectDataClass { List = 1 }, nameof(ObjectDataClass.
List
), true, true, true, false, false, false, new BindingList<int> { 1 }, typeof(BindingList<int>) };
288
yield return new object[] { new ObjectDataClass { List = 1 }, nameof(ObjectDataClass.
List
).ToLowerInvariant(), true, true, true, false, false, false, new BindingList<int> { 1 }, typeof(BindingList<int>) };