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)
508
public void Flush() => Flush(Drawing2D.
FlushIntention
.Flush);
513
public void Flush(Drawing2D.
FlushIntention
intention) =>
System.Drawing.Common.Tests (8)
System\Drawing\GraphicsTests.cs (8)
534
[InlineData(
FlushIntention
.Flush)]
535
[InlineData(
FlushIntention
.Sync)]
536
[InlineData(
FlushIntention
.Flush - 1)] // Not in the range of valid values of FlushIntention.
537
[InlineData(
FlushIntention
.Sync + 1)] // Not in the range of valid values of FlushIntention.
538
public void Flush_MultipleTimes_Success(
FlushIntention
intention)
542
if (intention ==
FlushIntention
.Flush)
561
Assert.Throws<InvalidOperationException>(() => graphics.Flush(
FlushIntention
.Sync));
577
AssertExtensions.Throws<ArgumentException>(null, () => graphics.Flush(
FlushIntention
.Flush));