2 writes to Width
System.Drawing.Common.Tests (2)
System\Drawing\BitmapTests.cs (1)
1204data.Width = invalidParameter;
System\Drawing\Imaging\BitmapDataTests.cs (1)
41Width = value
25 references to Width
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
185bmData.Stride * (bmData.Height - 1) + (bmData.Width * 4),
System.Drawing.Common.Tests (19)
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
246Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
113Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing.Imaging\IconCodecTests.cs (5)
136Assert.Equal(bmp.Width, data.Width); 332Assert.Equal(bmp.Width, data.Width); 550Assert.Equal(bmp.Width, data.Width); 754Assert.Equal(bmp.Width, data.Width); 1529Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
116Assert.Equal(bmp.Width, data.Width); 231Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
149Assert.Equal(bmp.Width, data.Width); 301Assert.Equal(bmp.Width, data.Width); 474Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
123Assert.Equal(bmp.Width, data.Width);
mono\System.Drawing\BitmapTests.cs (3)
95Assert.Equal(4, data.Width); 413int scan_size = (data.Width + pixels_per_byte - 1) / pixels_per_byte; 513for (int x = 0; x < bd.Width; x++)
System\Drawing\BitmapTests.cs (1)
1068Assert.Equal(rectangle.Width, data.Width);
System\Drawing\Imaging\BitmapDataTests.cs (2)
13Assert.Equal(0, bd.Width); 43Assert.Equal(value, bd.Width);
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
553Debug.Assert(targetData.Width == sourceData.Width); 555Debug.Assert(targetData.Stride == targetData.Width * 4); 581for (int j = 3; j < bmpData.Width * 4; j += 4) // *4 is safe since we know PixelFormat is ARGB
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
675int pixels = data.Height * data.Width;