5 writes to SurroundColors
System.Drawing.Common.Tests (5)
8 references to SurroundColors
System.Drawing.Common.Tests (8)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (8)
166Assert.Equal(expectedColors, brush.SurroundColors);
168Assert.Equal(expectedSameColors, brush.SurroundColors);
178brush.SurroundColors.ToList().AddRange(colors);
179Assert.Equal(defaultColors, brush.SurroundColors);
180brush.SurroundColors[0] = Color.FromArgb(255, 0, 0, 255);
181Assert.NotEqual(Color.FromArgb(255, 0, 0, 255), brush.SurroundColors[0]);
182Assert.Equal(defaultColors, brush.SurroundColors);
947Assert.Equal(new Color[] { Color.FromArgb(255, 255, 255, 255) }, brush.SurroundColors);