3 writes to _delegates
PresentationCore (3)
System\Windows\Media\UniqueEventHelper.cs (3)
25
ueh.
_delegates
= new Dictionary<EventHandler<TEventArgs>, int>(_delegates);
56
ueh.
_delegates
= new Dictionary<EventHandler, int>(_delegates);
100
_delegates
= new Dictionary<TEventHandler, int>() { { handler, 1 } };
7 references to _delegates
PresentationCore (7)
System\Windows\Media\UniqueEventHelper.cs (7)
23
if (
_delegates
!= null)
25
ueh._delegates = new Dictionary<EventHandler<TEventArgs>, int>(
_delegates
);
54
if (
_delegates
!= null)
56
ueh._delegates = new Dictionary<EventHandler, int>(
_delegates
);
93
if (
_delegates
is Dictionary<TEventHandler, int> delegates)
113
if (
_delegates
is Dictionary<TEventHandler, int> delegates &&
129
if (
_delegates
is { Count: > 0 } delegates)