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