6 instantiations of ITypedListParent
System.Windows.Forms.Tests (6)
System\Windows\Forms\ListBindingHelperTests.cs (6)
392
ITypedListParent typedListParent =
new
() { ListProperty = new EnumerableITypedListImplementor() };
393
yield return new object[] { new
ITypedListParent
(), TypeDescriptor.GetProperties(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
395
yield return new object[] { new ITypedListParent[] {
new
() }, TypeDescriptor.GetProperties(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
397
yield return new object[] { new List<ITypedListParent> {
new
() }, TypeDescriptor.GetProperties(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
399
yield return new object[] { new ArrayList { new
ITypedListParent
() }, TypeDescriptor.GetProperties(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
401
yield return new object[] { new IEnumerableWrapper(new object[] { new
ITypedListParent
() }), TypeDescriptor.GetProperties(typeof(ITypedListParent)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
15 references to ITypedListParent
System.Windows.Forms.Tests (15)
System\Windows\Forms\ListBindingHelperTests.cs (15)
392
ITypedListParent
typedListParent = new() { ListProperty = new EnumerableITypedListImplementor() };
393
yield return new object[] { new ITypedListParent(), TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
394
yield return new object[] { typedListParent, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
395
yield return new object[] { new
ITypedListParent
[] { new() }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
396
yield return new object[] { new
ITypedListParent
[] { typedListParent }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
397
yield return new object[] { new List<
ITypedListParent
> { new() }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
398
yield return new object[] { new List<
ITypedListParent
> { typedListParent }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
399
yield return new object[] { new ArrayList { new ITypedListParent() }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
400
yield return new object[] { new ArrayList { typedListParent }, TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };
401
yield return new object[] { new IEnumerableWrapper(new object[] { new ITypedListParent() }), TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "OtherProperty" } };
402
yield return new object[] { new IEnumerableWrapper(new object[] { typedListParent }), TypeDescriptor.GetProperties(typeof(
ITypedListParent
)).Cast<PropertyDescriptor>().ToArray(), new string[] { "Property" } };