Base:
10 references to CanConvertFrom
System.Drawing.Common.Tests (10)
System\Drawing\ImageFormatConverterTests.cs (10)
30Assert.True(_imgFmtConv.CanConvertFrom(null, typeof(string)), "string");
31Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(ImageFormat)), "ImageFormat");
32Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(Guid)), "Guid");
33Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(object)), "object");
34Assert.False(_imgFmtConv.CanConvertFrom(null, typeof(int)), "int");
37Assert.True(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(string)), "TD string");
38Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(ImageFormat)), "TD ImageFormat");
39Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(Guid)), "TD Guid");
40Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(object)), "TD object");
41Assert.False(_imgFmtConvFrmTD.CanConvertFrom(null, typeof(int)), "TD int");