1 write to activeDeviceContexts
System.Windows.Forms (1)
misc\GDI\DeviceContexts.cs (1)
49activeDeviceContexts = new ClientUtils.WeakRefCollection();
8 references to activeDeviceContexts
System.Windows.Forms (8)
misc\GDI\DeviceContexts.cs (8)
48if (activeDeviceContexts == null) { 50activeDeviceContexts.RefCheckThreshold = 20; // See DevDiv#82664 (the repro app attached to this bug was used to determine this number). 53if (!activeDeviceContexts.Contains(dc)) { 55activeDeviceContexts.Add(dc); 71if (activeDeviceContexts == null) { 74activeDeviceContexts.RemoveByHashCode(dc); 83for (int i = 0; i < activeDeviceContexts.Count; i++) { 84DeviceContext dc = activeDeviceContexts[i] as DeviceContext;