3 writes to From
Microsoft.Net.Http.Headers (3)
ContentRangeHeaderValue.cs (3)
53From = from; 88From = from; 429result.From = from;
12 references to From
Microsoft.Net.Http.Headers (7)
ContentRangeHeaderValue.cs (7)
133/// Gets a value that determines if <see cref="From"/> and <see cref="To"/> have been specified. 135[MemberNotNullWhen(true, nameof(From), nameof(To))] 138get { return From != null && To != null; } 151return ((From == other.From) && (To == other.To) && (Length == other.Length) && 162result = result ^ From.GetHashCode() ^ To.GetHashCode(); 182sb.Append(From.GetValueOrDefault().ToString(NumberFormatInfo.InvariantInfo));
Microsoft.Net.Http.Headers.Tests (5)
ContentRangeHeaderValueTest.cs (5)
22Assert.Null(range.From); 43Assert.Equal(0, range.From); 67Assert.Equal(0, range.From); 160Assert.Null(result.From); 191Assert.Null(result.From);