Base:
16 references to ToString
Microsoft.AspNetCore.StaticAssets.Tests (5)
StaticAssetsIntegrationTests.cs (5)
665req.Headers.Add("If-Match", original.Headers.ETag.ToString()); 714req2.Headers.Add("If-None-Match", resp1.Headers.ETag.ToString()); 740req2.Headers.Add("If-None-Match", resp1.Headers.ETag.ToString()); 787req2.Headers.Add("If-None-Match", resp1.Headers.ETag.ToString()); 801var etag = resp1.Headers.ETag.ToString();
Microsoft.AspNetCore.StaticFiles.Tests (10)
CacheHeaderTests.cs (6)
65req.Headers.Add("If-Match", original.Headers.ETag.ToString()); 117req2.Headers.Add("If-None-Match", resp1.Headers.ETag.ToString()); 145req2.Headers.Add("If-None-Match", resp1.Headers.ETag.ToString()); 196.AddHeader("If-None-Match", resp1.Headers.ETag.ToString()) 212var etag = resp1.Headers.ETag.ToString(); 251.AddHeader("If-None-Match", resp1.Headers.ETag.ToString())
RangeHeaderTests.cs (4)
24req.Headers.Add("If-Range", original.Headers.ETag.ToString()); 45req.Headers.Add("If-Range", original.Headers.ETag.ToString()); 211req.Headers.Add("If-Range", original.Headers.ETag.ToString()); 238req.Headers.Add("If-Range", original.Headers.ETag.ToString());
System.Net.Http (1)
System\Net\Http\Headers\RangeConditionHeaderValue.cs (1)
44public override string ToString() => _entityTag?.ToString() ?? _date.ToString("r");