10 references to FlushIntention
System.Drawing (1)
System.Drawing.cs (1)
31
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.
FlushIntention
))]
System.Drawing.Common (1)
Special\NotSupported.cs (1)
614
public void Flush(System.Drawing.Drawing2D.
FlushIntention
intention) { throw new System.PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); }
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.
537
public void Flush_MultipleTimes_Success(
FlushIntention
intention)
541
if (intention ==
FlushIntention
.Flush)
560
Assert.Throws<InvalidOperationException>(() => graphics.Flush(
FlushIntention
.Sync));
576
AssertExtensions.Throws<ArgumentException>(null, () => graphics.Flush(
FlushIntention
.Flush));