1 write to activeDeviceContexts
System.Drawing (1)
misc\GDI\DeviceContexts.cs (1)
49
activeDeviceContexts
= new ClientUtils.WeakRefCollection();
6 references to activeDeviceContexts
System.Drawing (6)
misc\GDI\DeviceContexts.cs (6)
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);