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