5 writes to DefaultProperty
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\CollectionEditorTests.cs (5)
789
yield return new object[] { typeof(int), new ClassWithStringDefaultProperty {
DefaultProperty
= "CustomName" }, "ClassWithStringDefaultProperty" };
792
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= "CustomName" }, "CustomName" };
793
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= string.Empty }, "ClassWithStringDefaultProperty" };
794
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= null }, "ClassWithStringDefaultProperty" };
797
yield return new object[] { typeof(List<ClassWithStringDefaultProperty>), new ClassWithStringDefaultProperty {
DefaultProperty
= "CustomName" }, "ClassWithStringDefaultProperty" };
1 reference to DefaultProperty
System.Windows.Forms.Design.Tests (1)
System\ComponentModel\Design\CollectionEditorTests.cs (1)
1122
[DefaultProperty(nameof(
DefaultProperty
))]