5 writes to m_OwnershipState
System (5)
net\System\Net\HttpListener.cs (5)
2714m_OwnershipState = 1; 2728while ((oldValue = Interlocked.CompareExchange(ref m_OwnershipState, 1, 0)) == 2) 2741if (Interlocked.CompareExchange(ref m_OwnershipState, 0, 1) == 2) 2756if (Interlocked.Exchange(ref asyncResult.m_OwnershipState, 2) == 0) 2803int oldValue = Interlocked.Exchange(ref m_OwnershipState, 3);