3 writes to _delegates
PresentationCore (3)
System\Windows\Media\UniqueEventHelper.cs (3)
28
ueh.
_delegates
= new Dictionary<EventHandler<TEventArgs>, int>(_delegates);
59
ueh.
_delegates
= new Dictionary<EventHandler, int>(_delegates);
103
_delegates
= new Dictionary<TEventHandler, int>() { { handler, 1 } };
7 references to _delegates
PresentationCore (7)
System\Windows\Media\UniqueEventHelper.cs (7)
26
if (
_delegates
!= null)
28
ueh._delegates = new Dictionary<EventHandler<TEventArgs>, int>(
_delegates
);
57
if (
_delegates
!= null)
59
ueh._delegates = new Dictionary<EventHandler, int>(
_delegates
);
96
if (
_delegates
is Dictionary<TEventHandler, int> delegates)
116
if (
_delegates
is Dictionary<TEventHandler, int> delegates &&
132
if (
_delegates
is { Count: > 0 } delegates)