7 references to SyncObj
System.Threading.Channels (7)
System\Threading\Channels\UnboundedChannel.cs (7)
83lock (parent.SyncObj) 150lock (parent.SyncObj) 196lock (parent.SyncObj) 254lock (parent.SyncObj) 320lock (state.Key.SyncObj) 344Debug.Assert(SyncObj is not null, "The sync obj must not be null."); 345Debug.Assert(Monitor.IsEntered(SyncObj), "Invariants can only be validated while holding the lock.");