5 writes to DefaultProperty
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\ArrayEditorTests.cs (5)
107
yield return new object[] { typeof(int), new ClassWithStringDefaultProperty {
DefaultProperty
= "CustomName" }, "ClassWithStringDefaultProperty" };
110
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= "CustomName" }, "CustomName" };
111
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= string.Empty }, "ClassWithStringDefaultProperty" };
112
yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty {
DefaultProperty
= null }, "ClassWithStringDefaultProperty" };
115
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\ArrayEditorTests.cs (1)
296
[DefaultProperty(nameof(
DefaultProperty
))]