1 write to m_lock
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (1)
210Interlocked.CompareExchange(ref m_lock, new object(), null); // failure is benign. Someone else set the value.
10 references to m_lock
System.Private.CoreLib (10)
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (10)
205[MemberNotNull(nameof(m_lock))] 208if (m_lock is null) 282Debug.Assert(m_lock != null); // if waiters>0, then m_lock has already been created. 283lock (m_lock) 285Monitor.PulseAll(m_lock); 550lock (m_lock) 586if (!Monitor.Wait(m_lock, realMillisecondsTimeout)) 660Debug.Assert(mre.m_lock != null); // the lock should have been created before this callback is registered for use. 661lock (mre.m_lock) 663Monitor.PulseAll(mre.m_lock); // awaken all waiters