5 instantiations of ClassWithStringDefaultProperty
System.Windows.Forms.Design.Tests (5)
System\ComponentModel\Design\CollectionEditorTests.cs (5)
789yield return new object[] { typeof(int), new ClassWithStringDefaultProperty { DefaultProperty = "CustomName" }, "ClassWithStringDefaultProperty" }; 792yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = "CustomName" }, "CustomName" }; 793yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = string.Empty }, "ClassWithStringDefaultProperty" }; 794yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = null }, "ClassWithStringDefaultProperty" }; 797yield return new object[] { typeof(List<ClassWithStringDefaultProperty>), new ClassWithStringDefaultProperty { DefaultProperty = "CustomName" }, "ClassWithStringDefaultProperty" };
7 references to ClassWithStringDefaultProperty
System.Windows.Forms.Design.Tests (7)
System\ComponentModel\Design\CollectionEditorTests.cs (7)
791yield return new object[] { typeof(ClassWithStringDefaultProperty), null, string.Empty }; 792yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = "CustomName" }, "CustomName" }; 793yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = string.Empty }, "ClassWithStringDefaultProperty" }; 794yield return new object[] { typeof(ClassWithStringDefaultProperty), new ClassWithStringDefaultProperty { DefaultProperty = null }, "ClassWithStringDefaultProperty" }; 797yield return new object[] { typeof(List<ClassWithStringDefaultProperty>), new ClassWithStringDefaultProperty { DefaultProperty = "CustomName" }, "ClassWithStringDefaultProperty" }; 811SubCollectionEditor editor = new(typeof(ClassWithStringDefaultProperty)); 1127public override string ToString() => nameof(ClassWithStringDefaultProperty);