12 instantiations of MultiListDataClass
System.Windows.Forms.Tests (12)
System\Windows\Forms\ListBindingHelperTests.cs (12)
322
yield return new object[] { new
MultiListDataClass
(), TypeDescriptor.GetProperties(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
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" } };
337
yield return new object[] { new IEnumerableWrapper(new object[] { new
MultiListDataClass
() }), inner.Take(2).ToArray(), new string[] { "Property" } };
344
yield return new object[] { new ArrayList { new
MultiListDataClass
() }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
345
yield return new object[] { new ArrayList { new
MultiListDataClass
() }, 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>() };
425
yield return new object[] { new
MultiListDataClass
(), "ParentListProperty", TypeDescriptor.GetProperties(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
6 references to MultiListDataClass
System.Windows.Forms.Tests (6)
System\Windows\Forms\ListBindingHelperTests.cs (6)
322
yield return new object[] { new MultiListDataClass(), TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
323
yield return new object[] { new MultiListDataClass { ParentListProperty = [new() { ListProperty = [new()] }] }, TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
325
var inner = new PropertyDescriptor[] { TypeDescriptor.GetProperties(typeof(
MultiListDataClass
))[0], TypeDescriptor.GetProperties(typeof(ListDataClass))[0], TypeDescriptor.GetProperties(typeof(DataClass))[0] };
327
yield return new object[] { typeof(
MultiListDataClass
), TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
428
yield return new object[] { typeof(
MultiListDataClass
), "ParentListProperty", TypeDescriptor.GetProperties(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };