5 writes to _ReadAResult
System (5)
net\System\Net\HttpWebRequest.cs (5)
1978
_ReadAResult
= asyncResult;
2220
_ReadAResult
= readResult;
2224
_ReadAResult
= new LazyAsyncResult(this, null, null);
3795
_ReadAResult
= new LazyAsyncResult(null, null, null); //never throws
3933
_ReadAResult
= new LazyAsyncResult(null, null, null, E); //never throws
36 references to _ReadAResult
System (36)
net\System\Net\HttpWebRequest.cs (36)
419
return
_ReadAResult
!= null &&
_ReadAResult
.InternalPeekCompleted;
1411
if (
_ReadAResult
!= null)
1413
GlobalLog.Assert(
_ReadAResult
.InternalPeekCompleted, "HttpWebRequest#{0}::BeginGetRequestStream()|Incomplete _ReadAResult present on request.", ValidationHelper.HashString(this));
1414
GlobalLog.Assert(
_ReadAResult
.Result is Exception, "HttpWebRequest#{0}::BeginGetRequestStream()|_ReadAResult with successful completion already present on request.", ValidationHelper.HashString(this));
1415
throw (Exception)
_ReadAResult
.Result;
1564
if (
_ReadAResult
!= null)
1566
GlobalLog.Assert(
_ReadAResult
.InternalPeekCompleted, "HttpWebRequest#{0}::GetRequestStream()|Incomplete _ReadAResult present on request.", ValidationHelper.HashString(this));
1567
GlobalLog.Assert(
_ReadAResult
.Result is Exception, "HttpWebRequest#{0}::GetRequestStream()|_ReadAResult with successful completion already present on request.", ValidationHelper.HashString(this));
1568
throw (Exception)
_ReadAResult
.Result;
1973
if (
_ReadAResult
!= null)
1989
if (Logging.On) Logging.Exit(Logging.Web, this, "BeginGetResponse",
_ReadAResult
.Result);
1990
GlobalLog.Leave("HttpWebRequest#" + ValidationHelper.HashString(this) + "::BeginGetResponse", "Already Completed, response = " + ValidationHelper.HashString(
_ReadAResult
.Result));
1991
Exception e =
_ReadAResult
.Result as Exception;
1999
asyncResult.InvokeCallback(
_ReadAResult
.Result);
2198
httpWebResponse =
_ReadAResult
.Result as HttpWebResponse;
2202
if (
_ReadAResult
!= null)
2254
while (!Async && Aborted && !
_ReadAResult
.InternalPeekCompleted)
2263
httpWebResponse =
_ReadAResult
.InternalWaitForCompletion() as HttpWebResponse;
2264
_ReadAResult
.EndCalled = true;
2269
if (Logging.On) Logging.Exception(Logging.Web, this, "GetResponse",
_ReadAResult
.Result as Exception);
2271
throw (Exception)
_ReadAResult
.Result;
3195
readAResult =
_ReadAResult
;
3789
if (
_ReadAResult
== null)
3793
if (
_ReadAResult
== null)
3804
_ReadAResult
.InvokeCallback(result);
3820
if (exception == null &&
_ReadAResult
.Result != (object) _HttpResponse)
3822
WebException webException =
_ReadAResult
.Result as WebException;
3851
WebException webException = HaveResponse ?
_ReadAResult
.Result as WebException : null;
3931
if (
_ReadAResult
== null)
3937
readAResult =
_ReadAResult
;
3963
chkResponse =
_ReadAResult
.Result as HttpWebResponse;
4035
_ReadAResult
: _WriteAResult) as ContextAwareResult;
4059
context =
_ReadAResult
as ContextAwareResult;
4080
ContextAwareResult context =
_ReadAResult
as ContextAwareResult;
6098
if (!
_ReadAResult
.InternalPeekCompleted && m_Aborted != AbortState.Public) // otherwise it's too late