1 write to contextStack
System.Windows.Forms (1)
misc\GDI\DeviceContext.cs (1)
571contextStack = new Stack();
7 references to contextStack
System.Windows.Forms (7)
misc\GDI\DeviceContext.cs (5)
521Debug.Assert(contextStack != null, "Someone is calling RestoreHdc() before SaveHdc()"); 523if (contextStack != null) { 524GraphicsState g = (GraphicsState) contextStack.Pop(); 570if (contextStack == null) { 585contextStack.Push(g);
misc\GDI\DeviceContext2.cs (2)
345if (contextStack == null) { 349foreach (GraphicsState g in contextStack) {