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