23 references to ReadState
System (23)
net\System\Net\_ChunkParser.cs (23)
50
private
ReadState
readState;
115
this.readState =
ReadState
.ChunkLength;
171
Contract.Assert((readState ==
ReadState
.ChunkLength) || (readState ==
ReadState
.PayloadEnd) ||
172
((readState ==
ReadState
.Payload) && (currentChunkBytesRead < currentChunkLength)),
185
if (readState !=
ReadState
.Done)
210
Contract.Assert(readState <
ReadState
.Done, "We're already done. No need to process state.");
214
while (readState <
ReadState
.Done)
218
case
ReadState
.ChunkLength:
222
case
ReadState
.Extension:
226
case
ReadState
.Payload:
230
case
ReadState
.PayloadEnd:
234
case
ReadState
.Trailer:
312
readState =
ReadState
.Error;
320
if (readState ==
ReadState
.ChunkLength)
436
if (readState ==
ReadState
.Payload)
519
Contract.Assert(readState ==
ReadState
.Payload,
538
readState =
ReadState
.PayloadEnd;
567
readState =
ReadState
.Extension;
625
readState =
ReadState
.Trailer;
629
readState =
ReadState
.Payload;
649
readState =
ReadState
.ChunkLength;
693
readState =
ReadState
.Done;