7 writes to _readAheadTaskStatus
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (7)
139
return Interlocked.Exchange(ref
_readAheadTaskStatus
, ReadAheadTask_CompletionReserved) == ReadAheadTask_Started;
162
_readAheadTaskStatus
= ReadAheadTask_CompletionReserved;
198
|| Interlocked.Exchange(ref
_readAheadTaskStatus
, ReadAheadTask_CompletionReserved) == ReadAheadTask_Started;
208
Interlocked.Exchange(ref
_readAheadTaskStatus
, ReadAheadTask_Started) == ReadAheadTask_CompletionReserved)
234
_readAheadTaskStatus
= ReadAheadTask_Started;
281
return Interlocked.Exchange(ref
_readAheadTaskStatus
, ReadAheadTask_Completed) == ReadAheadTask_Started;
640
_readAheadTaskStatus
= ReadAheadTask_NotStarted;
10 references to _readAheadTaskStatus
System.Net.Http (10)
System\Net\Http\SocketsHttpHandler\HttpConnection.cs (10)
120
_readAheadTaskStatus
!= ReadAheadTask_NotStarted;
137
Debug.Assert(
_readAheadTaskStatus
is ReadAheadTask_Started or ReadAheadTask_Completed);
161
Debug.Assert(
_readAheadTaskStatus
== ReadAheadTask_NotStarted);
195
Debug.Assert(
_readAheadTaskStatus
!= ReadAheadTask_CompletionReserved);
205
Debug.Assert(
_readAheadTaskStatus
!= ReadAheadTask_Started);
279
Debug.Assert(
_readAheadTaskStatus
is ReadAheadTask_Started or ReadAheadTask_CompletionReserved);
536
Debug.Assert(
_readAheadTaskStatus
!= ReadAheadTask_Started,
611
Debug.Assert(
_readAheadTaskStatus
is ReadAheadTask_CompletionReserved or ReadAheadTask_Completed);
856
Debug.Assert(
_readAheadTaskStatus
is ReadAheadTask_CompletionReserved or ReadAheadTask_Completed);
2102
Debug.Assert(
_readAheadTaskStatus
== ReadAheadTask_NotStarted, "Expected SendAsync to reset the read-ahead task status.");