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