7 writes to _state
NuGet.Protocol (7)
Plugins\Connection.cs (7)
147
_state
= (int)ConnectionState.Closing;
156
_state
= (int)ConnectionState.Closed;
177
_state
= (int)ConnectionState.Connecting;
191
_state
= (int)ConnectionState.Handshaking;
199
_state
= (int)ConnectionState.FailedToHandshake;
206
_state
= (int)ConnectionState.FailedToHandshake;
211
_state
= (int)ConnectionState.Connected;
4 references to _state
NuGet.Protocol (4)
Plugins\Connection.cs (4)
26
public ConnectionState State => (ConnectionState)
_state
;
145
if (
_state
!= (int)ConnectionState.Closed)
240
if (
_state
< (int)ConnectionState.Connecting)
285
if (
_state
< (int)ConnectionState.Connecting)