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