3 writes to nativeFont
System.Drawing (3)
commonui\System\Drawing\Advanced\Font.cs (3)
69out this.nativeFont ); 313this.nativeFont = nativeFont; 603this.nativeFont = IntPtr.Zero;
9 references to nativeFont
System.Drawing (9)
commonui\System\Drawing\Advanced\Font.cs (9)
59Debug.Assert(this.nativeFont == IntPtr.Zero, "nativeFont already initialized, this will generate a handle leak."); 304Debug.Assert(this.nativeFont == IntPtr.Zero, "GDI+ native font already initialized, this will generate a handle leak" ); 384if( this.nativeFont == IntPtr.Zero ) 390status = SafeNativeMethods.Gdip.GdipGetFontSize(new HandleRef(this, this.nativeFont), out this.fontSize); 513int status = SafeNativeMethods.Gdip.GdipCloneFont(new HandleRef(this, nativeFont), out cloneFont); 532Debug.Assert( this.nativeFont != IntPtr.Zero, "this.nativeFont == IntPtr.Zero." ); 533return this.nativeFont; 585if (this.nativeFont != IntPtr.Zero) { 590SafeNativeMethods.Gdip.GdipDeleteFont(new HandleRef(this, this.nativeFont));