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