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