2 writes to _contentLength
System.Net.HttpListener (2)
System\Net\Managed\HttpListenerRequest.Managed.cs (2)
236
_contentLength
= parsedContentLength;
306
_contentLength
= -1;
7 references to _contentLength
System.Net.HttpListener (7)
System\Net\Managed\HttpListenerRequest.Managed.cs (7)
230
if (parsedContentLength < 0 || (_clSet && parsedContentLength !=
_contentLength
))
262
if (
_contentLength
> 0)
263
length = (int)Math.Min(
_contentLength
, (long)length);
308
return
_contentLength
;
312
public bool HasEntityBody => (
_contentLength
> 0 || _isChunked);
324
if (_isChunked ||
_contentLength
> 0)
325
_inputStream = _context.Connection.GetRequestStream(_isChunked,
_contentLength
);