3 writes to Length
Microsoft.Net.Http.Headers (3)
ContentRangeHeaderValue.cs (3)
55
Length
= length;
69
Length
= length;
435
result.
Length
= length;
13 references to Length
Microsoft.Net.Http.Headers (8)
ContentRangeHeaderValue.cs (8)
120
[NotNullIfNotNull(nameof(
Length
))]
124
/// Gets a value that determines if <see cref="
Length
"/> has been specified.
126
[MemberNotNullWhen(true, nameof(
Length
))]
129
get { return
Length
!= null; }
151
return ((From == other.From) && (To == other.To) && (
Length
== other.
Length
) &&
167
result = result ^
Length
.GetHashCode();
194
sb.Append(
Length
.GetValueOrDefault().ToString(NumberFormatInfo.InvariantInfo));
Microsoft.Net.Http.Headers.Tests (5)
ContentRangeHeaderValueTest.cs (5)
24
Assert.Equal(5, range.
Length
);
45
Assert.Null(range.
Length
);
69
Assert.Equal(2, range.
Length
);
162
Assert.Null(result.
Length
);
193
Assert.Null(result.
Length
);