7 writes to _state
System.Net.Http (7)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (7)
81
_state
= ParsingState.ExpectChunkTerminator;
197
_state
= ParsingState.ExpectChunkTerminator;
349
_state
= ParsingState.ExpectChunkData;
354
_state
= ParsingState.ConsumeTrailers;
374
_state
= ParsingState.ExpectChunkTerminator;
392
_state
= ParsingState.ExpectChunkHeader;
412
_state
= ParsingState.Done;
8 references to _state
System.Net.Http (8)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (8)
63
if (
_state
== ParsingState.ExpectChunkData &&
154
Debug.Assert(
_state
== ParsingState.Done);
179
if (
_state
== ParsingState.ExpectChunkData &&
320
switch (
_state
)
421
Debug.Fail($"Unexpected state: {
_state
}");
424
NetEventSource.Error(this, $"Unexpected state: {
_state
}");
529
ValueTask fillTask =
_state
== ParsingState.ConsumeTrailers
539
return
_state
== ParsingState.ConsumeTrailers