2 writes to savedGraphicsState
System.Windows.Forms (2)
winforms\Managed\System\WinForms\PaintEvent.cs (2)
136savedGraphicsState = graphics.Save(); // See ResetGraphics() below 185savedGraphicsState = null;
3 references to savedGraphicsState
System.Windows.Forms (3)
winforms\Managed\System\WinForms\PaintEvent.cs (3)
182Debug.Assert(dc == IntPtr.Zero || savedGraphicsState != null, "Called ResetGraphics more than once?"); 183if (savedGraphicsState != null) { 184graphics.Restore(savedGraphicsState);