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