2 implementations of ISystemColorTracker
System.Drawing.Common (2)
System\Drawing\Pen.cs (1)
13public sealed unsafe class Pen : MarshalByRefObject, ICloneable, IDisposable, ISystemColorTracker
System\Drawing\SolidBrush.cs (1)
8public sealed unsafe class SolidBrush : Brush, ISystemColorTracker
7 references to ISystemColorTracker
System.Drawing.Common (7)
System\Drawing\Internal\SystemColorTracker.cs (5)
19private static WeakReference<ISystemColorTracker>?[] s_list = new WeakReference<ISystemColorTracker>?[INITIAL_SIZE]; 24internal static void Add(ISystemColorTracker obj) 49if (s_list[index] is not WeakReference<ISystemColorTracker> reference) 134if (s_list[i]?.TryGetTarget(out ISystemColorTracker? target) == true)
System\Drawing\Pen.cs (1)
829void ISystemColorTracker.OnSystemColorChanged()
System\Drawing\SolidBrush.cs (1)
105void ISystemColorTracker.OnSystemColorChanged()