12 references to ClassWithPublicDesignerSerializer
System.Windows.Forms.Design.Tests (12)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (12)
580
object serializer1 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
582
Assert.Same(serializer1, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider)));
586
object serializer2 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
589
Assert.NotSame(serializer2, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass)));
1172
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(int), null };
1173
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(object), null };
1174
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(SubClass), null };
1203
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider) };
1761
object serializer1 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
1763
Assert.Same(serializer1, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider)));
1767
object serializer2 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
1770
Assert.NotSame(serializer2, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass)));