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