18 instantiations of EntityTagHeaderValue
Microsoft.AspNetCore.Mvc.FunctionalTests (12)
FileResultTests.cs (12)
229httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 249httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\"")); 281httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 450httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 470httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\"")); 500httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 654httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 674httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\"")); 706httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 804httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\"")); 827httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"NotEtag\"")); 910httpRequestMessage.Headers.IfRange = new RangeConditionHeaderValue(new EntityTagHeaderValue("\"Etag\""));
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCacheTests.cs (2)
760client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.EntityTagHeaderValue("\"E1\"")); 783client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.EntityTagHeaderValue("\"E2\""));
Microsoft.AspNetCore.ResponseCaching.Tests (2)
ResponseCachingTests.cs (2)
711client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.EntityTagHeaderValue("\"E1\"")); 736client.DefaultRequestHeaders.IfNoneMatch.Add(new System.Net.Http.Headers.EntityTagHeaderValue("\"E2\""));
Microsoft.AspNetCore.StaticAssets.Tests (2)
StaticAssetsIntegrationTests.cs (2)
830req2.Headers.IfNoneMatch.Add(new EntityTagHeaderValue("\"fake\"")); 840req4.Headers.IfNoneMatch.Add(new EntityTagHeaderValue("\"fake\""));
9 references to EntityTagHeaderValue
netstandard (1)
netstandard.cs (1)
1102[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.EntityTagHeaderValue))]
System.Net.Http (8)
artifacts\obj\System.Net.Http\Debug\net10.0\System.Net.Http.notsupported.cs (8)
573public static System.Net.Http.Headers.EntityTagHeaderValue Any { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 578public static System.Net.Http.Headers.EntityTagHeaderValue Parse(string input) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 581public static bool TryParse([System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] string? input, [System.Diagnostics.CodeAnalysis.NotNullWhenAttribute(true)] out System.Net.Http.Headers.EntityTagHeaderValue? parsedValue) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 693public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.EntityTagHeaderValue> IfMatch { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 695public System.Net.Http.Headers.HttpHeaderValueCollection<System.Net.Http.Headers.EntityTagHeaderValue> IfNoneMatch { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 722public System.Net.Http.Headers.EntityTagHeaderValue? ETag { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } set { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } } 819public RangeConditionHeaderValue(System.Net.Http.Headers.EntityTagHeaderValue entityTag) { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } 822public System.Net.Http.Headers.EntityTagHeaderValue? EntityTag { get { throw new System.PlatformNotSupportedException(System.SR.PlatformNotSupported_NetHttp); } }