3 writes to Length
Microsoft.Net.Http.Headers (3)
ContentRangeHeaderValue.cs (3)
55Length = length; 69Length = length; 435result.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))] 129get { return Length != null; } 151return ((From == other.From) && (To == other.To) && (Length == other.Length) && 167result = result ^ Length.GetHashCode(); 194sb.Append(Length.GetValueOrDefault().ToString(NumberFormatInfo.InvariantInfo));
Microsoft.Net.Http.Headers.Tests (5)
ContentRangeHeaderValueTest.cs (5)
24Assert.Equal(5, range.Length); 45Assert.Null(range.Length); 69Assert.Equal(2, range.Length); 162Assert.Null(result.Length); 193Assert.Null(result.Length);