9 references to GetPixelFormatSize
System.Drawing.Common.Tests (4)
mono\System.Drawing\BitmapTests.cs (2)
152
int size = Image.
GetPixelFormatSize
(format) / 8 * 2;
508
int bbps = Image.
GetPixelFormatSize
(fmt);
System\Drawing\BitmapTests.cs (1)
1286
int size = Image.
GetPixelFormatSize
(format) / 8 * 2;
System\Drawing\ImageTests.cs (1)
584
Assert.Equal(expectedSize, Image.
GetPixelFormatSize
(format));
System.Windows.Forms (5)
System\Windows\Forms\Controls\ImageList\ImageList.cs (3)
551
Debug.Assert(Image.
GetPixelFormatSize
(sourceData.PixelFormat) == 32);
552
Debug.Assert(Image.
GetPixelFormatSize
(sourceData.PixelFormat) == Image.
GetPixelFormatSize
(targetData.PixelFormat));
System\Windows\Forms\Controls\ToolStrips\ToolStripHighContrastRenderer.cs (2)
112
if (Image.
GetPixelFormatSize
(image.PixelFormat) > 16)
392
if (Image.
GetPixelFormatSize
(image.PixelFormat) > 16)