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