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