1 write to OldColor
System.Drawing.Common.Tests (1)
System\Drawing\Imaging\ColorMapTests.cs (1)
31OldColor = Color.AliceBlue
10 references to OldColor
System.Drawing.Common.Tests (10)
System\Drawing\Imaging\ColorMapTests.cs (2)
12Assert.Equal(new Color(), cm.OldColor); 33Assert.Equal(Color.AliceBlue, cm.OldColor);
System\Drawing\Imaging\ImageAttributesTests.cs (8)
1175bitmap.SetPixel(0, 0, _yellowToRedColorMap[0].OldColor); 1188bitmap.SetPixel(0, 0, _yellowToRedColorMap[0].OldColor); 1201bitmap.SetPixel(0, 0, _yellowToRedColorMap[0].OldColor); 1203Assert.Equal(_yellowToRedColorMap[0].OldColor, bitmap.GetPixel(0, 0)); 1253bitmap.SetPixel(0, 0, _yellowToRedColorMap[0].OldColor); 1255Assert.Equal(_yellowToRedColorMap[0].OldColor, bitmap.GetPixel(0, 0)); 1267bitmap.SetPixel(0, 0, _yellowToRedColorMap[0].OldColor); 1269Assert.Equal(_yellowToRedColorMap[0].OldColor, bitmap.GetPixel(0, 0));