22 references to ParsingState
System.Net.Http (22)
System\Net\Http\SocketsHttpHandler\ChunkedEncodingReadStream.cs (22)
20
private
ParsingState
_state =
ParsingState
.ExpectChunkHeader;
63
if (_state ==
ParsingState
.ExpectChunkData &&
81
_state =
ParsingState
.ExpectChunkTerminator;
154
Debug.Assert(_state ==
ParsingState
.Done);
179
if (_state ==
ParsingState
.ExpectChunkData &&
197
_state =
ParsingState
.ExpectChunkTerminator;
322
case
ParsingState
.ExpectChunkHeader:
349
_state =
ParsingState
.ExpectChunkData;
350
goto case
ParsingState
.ExpectChunkData;
354
_state =
ParsingState
.ConsumeTrailers;
355
goto case
ParsingState
.ConsumeTrailers;
358
case
ParsingState
.ExpectChunkData:
374
_state =
ParsingState
.ExpectChunkTerminator;
379
case
ParsingState
.ExpectChunkTerminator:
392
_state =
ParsingState
.ExpectChunkHeader;
393
goto case
ParsingState
.ExpectChunkHeader;
395
case
ParsingState
.ConsumeTrailers:
412
_state =
ParsingState
.Done;
420
case
ParsingState
.Done: // shouldn't be called once we're done
529
ValueTask fillTask = _state ==
ParsingState
.ConsumeTrailers
539
return _state ==
ParsingState
.ConsumeTrailers