27 references to State
System.Net.HttpListener (27)
System\Net\Managed\ChunkStream.cs (27)
77private State _state; 145if (_state == State.None || _state == State.PartialSize) 148if (_state == State.PartialSize) 156if (_state == State.Body && offset < size) 159if (_state == State.Body) 163if (_state == State.BodyFinished && offset < size) 166if (_state == State.BodyFinished) 172if (_state == State.Trailer && offset < size) 175if (_state == State.Trailer) 189get { return (_chunkRead != _chunkSize || _chunkSize != 0 || _state != State.None); } 203return (_state != State.Body); 219private State ReadBody(byte[] buffer, ref int offset, int size) 222return State.BodyFinished; 235return (_chunkRead == _chunkSize) ? State.BodyFinished : State.Body; 238private State GetChunkSize(byte[] buffer, ref int offset, int size) 285return State.PartialSize; 301return State.Trailer; 304return State.Body; 313private State ReadCRLF(byte[] buffer, ref int offset, int size) 322return State.BodyFinished; 328return State.None; 331private State ReadTrailer(byte[] buffer, ref int offset, int size) 342return State.None; 379return State.Trailer; 387return State.None;