38 references to EntityTagHeaderValue
Microsoft.AspNetCore.Mvc.Core.Test (3)
FileResultHelperTest.cs (3)
260new EntityTagHeaderValue(ifNoneMatch, isWeak), 300new EntityTagHeaderValue(ifNoneMatch, isWeak), 338new EntityTagHeaderValue(ifNoneMatch, isWeak),
Microsoft.AspNetCore.OutputCaching.Tests (4)
OutputCacheMiddlewareTests.cs (4)
310{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"") }, 311{ new EntityTagHeaderValue("\"tag\""), new EntityTagHeaderValue("\"tag\"", true) }, 312{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"", true) }
Microsoft.AspNetCore.ResponseCaching.Tests (4)
ResponseCachingMiddlewareTests.cs (4)
307{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"") }, 308{ new EntityTagHeaderValue("\"tag\""), new EntityTagHeaderValue("\"tag\"", true) }, 309{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"", true) }
Microsoft.Net.Http.Headers (2)
EntityTagHeaderValue.cs (2)
39: this(tag, isWeak: false) 75public static EntityTagHeaderValue Any { get; } = new EntityTagHeaderValue("*", isWeak: false);
Microsoft.Net.Http.Headers.Tests (25)
EntityTagHeaderValueTest.cs (19)
42var etag = new EntityTagHeaderValue("\"e tag\"", true); 53etag = new EntityTagHeaderValue("\"e tag\"", true); 56etag = new EntityTagHeaderValue("\"\"", false); 65var etag3 = new EntityTagHeaderValue("\"tag\"", true); 82var etag3 = new EntityTagHeaderValue("\"tag\"", true); 111{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"", true) }, 112{ new EntityTagHeaderValue("\"tag\""), new EntityTagHeaderValue("\"tag\"", true) }, 174{ new EntityTagHeaderValue("\"tag\"", true), new EntityTagHeaderValue("\"tag\"", true) }, 175{ new EntityTagHeaderValue("\"tag\""), new EntityTagHeaderValue("\"tag\"", true) }, 196CheckValidParse("W/\"tag\"", new EntityTagHeaderValue("\"tag\"", true)); 225CheckValidTryParse("W/\"tag\"", new EntityTagHeaderValue("\"tag\"", true)); 294new EntityTagHeaderValue("\"tag\"", true), 327new EntityTagHeaderValue("\"tag\"", true), 359new EntityTagHeaderValue("\"tag\"", true), 391new EntityTagHeaderValue("\"tag\"", true), 421new EntityTagHeaderValue("\"tag\"", true), 469new EntityTagHeaderValue("\"tag\"", true),
RangeConditionHeaderValueTest.cs (6)
60new EntityTagHeaderValue("\"x\"", true)); 81new EntityTagHeaderValue("\"x\"", true)); 100CheckValidParse(" W/ \"tag\" ", new RangeConditionHeaderValue(new EntityTagHeaderValue("\"tag\"", true))); 101CheckValidParse(" w/\"tag\"", new RangeConditionHeaderValue(new EntityTagHeaderValue("\"tag\"", true))); 129CheckValidTryParse(" W/ \"tag\" ", new RangeConditionHeaderValue(new EntityTagHeaderValue("\"tag\"", true))); 130CheckValidTryParse(" w/\"tag\"", new RangeConditionHeaderValue(new EntityTagHeaderValue("\"tag\"", true)));