7 references to DrawCachedBitmap
System.Drawing.Common.Tests (7)
System\Drawing\GraphicsTests.cs (7)
2868Assert.Throws<ArgumentNullException>(() => graphics.DrawCachedBitmap(null!, 0, 0));
2879Assert.Throws<ArgumentException>(() => graphics.DrawCachedBitmap(cachedBitmap, 0, 0));
2889graphics.DrawCachedBitmap(cachedBitmap, 0, 0);
2900graphics.DrawCachedBitmap(cachedBitmap, 0, 0);
2911Assert.Throws<InvalidOperationException>(() => graphics.DrawCachedBitmap(cachedBitmap, 0, 0));
2932graphics2.DrawCachedBitmap(cachedBitmap, 0, 0);
2936Assert.Throws<InvalidOperationException>(() => graphics2.DrawCachedBitmap(cachedBitmap, 0, 0));