18 references to SyncObj
System.Threading.Channels (18)
System\Threading\Channels\BoundedChannel.cs (18)
84lock (parent.SyncObj) 102lock (parent.SyncObj) 121lock (parent.SyncObj) 145lock (parent.SyncObj) 195lock (parent.SyncObj) 246Debug.Assert(Monitor.IsEntered(parent.SyncObj)); 315lock (parent.SyncObj) 364Monitor.Enter(parent.SyncObj, ref releaseLock); 425Monitor.Exit(parent.SyncObj); 440Monitor.Exit(parent.SyncObj); 451Monitor.Exit(parent.SyncObj); 484lock (parent.SyncObj) 539Monitor.Enter(parent.SyncObj, ref releaseLock); 616Monitor.Exit(parent.SyncObj); 631Monitor.Exit(parent.SyncObj); 642Monitor.Exit(parent.SyncObj); 678Debug.Assert(SyncObj != null, "The sync obj must not be null."); 679Debug.Assert(Monitor.IsEntered(SyncObj), "Invariants can only be validated while holding the lock.");