2 writes to _contentLength
System.Net.HttpListener (2)
System\Net\Managed\HttpListenerRequest.Managed.cs (2)
230_contentLength = parsedContentLength; 300_contentLength = -1;
7 references to _contentLength
System.Net.HttpListener (7)
System\Net\Managed\HttpListenerRequest.Managed.cs (7)
224if (!success || (_clSet && parsedContentLength != _contentLength)) 256if (_contentLength > 0) 257length = (int)Math.Min(_contentLength, (long)length); 302return _contentLength; 306public bool HasEntityBody => (_contentLength > 0 || _isChunked); 318if (_isChunked || _contentLength > 0) 319_inputStream = _context.Connection.GetRequestStream(_isChunked, _contentLength);