2 writes to Height
System.Drawing.Common.Tests (2)
System\Drawing\BitmapTests.cs (1)
1203data.Height = invalidParameter;
System\Drawing\Imaging\BitmapDataTests.cs (1)
28Height = value
44 references to Height
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
185bmData.Stride * (bmData.Height - 1) + (bmData.Width * 4),
System.Drawing.Common.Tests (35)
DrawingTest.cs (1)
19new ReadOnlySpan<byte>((void*)data.Scan0, data.Stride * data.Height),
mono\System.Drawing.Imaging\BmpCodecTests.cs (2)
245Assert.Equal(bmp.Height, data.Height); 249Assert.Equal(183, data.Height);
mono\System.Drawing.Imaging\GifCodecTests.cs (2)
112Assert.Equal(bmp.Height, data.Height); 116Assert.Equal(100, data.Height);
mono\System.Drawing.Imaging\IconCodecTests.cs (10)
135Assert.Equal(bmp.Height, data.Height); 138Assert.Equal(16, data.Height); 331Assert.Equal(bmp.Height, data.Height); 334Assert.Equal(32, data.Height); 549Assert.Equal(bmp.Height, data.Height); 552Assert.Equal(48, data.Height); 753Assert.Equal(bmp.Height, data.Height); 756Assert.Equal(64, data.Height); 1528Assert.Equal(bmp.Height, data.Height); 1531Assert.Equal(96, data.Height);
mono\System.Drawing.Imaging\JpegCodecTests.cs (4)
115Assert.Equal(bmp.Height, data.Height); 118Assert.Equal(100, data.Height); 230Assert.Equal(bmp.Height, data.Height); 234Assert.Equal(183, data.Height);
mono\System.Drawing.Imaging\PngCodecTests.cs (5)
148Assert.Equal(bmp.Height, data.Height); 152Assert.Equal(384, data.Height); 300Assert.Equal(bmp.Height, data.Height); 304Assert.Equal(100, data.Height); 473Assert.Equal(bmp.Height, data.Height);
mono\System.Drawing.Imaging\TiffCodecTests.cs (2)
122Assert.Equal(bmp.Height, data.Height); 126Assert.Equal(183, data.Height);
mono\System.Drawing\BitmapTests.cs (4)
94Assert.Equal(4, data.Height); 414pixel_data = new byte[data.Height * scan_size]; 416for (int y = 0; y < data.Height; y++) 511for (int y = 0; y < bd.Height; y++)
System\Drawing\BitmapTests.cs (1)
1069Assert.Equal(rectangle.Height, data.Height);
System\Drawing\GraphicsTests.cs (2)
2906ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.Height); 2920ReadOnlySpan<byte> bytes = new((byte*)data.Scan0, data.Stride * data.Height);
System\Drawing\Imaging\BitmapDataTests.cs (2)
12Assert.Equal(0, bd.Height); 30Assert.Equal(value, bd.Height);
System.Windows.Forms (4)
System\Windows\Forms\Controls\ImageList\ImageList.cs (4)
554Debug.Assert(targetData.Height == sourceData.Height); 560for (int i = 0; i < targetData.Height; i++) 578for (int i = 0; i < bmpData.Height; i++)
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
675int pixels = data.Height * data.Width;
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObject_BitmapBinderTests.cs (2)
73ReadOnlySpan<byte> originalBytes = new((byte*)originalData.Scan0, originalData.Stride * originalData.Height); 74ReadOnlySpan<byte> deserializedBytes = new((byte*)deserializedData.Scan0, deserializedData.Stride * deserializedData.Height);
System.Windows.Forms.UI.IntegrationTests (1)
Infra\ScreenRecordService.cs (1)
252int totalLockedPixels = stridePixels * lockedBitmaps[0].data.Height;