3 writes to From
Microsoft.Net.Http.Headers (3)
ContentRangeHeaderValue.cs (3)
53
From
= from;
88
From
= from;
429
result.
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))]
138
get { return
From
!= null && To != null; }
151
return ((
From
== other.
From
) && (To == other.To) && (Length == other.Length) &&
162
result = result ^
From
.GetHashCode() ^ To.GetHashCode();
182
sb.Append(
From
.GetValueOrDefault().ToString(NumberFormatInfo.InvariantInfo));
Microsoft.Net.Http.Headers.Tests (5)
ContentRangeHeaderValueTest.cs (5)
22
Assert.Null(range.
From
);
43
Assert.Equal(0, range.
From
);
67
Assert.Equal(0, range.
From
);
160
Assert.Null(result.
From
);
191
Assert.Null(result.
From
);