37 references to AutoWebProxyState
System (37)
net\System\Net\BaseWebProxyFinder.cs (6)
11
private
AutoWebProxyState
state;
21
get { return (state ==
AutoWebProxyState
.Completed) || (state ==
AutoWebProxyState
.Uninitialized); }
26
get { return state ==
AutoWebProxyState
.UnrecognizedScheme; }
35
State =
AutoWebProxyState
.Uninitialized;
43
protected
AutoWebProxyState
State
net\System\Net\NetWebProxyFinder.cs (21)
54
if (State !=
AutoWebProxyState
.Completed)
120
if (State ==
AutoWebProxyState
.Uninitialized || engineScriptLocation == null)
136
State =
AutoWebProxyState
.Completed;
140
AutoWebProxyState
newState = DownloadAndCompile(scriptLocation);
141
if (newState ==
AutoWebProxyState
.Completed)
143
State =
AutoWebProxyState
.Completed;
158
State =
AutoWebProxyState
.Completed;
163
if (State ==
AutoWebProxyState
.Completed)
176
if (State ==
AutoWebProxyState
.Completed)
187
if (State ==
AutoWebProxyState
.Completed)
198
State =
AutoWebProxyState
.DiscoveryFailure;
215
private
AutoWebProxyState
DownloadAndCompile(Uri location)
218
AutoWebProxyState
newState =
AutoWebProxyState
.DownloadFailure;
302
newState =
AutoWebProxyState
.Completed;
319
newState =
AutoWebProxyState
.Completed;
337
if (newState !=
AutoWebProxyState
.Completed)
349
newState =
AutoWebProxyState
.Completed;
359
newState =
AutoWebProxyState
.Completed;
363
newState =
AutoWebProxyState
.CompilationFailure;
399
if ((newState ==
AutoWebProxyState
.Completed) && (scriptInstance != newScriptInstance))
net\System\Net\WinHttpWebProxyFinder.cs (10)
58
if (State ==
AutoWebProxyState
.UnrecognizedScheme)
84
State =
AutoWebProxyState
.UnrecognizedScheme;
99
if (State ==
AutoWebProxyState
.Completed)
278
private static
AutoWebProxyState
GetStateFromErrorCode(int errorCode)
282
return
AutoWebProxyState
.Completed;
288
return
AutoWebProxyState
.DiscoveryFailure;
291
return
AutoWebProxyState
.DownloadFailure;
294
return
AutoWebProxyState
.UnrecognizedScheme;
300
return
AutoWebProxyState
.Completed;
305
return
AutoWebProxyState
.CompilationFailure;