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