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