2 instantiations of ClassWithNonStringDefaultProperty
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ArrayEditorTests.cs (2)
113yield return new object[] { typeof(ClassWithNonStringDefaultProperty), new ClassWithNonStringDefaultProperty { DefaultProperty = 1 }, "ClassWithNonStringDefaultProperty" }; 130TargetInvocationException ex = Assert.Throws<TargetInvocationException>(() => editor.GetDisplayText(new ClassWithNonStringDefaultProperty()));
2 references to ClassWithNonStringDefaultProperty
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\ArrayEditorTests.cs (2)
113yield return new object[] { typeof(ClassWithNonStringDefaultProperty), new ClassWithNonStringDefaultProperty { DefaultProperty = 1 }, "ClassWithNonStringDefaultProperty" }; 309public override string ToString() => nameof(ClassWithNonStringDefaultProperty);