net\System\Net\_ConnectStream.cs (12)
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);
1161nesting = Interlocked.CompareExchange(ref m_CallNesting, (nesting == Nesting.InError? Nesting.InError: Nesting.Idle), Nesting.IoInProgress);
1276int result = Interlocked.CompareExchange(ref m_CallNesting, value, comparand);
1408int nesting = Interlocked.CompareExchange(ref m_CallNesting, Nesting.IoInProgress, 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);
2181Interlocked.CompareExchange(ref m_CallNesting, Nesting.InternalIO, Nesting.Idle);
2229Interlocked.CompareExchange(ref m_CallNesting, Nesting.Idle, Nesting.InternalIO);
2544if (Interlocked.Exchange(ref m_CallNesting, nesting) == Nesting.IoInProgress)