10 references to Restore
System.Drawing.Common.Tests (7)
mono\System.Drawing\GraphicsTests.cs (5)
310g.Restore(state_modified); 324g.Restore(state_default); 1121g.Restore(gs2); 1125g.Restore(gs1); 1135Assert.Throws<NullReferenceException>(() => g.Restore(null));
System\Drawing\Graphics_GetContextTests.Core.cs (1)
126graphics.Restore(state);
System\Drawing\Graphics_GetContextTests.cs (1)
129graphics.Restore(state);
System.Windows.Forms (2)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
3658g.Restore(graphicsState);
System\Windows\Forms\Rendering\PaintEventArgs.cs (1)
111graphics.Restore(_savedGraphicsState);
System.Windows.Forms.Primitives (1)
System\Windows\Forms\GraphicsStateScope.cs (1)
23public void Dispose() => _graphics.Restore(_state);