2 writes to _users
WindowsBase (2)
Base\System\Windows\WeakEventManager.cs (2)
884
return (Interlocked.Increment(ref
_users
) != 1);
892
Interlocked.Decrement(ref
_users
);
6 references to _users
WindowsBase (6)
Base\System\Windows\WeakEventManager.cs (6)
610
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");
619
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");
632
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");
679
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");
730
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");
825
Invariant.Assert(
_users
== 0, "Cannot modify a ListenerList that is in use");