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