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