5 writes to _requestCompletionState
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (5)
97
_requestCompletionState
= StreamCompletionState.InProgress;
112
_requestCompletionState
= StreamCompletionState.Completed;
256
_requestCompletionState
= StreamCompletionState.Completed;
267
_requestCompletionState
= StreamCompletionState.Failed;
292
_requestCompletionState
= StreamCompletionState.Completed;
19 references to _requestCompletionState
System.Net.Http (19)
System\Net\Http\SocketsHttpHandler\Http2Stream.cs (19)
156
public bool SendRequestFinished =>
_requestCompletionState
!= StreamCompletionState.InProgress;
182
Debug.Assert(
_requestCompletionState
== StreamCompletionState.Completed);
248
Debug.Assert(
_requestCompletionState
== StreamCompletionState.InProgress, $"Request already completed with state={
_requestCompletionState
}");
291
Debug.Assert(
_requestCompletionState
== StreamCompletionState.InProgress, $"Request already completed with state={
_requestCompletionState
}");
365
Debug.Assert(
_requestCompletionState
!= StreamCompletionState.InProgress);
367
Debug.Assert(
_requestCompletionState
== StreamCompletionState.Failed || _responseCompletionState == StreamCompletionState.Failed,
370
if (NetEventSource.Log.IsEnabled()) Trace($"Stream reset. Request={
_requestCompletionState
}, Response={_responseCompletionState}.");
384
Debug.Assert(
_requestCompletionState
!= StreamCompletionState.InProgress);
387
if (NetEventSource.Log.IsEnabled()) Trace($"Stream complete. Request={
_requestCompletionState
}, Response={_responseCompletionState}.");
413
if (
_requestCompletionState
== StreamCompletionState.InProgress)
460
if (
_requestCompletionState
!= StreamCompletionState.InProgress)
843
if (
_requestCompletionState
== StreamCompletionState.Completed && !ConnectProtocolEstablished)
850
Debug.Assert(
_requestCompletionState
!= StreamCompletionState.Failed);
917
if (
_requestCompletionState
== StreamCompletionState.Completed && !ConnectProtocolEstablished)
924
Debug.Assert(
_requestCompletionState
!= StreamCompletionState.Failed);
956
if (
_requestCompletionState
== StreamCompletionState.Completed && _responseCompletionState == StreamCompletionState.Completed)
984
if (
_requestCompletionState
== StreamCompletionState.InProgress)