3 writes to To
Microsoft.Net.Http.Headers (3)
ContentRangeHeaderValue.cs (3)
54To = to; 89To = to; 430result.To = to;
12 references to To
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(); 184sb.Append(To.GetValueOrDefault().ToString(NumberFormatInfo.InvariantInfo));
Microsoft.Net.Http.Headers.Tests (5)
ContentRangeHeaderValueTest.cs (5)
23Assert.Null(range.To); 44Assert.Equal(1, range.To); 68Assert.Equal(1, range.To); 161Assert.Null(result.To); 192Assert.Null(result.To);