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