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)
30
get { return
_contentLength
; }
Internal\Http\HttpHeaders.Generated.cs (34)
584
if (
_contentLength
.HasValue)
586
return new StringValues(HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value));
2586
return (
_contentLength
.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0);
3333
if (
_contentLength
.HasValue)
3335
value = HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value);
3352
if (
_contentLength
.HasValue)
3354
value = HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value);
5124
if (!
_contentLength
.HasValue)
5144
if (!
_contentLength
.HasValue)
6231
if (
_contentLength
.HasValue)
6251
if (
_contentLength
.HasValue)
7463
if (
_contentLength
.HasValue)
7469
array[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;
8801
if (
_contentLength
.HasValue)
8803
return new StringValues(HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value));
10872
return (
_contentLength
.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0);
11384
if (
_contentLength
.HasValue)
11386
value = HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value);
11394
if (
_contentLength
.HasValue)
11396
value = HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value);
12830
if (!
_contentLength
.HasValue)
12840
if (!
_contentLength
.HasValue)
13722
if (
_contentLength
.HasValue)
13732
if (
_contentLength
.HasValue)
14790
if (
_contentLength
.HasValue)
14796
array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value));
14816
if (
_contentLength
.HasValue)
15482
_current = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(_collection.
_contentLength
.GetValueOrDefault()));
15505
_next = _collection.
_contentLength
.HasValue ? 38 : -1;
17169
return (
_contentLength
.HasValue ? 1 : 0 ) + BitOperations.PopCount((ulong)_bits) + (MaybeUnknown?.Count ?? 0);
17558
if (
_contentLength
.HasValue)
17564
array[arrayIndex] = new KeyValuePair<string, StringValues>(HeaderNames.ContentLength, HeaderUtilities.FormatNonNegativeInt64(
_contentLength
.Value));
Internal\Http\HttpRequestHeaders.cs (2)
96
if (
_contentLength
.HasValue)
115
if (
_contentLength
.HasValue)