4 writes to state
System (4)
net\System\Net\WebSockets\ClientWebSocket.cs (4)
47state = created; 136int priorState = Interlocked.CompareExchange(ref state, connecting, created); 176if (Interlocked.CompareExchange(ref state, connected, connecting) != connecting) 370int priorState = Interlocked.Exchange(ref state, disposed);
5 references to state
System (5)
net\System\Net\WebSockets\ClientWebSocket.cs (5)
103switch (state) 112Contract.Assert(false, "NotImplemented: " + state); 351if (state == disposed) 386if (state == disposed) 390else if (state != connected)