14 references to Idle
System (14)
net\System\Net\_ConnectStream.cs (14)
621Interlocked.CompareExchange(ref m_CallNesting, Nesting.InternalIO, Nesting.Idle); 693Interlocked.CompareExchange(ref m_CallNesting, Nesting.Idle, Nesting.InternalIO); 921int nesting = Interlocked.CompareExchange(ref m_CallNesting, Nesting.IoInProgress, Nesting.Idle); 923if (nesting != Nesting.Idle && nesting != Nesting.Closed) 1161nesting = Interlocked.CompareExchange(ref m_CallNesting, (nesting == Nesting.InError? Nesting.InError: Nesting.Idle), Nesting.IoInProgress); 1260if (Nesting.Closed == ExchangeCallNesting((userException == null? Nesting.Idle: Nesting.InError), Nesting.IoInProgress)) 1408int nesting = Interlocked.CompareExchange(ref m_CallNesting, Nesting.IoInProgress, Nesting.Idle); 1411if (nesting != Nesting.Idle) 1437Interlocked.CompareExchange(ref m_CallNesting, Nesting.Idle, Nesting.IoInProgress); 1679int nesting = Interlocked.CompareExchange(ref m_CallNesting, Nesting.IoInProgress, Nesting.Idle); 1997Interlocked.CompareExchange(ref m_CallNesting, Nesting.Idle, Nesting.IoInProgress); 2127stream.ExchangeCallNesting(Nesting.Idle, Nesting.InternalIO); 2181Interlocked.CompareExchange(ref m_CallNesting, Nesting.InternalIO, Nesting.Idle); 2229Interlocked.CompareExchange(ref m_CallNesting, Nesting.Idle, Nesting.InternalIO);