11 references to PublicDesignerSerializationProvider
System.Windows.Forms.Design.Tests (11)
System\ComponentModel\Design\Serialization\DesignerSerializationManagerTests.cs (11)
581Assert.IsType<PublicDesignerSerializationProvider>(serializer1); 582Assert.Same(serializer1, manager.GetSerializer(typeof(ClassWithPublicDesignerSerializer), typeof(PublicDesignerSerializationProvider))); 587Assert.IsType<PublicDesignerSerializationProvider>(serializer2); 1156yield return new object[] { objectType, typeof(PublicDesignerSerializationProvider), null }; 1161yield return new object[] { objectType, typeof(ClassWithPublicDesignerSerializationProvider), PublicDesignerSerializationProvider.Serializer }; 1203yield return new object[] { typeof(ClassWithPublicDesignerSerializer), typeof(PublicDesignerSerializationProvider) }; 1762Assert.IsType<PublicDesignerSerializationProvider>(serializer1); 1763Assert.Same(serializer1, manager.GetSerializer(typeof(ClassWithPublicDesignerSerializer), typeof(PublicDesignerSerializationProvider))); 1768Assert.IsType<PublicDesignerSerializationProvider>(serializer2); 2067[DesignerSerializer(typeof(PublicDesignerSerializationProvider), typeof(BaseClass))] 2097[DefaultSerializationProvider(typeof(PublicDesignerSerializationProvider))]