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