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