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