53 references to UnlockBits
PresentationFramework-SystemDrawing (1)
SystemDrawingExtension.cs (1)
188bitmapFinal.UnlockBits(bmData);
System.Drawing.Common.Tests (44)
DrawingTest.cs (1)
30bitmap.UnlockBits(data);
mono\System.Drawing.Imaging\BmpCodecTests.cs (1)
354bmp.UnlockBits(data);
mono\System.Drawing.Imaging\GifCodecTests.cs (1)
159bmp.UnlockBits(data);
mono\System.Drawing.Imaging\IconCodecTests.cs (5)
208bmp.UnlockBits(data); 413bmp.UnlockBits(data); 635bmp.UnlockBits(data); 893bmp.UnlockBits(data); 1827bmp.UnlockBits(data);
mono\System.Drawing.Imaging\JpegCodecTests.cs (2)
161bmp.UnlockBits(data); 339bmp.UnlockBits(data);
mono\System.Drawing.Imaging\PngCodecTests.cs (3)
236bmp.UnlockBits(data); 344bmp.UnlockBits(data); 560bmp.UnlockBits(data);
mono\System.Drawing.Imaging\TiffCodecTests.cs (1)
231bmp.UnlockBits(data);
mono\System.Drawing\BitmapTests.cs (12)
65bmp.UnlockBits(bd); 82bmp.UnlockBits(bd); 102bmp.UnlockBits(data); 118bmp.UnlockBits(data); 277bmp.UnlockBits(bd); 429{ test.UnlockBits(data); } 540bmp.UnlockBits(bd); 701bmp.UnlockBits(data); 720bmp.UnlockBits(data); 748bmp.UnlockBits(data); 763bmp.UnlockBits(data); 805bmp.UnlockBits(data);
System\Drawing\BitmapTests.cs (16)
1078AssertExtensions.Throws<ArgumentException>(null, () => bitmap.UnlockBits(data)); 1082bitmap.UnlockBits(data); 1153AssertExtensions.Throws<ArgumentException>(null, () => bitmap.UnlockBits(data)); 1206bitmap.UnlockBits(data); 1216bitmap.UnlockBits(data); 1228bitmap.UnlockBits(data); 1235AssertExtensions.Throws<ArgumentNullException>("bitmapdata", () => bitmap.UnlockBits(null)); 1242Assert.Throws<ExternalException>(() => bitmap.UnlockBits(new BitmapData())); 1250bitmap.UnlockBits(data); 1252Assert.Throws<ExternalException>(() => bitmap.UnlockBits(new BitmapData())); 1261AssertExtensions.Throws<ArgumentException>(null, () => bitmap.UnlockBits(new BitmapData())); 1424bitmap.UnlockBits(bitmapData); 1495bitmap.UnlockBits(data); 1514bitmap.UnlockBits(data); 1541bitmap.UnlockBits(data); 1556bitmap.UnlockBits(data);
System\Drawing\GraphicsTests.cs (2)
2911bitmap.UnlockBits(data); 2925bitmap.UnlockBits(data);
System.Windows.Forms (3)
System\Windows\Forms\Controls\ImageList\ImageList.cs (2)
642tmpBitmap.UnlockBits(bmpData); 650result.UnlockBits(targetData);
System\Windows\Forms\Rendering\ControlPaint.cs (1)
290bitmap.UnlockBits(data);
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\DesignerUtils.cs (1)
692b.UnlockBits(data);
System.Windows.Forms.Tests (2)
System\Windows\Forms\DataObject_BitmapBinderTests.cs (2)
79bitmap.UnlockBits(originalData); 80deserializedBitmap.UnlockBits(deserializedData);
System.Windows.Forms.UI.IntegrationTests (2)
Infra\ScreenRecordService.cs (2)
265lockedBitmaps[currentFrameBufferIndex].image?.UnlockBits(lockedBitmaps[currentFrameBufferIndex].data); 333image?.UnlockBits(data);