net\System\Net\Internal.cs (7)
460m_State = Open;
466int gate = Interlocked.CompareExchange(ref m_State, Triggered, Open);
483int gate = Interlocked.CompareExchange(ref m_State, Triggering, Open);
495int gate = Interlocked.CompareExchange(ref m_State, Triggered, Triggering);
511int gate = Interlocked.CompareExchange(ref m_State, Signaling, Triggered);
524int gate = Interlocked.CompareExchange(ref m_State, Signaled, Signaling);
535int gate = Interlocked.CompareExchange(ref m_State, Completed, Signaled);