67 references to new
System.Drawing.Common.Tests (67)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (67)
38using PathGradientBrush bf = new(_defaultFloatPoints); 70AssertExtensions.Throws<ArgumentNullException>("points", () => new PathGradientBrush((PointF[])null)); 80Assert.Throws<ArgumentException>(() => new PathGradientBrush(new PointF[pointsLength])); 131PathGradientBrush brush = new(_defaultFloatPoints); 140using PathGradientBrush brush = new(_defaultFloatPoints); 151PathGradientBrush brush = new(_defaultFloatPoints); 164using PathGradientBrush brush = new(_defaultFloatPoints); 177using PathGradientBrush brush = new(_defaultFloatPoints); 189PathGradientBrush brush = new(_defaultFloatPoints); 212using PathGradientBrush brush = new(_defaultFloatPoints); 237PathGradientBrush brush = new(_defaultFloatPoints); 289PathGradientBrush brush = new(_defaultFloatPoints); 308using PathGradientBrush brush = new(_defaultFloatPoints); 317using PathGradientBrush brush = new(_defaultFloatPoints); 324using PathGradientBrush brush = new(_defaultFloatPoints); 333using PathGradientBrush brush = new(_defaultFloatPoints); 346using PathGradientBrush brush = new(_defaultFloatPoints); 378using PathGradientBrush brush = new(_defaultFloatPoints); 415PathGradientBrush brush = new(_defaultFloatPoints); 427using PathGradientBrush brush = new(_defaultFloatPoints); 437using PathGradientBrush brush = new(_defaultFloatPoints); 449using PathGradientBrush brush = new(_defaultFloatPoints); 475using PathGradientBrush brush = new(_defaultFloatPoints); 499PathGradientBrush brush = new(_defaultFloatPoints); 511using PathGradientBrush brush = new(_defaultFloatPoints); 521using PathGradientBrush brush = new(_defaultFloatPoints); 532using PathGradientBrush brush = new(_defaultFloatPoints); 548using PathGradientBrush brush = new(_defaultFloatPoints); 565PathGradientBrush brush = new(_defaultFloatPoints); 574using PathGradientBrush brush = new(_defaultFloatPoints); 581using PathGradientBrush brush = new(_defaultFloatPoints); 592using PathGradientBrush brush = new(_defaultFloatPoints); 600using PathGradientBrush brush = new(_defaultFloatPoints); 607using PathGradientBrush brush = new(_defaultFloatPoints); 615using PathGradientBrush brush = new(_defaultFloatPoints); 623using PathGradientBrush brush = new(_defaultFloatPoints); 631using PathGradientBrush brush = new(_defaultFloatPoints); 642using PathGradientBrush brush = new(_defaultFloatPoints); 651PathGradientBrush brush = new(_defaultFloatPoints); 660using PathGradientBrush brush = new(_defaultFloatPoints); 667using PathGradientBrush brush = new(_defaultFloatPoints); 675using PathGradientBrush brush = new(_defaultFloatPoints); 688PathGradientBrush brush = new(_defaultFloatPoints); 697using PathGradientBrush brush = new(_defaultFloatPoints); 710using PathGradientBrush brush = new(_defaultFloatPoints); 722PathGradientBrush brush = new(_defaultFloatPoints); 731using PathGradientBrush brush = new(_defaultFloatPoints); 739using PathGradientBrush brush = new(_defaultFloatPoints); 753using PathGradientBrush brush = new(_defaultFloatPoints); 761using PathGradientBrush brush = new(_defaultFloatPoints); 770using PathGradientBrush brush = new(_defaultFloatPoints); 782using PathGradientBrush brush = new(_defaultFloatPoints); 792PathGradientBrush brush = new(_defaultFloatPoints); 801using PathGradientBrush brush = new(_defaultFloatPoints); 808using PathGradientBrush brush = new(_defaultFloatPoints); 832using PathGradientBrush brush = new(_defaultFloatPoints); 842PathGradientBrush brush = new(_defaultFloatPoints); 851using PathGradientBrush brush = new(_defaultFloatPoints); 858using PathGradientBrush brush = new(_defaultFloatPoints); 873using PathGradientBrush brush = new(_defaultFloatPoints); 883PathGradientBrush brush = new(_defaultFloatPoints); 892using PathGradientBrush brush = new(_defaultFloatPoints); 901using PathGradientBrush brush = new(_defaultFloatPoints); 909PathGradientBrush brush = new(_defaultFloatPoints); 919using PathGradientBrush brush = new(_defaultFloatPoints); 927PathGradientBrush brush = new(_defaultFloatPoints); 936using PathGradientBrush brush = new(_defaultFloatPoints);