17 references to CustomComponent
System.Windows.Forms.Design.Tests (17)
System\ComponentModel\Design\ComponentDesignerTests.cs (17)
71
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2306
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2326
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2347
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2359
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2433
EventDescriptor descriptor = TypeDescriptor.GetEvents(typeof(
CustomComponent
))[0];
2440
Assert.Equal(typeof(
CustomComponent
), result.ComponentType);
2484
yield return new object[] { TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0], new(), new() };
2512
yield return new object[] { componentChangeService, TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0], new(), new() };
2542
yield return new object[] { TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0] };
2570
yield return new object[] { componentChangeService, TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0] };
2736
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2757
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2779
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2792
PropertyDescriptor descriptor = TypeDescriptor.GetProperties(typeof(
CustomComponent
))[0];
2872
EventDescriptor descriptor = TypeDescriptor.GetEvents(typeof(
CustomComponent
))[0];
2880
Assert.Equal(typeof(
CustomComponent
), result.ComponentType);