2 writes to oldBitmap
System.Drawing (2)
commonui\System\Drawing\BufferedGraphicsContext.cs (2)
400oldBitmap = SafeNativeMethods.SelectObject(new HandleRef(this, compatDC), new HandleRef(this, dib)); 531oldBitmap = IntPtr.Zero;
3 references to oldBitmap
System.Drawing (3)
commonui\System\Drawing\BufferedGraphicsContext.cs (3)
527if (oldBitmap != IntPtr.Zero && compatDC != IntPtr.Zero) 530SafeNativeMethods.SelectObject(new HandleRef(this, compatDC), new HandleRef(this, oldBitmap)); 549Debug.Assert(oldBitmap == IntPtr.Zero);