2 writes to scriptInstance
System (2)
net\System\Net\NetWebProxyFinder.cs (2)
203
scriptInstance
= null;
406
scriptInstance
= newScriptInstance;
23 references to scriptInstance
System (23)
net\System\Net\NetWebProxyFinder.cs (23)
63
string proxyListString =
scriptInstance
.FindProxyForURL(destination.ToString(), destination.Host);
106
if (
scriptInstance
!= null)
108
scriptInstance
.Close();
200
if (
scriptInstance
!= null)
202
scriptInstance
.Close();
298
GlobalLog.Print("NetWebProxyFinder#" + ValidationHelper.HashString(this) + "::DownloadAndCompile() lastModified:" + lastModified.ToString() + " (script):" + (
scriptInstance
== null ? "(null)" :
scriptInstance
.LastModified.ToString()));
299
if (
scriptInstance
!= null && lastModified != DateTime.MinValue &&
scriptInstance
.LastModified == lastModified)
301
newScriptInstance =
scriptInstance
;
315
if (
scriptInstance
!= null && scriptBuffer != null && scriptBuffer ==
scriptInstance
.Buffer)
317
scriptInstance
.LastModified = lastModified;
318
newScriptInstance =
scriptInstance
;
339
GlobalLog.Print("NetWebProxyFinder#" + ValidationHelper.HashString(this) + "::DownloadAndCompile() IsFromCache:" + tempResponse.IsFromCache.ToString() + " scriptInstance:" + ValidationHelper.HashString(
scriptInstance
));
340
if (
scriptInstance
!= null && scriptBody ==
scriptInstance
.ScriptBody)
343
scriptInstance
.LastModified = lastModified;
346
scriptInstance
.Buffer = scriptBuffer;
348
newScriptInstance =
scriptInstance
;
399
if ((newState == AutoWebProxyState.Completed) && (
scriptInstance
!= newScriptInstance))
401
if (
scriptInstance
!= null)
403
scriptInstance
.Close();