11 references to FlushIntention
System.Drawing (1)
System.Drawing.cs (1)
31[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.FlushIntention))]
System.Drawing.Common (2)
System\Drawing\Graphics.cs (2)
509public void Flush() => Flush(Drawing2D.FlushIntention.Flush); 514public void Flush(Drawing2D.FlushIntention intention) =>
System.Drawing.Common.Tests (8)
System\Drawing\GraphicsTests.cs (8)
533[InlineData(FlushIntention.Flush)] 534[InlineData(FlushIntention.Sync)] 535[InlineData(FlushIntention.Flush - 1)] // Not in the range of valid values of FlushIntention. 536[InlineData(FlushIntention.Sync + 1)] // Not in the range of valid values of FlushIntention. 537public void Flush_MultipleTimes_Success(FlushIntention intention) 541if (intention == FlushIntention.Flush) 560Assert.Throws<InvalidOperationException>(() => graphics.Flush(FlushIntention.Sync)); 576AssertExtensions.Throws<ArgumentException>(null, () => graphics.Flush(FlushIntention.Flush));