20 writes to _contentLength
Microsoft.AspNetCore.Server.Kestrel.Core (20)
Internal\Http\HttpHeaders.cs (1)
41_contentLength = value;
Internal\Http\HttpHeaders.Generated.cs (16)
592_contentLength = ParseContentLength(value.ToString()); 4117_contentLength = ParseContentLength(value.ToString()); 4129_contentLength = ParseContentLength(value.ToString()); 5126_contentLength = ParseContentLength(value.ToString()); 5146_contentLength = ParseContentLength(value.ToString()); 6233_contentLength = null; 6253_contentLength = null; 8809_contentLength = ParseContentLength(value.ToString()); 12049_contentLength = ParseContentLength(value.ToString()); 12055_contentLength = ParseContentLength(value.ToString()); 12832_contentLength = ParseContentLength(value.ToString()); 12842_contentLength = ParseContentLength(value.ToString()); 13724_contentLength = null; 13734_contentLength = null; 14050_contentLength = null; 17483_contentLength = null;
Internal\Http\HttpRequestHeaders.cs (3)
78_contentLength = null; 108_contentLength = parsed; 132_contentLength = parsed;
37 references to _contentLength
Microsoft.AspNetCore.Server.Kestrel.Core (37)
Internal\Http\HttpHeaders.cs (1)
30get { return _contentLength; }
Internal\Http\HttpHeaders.Generated.cs (34)
584if (_contentLength.HasValue) 586return new StringValues(HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value)); 2586return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 3333if (_contentLength.HasValue) 3335value = HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value); 3352if (_contentLength.HasValue) 3354value = HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value); 5124if (!_contentLength.HasValue) 5144if (!_contentLength.HasValue) 6231if (_contentLength.HasValue) 6251if (_contentLength.HasValue) 7463if (_contentLength.HasValue) 7469array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value)); 8649_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection._contentLength.GetValueOrDefault())); 8669_next = _collection._contentLength.HasValue ? 49 : -1; 8801if (_contentLength.HasValue) 8803return new StringValues(HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value)); 10872return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 11384if (_contentLength.HasValue) 11386value = HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value); 11394if (_contentLength.HasValue) 11396value = HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value); 12830if (!_contentLength.HasValue) 12840if (!_contentLength.HasValue) 13722if (_contentLength.HasValue) 13732if (_contentLength.HasValue) 14790if (_contentLength.HasValue) 14796array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value)); 14816if (_contentLength.HasValue) 15482_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection._contentLength.GetValueOrDefault())); 15505_next = _collection._contentLength.HasValue ? 38 : -1; 17169return (_contentLength.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0); 17558if (_contentLength.HasValue) 17564array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_contentLength.Value));
Internal\Http\HttpRequestHeaders.cs (2)
96if (_contentLength.HasValue) 115if (_contentLength.HasValue)