12 references to ClassWithPublicDesignerSerializer
System.Windows.Forms.Design.Tests (12)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (12)
581
object serializer1 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
583
Assert.Same(serializer1, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider)));
587
object serializer2 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
590
Assert.NotSame(serializer2, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass)));
1173
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(int), null };
1174
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(object), null };
1175
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(SubClass), null };
1204
yield return new object[] { typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider) };
1762
object serializer1 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
1764
Assert.Same(serializer1, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(PublicDesignerSerializationProvider)));
1768
object serializer2 = manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass));
1771
Assert.NotSame(serializer2, manager.GetSerializer(typeof(
ClassWithPublicDesignerSerializer
), typeof(BaseClass)));