10 references to SyncObj
System.Threading.Channels (10)
System\Threading\Channels\UnboundedPriorityChannel.cs (10)
84lock (parent.SyncObj) 113lock (parent.SyncObj) 130lock (parent.SyncObj) 138Debug.Assert(Monitor.IsEntered(parent.SyncObj)); 155lock (parent.SyncObj) 202lock (parent.SyncObj) 250lock (parent.SyncObj) 316lock (state.Key.SyncObj) 340Debug.Assert(SyncObj is not null, "The sync obj must not be null."); 341Debug.Assert(Monitor.IsEntered(SyncObj), "Invariants can only be validated while holding the lock.");