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