Base:
5 references to ToString
System.Drawing.Common.Tests (5)
System\Drawing\ImageFormatConverterTests.cs (3)
20_imageFmtStr = _imageFmt.ToString(); 65Assert.Equal(_imageFmt, (ImageFormat)_imgFmtConv.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.ToString())); 66Assert.Equal(_imageFmt, (ImageFormat)_imgFmtConvFrmTD.ConvertFrom(null, CultureInfo.InvariantCulture, ImageFormat.Bmp.ToString()));
System\Drawing\Imaging\ImageFormatTests.cs (2)
99Assert.Equal(expected, imageFormat.ToString()); 107Assert.Equal(expected, img.RawFormat.ToString());