19 references to State
System (19)
net\System\Net\Sockets\_MultipleConnectAsync.cs (19)
31
private
State
state;
51
if (state ==
State
.Canceled)
57
GlobalLog.Assert(state ==
State
.NotStarted, "MultipleConnectAsync.StartConnectAsync(): Unexpected object state");
59
state =
State
.DnsQuery;
93
if (state ==
State
.Canceled)
98
GlobalLog.Assert(state ==
State
.DnsQuery, "MultipleConnectAsync.DoDnsCallback(): Unexpected object state");
107
state =
State
.Completed;
114
state =
State
.ConnectAttempt;
125
state =
State
.Completed;
149
if (state ==
State
.Canceled)
158
GlobalLog.Assert(state ==
State
.ConnectAttempt, "MultipleConnectAsync.InternalConnectCallback(): Unexpected object state");
164
state =
State
.Completed;
171
state =
State
.Canceled;
200
state =
State
.Completed;
316
case
State
.NotStarted:
323
case
State
.DnsQuery:
331
case
State
.ConnectAttempt:
339
case
State
.Completed:
349
state =
State
.Canceled;