3 writes to PixelFormat
System.Drawing.Common.Tests (3)
System\Drawing\BitmapTests.cs (1)
1226data.PixelFormat = format;
System\Drawing\Imaging\BitmapDataTests.cs (2)
112PixelFormat = pixelFormat 121Assert.ThrowsAny<ArgumentException>(() => bd.PixelFormat = (PixelFormat)(-1));
21 references to PixelFormat
System.Drawing.Common.Tests (17)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
247Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
114Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing.Imaging\IconCodecTests.cs (5)
137Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 333Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 551Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 755Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 1530Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
117Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 232Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
150Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 302Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat); 475Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
124Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
mono\System.Drawing\BitmapTests.cs (1)
97Assert.Equal(PixelFormat.Format24bppRgb, data.PixelFormat);
System\Drawing\BitmapTests.cs (1)
1067Assert.Equal(pixelFormat, data.PixelFormat);
System\Drawing\Imaging\BitmapDataTests.cs (2)
17Assert.Equal((PixelFormat)0, bd.PixelFormat); 114Assert.Equal(pixelFormat, bd.PixelFormat);
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
551Debug.Assert(Image.GetPixelFormatSize(sourceData.PixelFormat) == 32); 552Debug.Assert(Image.GetPixelFormatSize(sourceData.PixelFormat) == Image.GetPixelFormatSize(targetData.PixelFormat)); 573if (bmpData.PixelFormat is not PixelFormat.Format32bppArgb and not PixelFormat.Format32bppRgb)