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)
230if (parsedContentLength < 0 || (_clSet && parsedContentLength != _contentLength)) 262if (_contentLength > 0) 263length = (int)Math.Min(_contentLength, (long)length); 308return _contentLength; 312public bool HasEntityBody => (_contentLength > 0 || _isChunked); 324if (_isChunked || _contentLength > 0) 325_inputStream = _context.Connection.GetRequestStream(_isChunked, _contentLength);