3 writes to nativeHandle
System.Drawing (3)
misc\GDI\WindowsRegion.cs (3)
79wr.nativeHandle = hRegion; 135this.nativeHandle = IntSafeNativeMethods.CreateRectRgn(rect.X, rect.Y, rect.X+rect.Width, rect.Y+rect.Height); 155this.nativeHandle = IntPtr.Zero;
6 references to nativeHandle
System.Drawing (6)
misc\GDI\WindowsRegion.cs (6)
134Debug.Assert(nativeHandle == IntPtr.Zero, "nativeHandle should be null, we're leaking handle"); 148if (this.nativeHandle != IntPtr.Zero) { 152IntUnsafeNativeMethods.DeleteObject(new HandleRef(this, this.nativeHandle)); 174return this.nativeHandle; 182return this.nativeHandle == IntPtr.Zero; 195IntUnsafeNativeMethods.GetRgnBox(new HandleRef(this, this.nativeHandle), ref rect);