12 instantiations of MultiListDataClass
System.Windows.Forms.Tests (12)
System\Windows\Forms\ListBindingHelperTests.cs (12)
324
yield return new object[] { new
MultiListDataClass
(), TypeDescriptor.GetProperties(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
325
yield return new object[] { new
MultiListDataClass
{ ParentListProperty = [new() { ListProperty = [new()] }] }, TypeDescriptor.GetProperties(typeof(MultiListDataClass)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
328
yield return new object[] { new
MultiListDataClass
{ ParentListProperty = [new() { ListProperty = [new()] }] }, inner.Take(2).ToArray(), new string[] { "Property" } };
339
yield return new object[] { new IEnumerableWrapper(new object[] { new
MultiListDataClass
() }), inner.Take(2).ToArray(), new string[] { "Property" } };
346
yield return new object[] { new ArrayList { new
MultiListDataClass
() }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
347
yield return new object[] { new ArrayList { new
MultiListDataClass
() }, inner.Take(2).ToArray(), new string[] { "Property" } };
348
yield return new object[] { new ArrayList { new
MultiListDataClass
{ ParentListProperty = [] } }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
349
yield return new object[] { new ArrayList { new
MultiListDataClass
{ ParentListProperty = [] } }, inner.Take(2).ToArray(), new string[] { "Property" } };
350
yield return new object[] { new ArrayList { new
MultiListDataClass
{ ParentListProperty = [new() { ListProperty = [new()] }] } }, inner.Take(0).ToArray(), new string[] { "ParentListProperty" } };
351
yield return new object[] { new ArrayList { new
MultiListDataClass
{ ParentListProperty = [new() { ListProperty = [new()] }] } }, inner.Take(2).ToArray(), new string[] { "Property" } };
352
yield return new object[] { new ArrayList { new
MultiListDataClass
{ ParentListProperty = [new() { ListProperty = [new()] }] } }, inner.Take(3).ToArray(), Array.Empty<string>() };
427
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)
324
yield return new object[] { new MultiListDataClass(), TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
325
yield return new object[] { new MultiListDataClass { ParentListProperty = [new() { ListProperty = [new()] }] }, TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().Take(0).ToArray(), new string[] { "ParentListProperty" } };
327
var inner = new PropertyDescriptor[] { TypeDescriptor.GetProperties(typeof(
MultiListDataClass
))[0], TypeDescriptor.GetProperties(typeof(ListDataClass))[0], TypeDescriptor.GetProperties(typeof(DataClass))[0] };
329
yield return new object[] { typeof(
MultiListDataClass
), TypeDescriptor.GetProperties(typeof(
MultiListDataClass
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "ListProperty" } };
430
yield return new object[] { typeof(
MultiListDataClass
), "ParentListProperty", TypeDescriptor.GetProperties(typeof(ListDataClass)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };