6 writes to CompoundArray
System.Drawing.Common.Tests (6)
System\Drawing\PenTests.cs (5)
312pen.CompoundArray = compoundArray; 325Assert.Throws<ArgumentNullException>(() => pen.CompoundArray = null); 333AssertExtensions.Throws<ArgumentException>(null, () => pen.CompoundArray = []); 349AssertExtensions.Throws<ArgumentException>(null, () => pen.CompoundArray = compoundArray); 360AssertExtensions.Throws<ArgumentException>(null, () => pen.CompoundArray = [1]);
System\Drawing\SystemPensTest.cs (1)
64AssertExtensions.Throws<ArgumentException>(null, () => pen.CompoundArray = null);
4 references to CompoundArray
System.Drawing.Common.Tests (4)
System\Drawing\PenTests.cs (4)
313Assert.Equal(compoundArray, pen.CompoundArray); 317Assert.NotEqual(compoundArray, pen.CompoundArray); 359AssertExtensions.Throws<ArgumentException>(null, () => pen.CompoundArray); 1206Assert.Empty(pen.CompoundArray);