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