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