7 writes to ParentListProperty
System.Windows.Forms.Tests (7)
System\Windows\Forms\ListBindingHelperTests.cs (7)
323
yield return new object[] { new MultiListDataClass {
ParentListProperty
= [new() { ListProperty = [new()] }] }, TypeDescriptor.GetProperties(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
326
yield return new object[] { new MultiListDataClass {
ParentListProperty
= [new() { ListProperty = [new()] }] }, inner.Take(2).ToArray(), new string[] { "Property" } };
346
yield return new object[] { new ArrayList { new MultiListDataClass {
ParentListProperty
= [] } }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
347
yield return new object[] { new ArrayList { new MultiListDataClass {
ParentListProperty
= [] } }, inner.Take(2).ToArray(), new string[] { "Property" } };
348
yield return new object[] { new ArrayList { new MultiListDataClass {
ParentListProperty
= [new() { ListProperty = [new()] }] } }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
349
yield return new object[] { new ArrayList { new MultiListDataClass {
ParentListProperty
= [new() { ListProperty = [new()] }] } }, inner.Take(2).ToArray(), new string[] { "Property" } };
350
yield return new object[] { new ArrayList { new MultiListDataClass {
ParentListProperty
= [new() { ListProperty = [new()] }] } }, inner.Take(3).ToArray(), Array.Empty<string>() };