1 write to m_lock
System.Private.CoreLib (1)
src\libraries\System.Private.CoreLib\src\System\Threading\ManualResetEventSlim.cs (1)
211Interlocked.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)
206[MemberNotNull(nameof(m_lock))] 209if (m_lock is null) 283Debug.Assert(m_lock != null); // if waiters>0, then m_lock has already been created. 284lock (m_lock) 286Monitor.PulseAll(m_lock); 543lock (m_lock) 580if (!Monitor.Wait(m_lock, realMillisecondsTimeout)) 654Debug.Assert(mre.m_lock != null); // the lock should have been created before this callback is registered for use. 655lock (mre.m_lock) 657Monitor.PulseAll(mre.m_lock); // awaken all waiters