2 writes to m_lockObj
mscorlib (2)
system\threading\SemaphoreSlim.cs (2)
195
m_lockObj
= new object();
874
m_lockObj
= null;
15 references to m_lockObj
mscorlib (15)
system\threading\SemaphoreSlim.cs (15)
139
lock (
m_lockObj
)
356
Monitor.Enter(
m_lockObj
, ref lockTaken);
425
Monitor.Exit(
m_lockObj
);
469
if (!Monitor.Wait(
m_lockObj
, remainingWaitMilliseconds))
615
lock (
m_lockObj
)
642
Contract.Assert(Monitor.IsEntered(
m_lockObj
), "Requires the lock be held");
672
Contract.Assert(Monitor.IsEntered(
m_lockObj
), "Requires the lock be held");
698
Contract.Assert(Monitor.IsEntered(
m_lockObj
), "Requires the lock be held");
720
lock (
m_lockObj
)
771
lock (
m_lockObj
)
790
Monitor.Pulse(
m_lockObj
);
794
Monitor.PulseAll(
m_lockObj
);
890
lock (semaphore.
m_lockObj
)
892
Monitor.PulseAll(semaphore.
m_lockObj
); //wake up all waiters.
902
if (
m_lockObj
== null)