3 writes to s_bitDepth
System.Drawing.Common (3)
System\Drawing\Icon.cs (3)
434
s_bitDepth
= PInvokeCore.GetDeviceCaps(hdc, GET_DEVICE_CAPS_INDEX.BITSPIXEL);
435
s_bitDepth
*= PInvokeCore.GetDeviceCaps(hdc, GET_DEVICE_CAPS_INDEX.PLANES);
442
s_bitDepth
= 4;
4 references to s_bitDepth
System.Drawing.Common (4)
System\Drawing\Icon.cs (4)
431
if (
s_bitDepth
== 0)
440
if (
s_bitDepth
== 8)
497
&& ((iconBitDepth <=
s_bitDepth
&& iconBitDepth > _bestBitDepth)
498
|| (_bestBitDepth >
s_bitDepth
&& iconBitDepth < _bestBitDepth))))