19 references to SyncObj
System.Threading.Channels (19)
System\Threading\Channels\BoundedChannel.cs (19)
94lock (parent.SyncObj) 112lock (parent.SyncObj) 131lock (parent.SyncObj) 155lock (parent.SyncObj) 198lock (parent.SyncObj) 242Debug.Assert(Monitor.IsEntered(parent.SyncObj)); 315lock (parent.SyncObj) 373Monitor.Enter(parent.SyncObj, ref releaseLock); 422Monitor.Exit(parent.SyncObj); 437Monitor.Exit(parent.SyncObj); 448Monitor.Exit(parent.SyncObj); 475lock (parent.SyncObj) 530Monitor.Enter(parent.SyncObj, ref releaseLock); 597Monitor.Exit(parent.SyncObj); 612Monitor.Exit(parent.SyncObj); 623Monitor.Exit(parent.SyncObj); 663lock (state.Key.SyncObj) 695Debug.Assert(SyncObj is not null, "The sync obj must not be null."); 696Debug.Assert(Monitor.IsEntered(SyncObj), "Invariants can only be validated while holding the lock.");