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