Base:
10 references to CanConvertTo
System.Drawing.Common.Tests (10)
System\Drawing\ImageFormatConverterTests.cs (10)
48Assert.True(_imgFmtConv.CanConvertTo(null, typeof(string)), "string");
49Assert.False(_imgFmtConv.CanConvertTo(null, typeof(ImageFormat)), "ImageFormat");
50Assert.False(_imgFmtConv.CanConvertTo(null, typeof(Guid)), "Guid");
51Assert.False(_imgFmtConv.CanConvertTo(null, typeof(object)), "object");
52Assert.False(_imgFmtConv.CanConvertTo(null, typeof(int)), "int");
55Assert.True(_imgFmtConvFrmTD.CanConvertTo(null, typeof(string)), "TD string");
56Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(ImageFormat)), "TD ImageFormat");
57Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(Guid)), "TD Guid");
58Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(object)), "TD object");
59Assert.False(_imgFmtConvFrmTD.CanConvertTo(null, typeof(int)), "TD int");