2 writes to _hInstance
System.Windows.Forms.Design (2)
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (2)
28_hInstance = Marshal.AllocHGlobal(size); 50_hInstance = IntPtr.Zero;
5 references to _hInstance
System.Windows.Forms.Design (5)
System\Drawing\Design\ColorEditor.CustomColorDialog.cs (5)
29Marshal.Copy(buffer, 0, _hInstance, size); 36Debug.Assert(_hInstance != IntPtr.Zero, "Dialog has been disposed"); 37return _hInstance; 47if (_hInstance != IntPtr.Zero) 49Marshal.FreeHGlobal(_hInstance);