8 writes to readState
System (8)
net\System\Net\_ChunkParser.cs (8)
115
this.
readState
= ReadState.ChunkLength;
312
readState
= ReadState.Error;
538
readState
= ReadState.PayloadEnd;
567
readState
= ReadState.Extension;
625
readState
= ReadState.Trailer;
629
readState
= ReadState.Payload;
649
readState
= ReadState.ChunkLength;
693
readState
= ReadState.Done;
10 references to readState
System (10)
net\System\Net\_ChunkParser.cs (10)
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)
216
switch (
readState
)
320
if (
readState
== ReadState.ChunkLength)
436
if (
readState
== ReadState.Payload)
519
Contract.Assert(
readState
== ReadState.Payload,