9 references to CopyData
System.Drawing.Common (3)
System\Drawing\Drawing2D\GraphicsPathIterator.cs (3)
150/// <inheritdoc cref="CopyData(ref PointF[], ref byte[], int, int)"/> 154/// <inheritdoc cref="CopyData(ref PointF[], ref byte[], int, int)"/> 201/// <inheritdoc cref="CopyData(ref PointF[], ref byte[], int, int)"/>
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\GraphicsPathIteratorTests.cs (6)
302AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref points, ref types, 0, points.Length)); 311Assert.Throws<ArgumentNullException>(() => gpi.CopyData(ref points, ref types, 0, 1)); 324AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref resultPoints, ref resultTypes, startIndex, endIndex)); 343AssertExtensions.Throws<ArgumentException>(null, () => gpi.CopyData(ref resultPoints, ref resultTypes, startIndex, endIndex)); 357Assert.Equal(1, gpi.CopyData(ref actualPoints, ref actualTypes, 0, 0)); 373Assert.Equal(3, gpi.CopyData(ref actualPoints, ref actualTypes, 0, 2));