9 references to SyncObj
System.Threading.Channels (9)
System\Threading\Channels\UnboundedPriorityChannel.cs (9)
78lock (parent.SyncObj) 116lock (parent.SyncObj) 133lock (parent.SyncObj) 141Debug.Assert(Monitor.IsEntered(parent.SyncObj)); 158lock (parent.SyncObj) 211lock (parent.SyncObj) 253lock (parent.SyncObj) 334Debug.Assert(SyncObj != null, "The sync obj must not be null."); 335Debug.Assert(Monitor.IsEntered(SyncObj), "Invariants can only be validated while holding the lock.");