3 instantiations of WarningHeaderValue
System.Net.Http (3)
System\Net\Http\Headers\WarningHeaderValue.cs (3)
31new WarningHeaderValue(code, agent, text); 177parsedValue = new WarningHeaderValue(code, agent, text, date); 282return new WarningHeaderValue(this);
14 references to WarningHeaderValue
netstandard (1)
netstandard.cs (1)
1122[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.WarningHeaderValue))]
System.Net.Http (13)
System\Net\Http\Headers\GenericHeaderParser.cs (2)
37internal static readonly GenericHeaderParser SingleValueWarningParser = new GenericHeaderParser(false, WarningHeaderValue.GetWarningLength); 38internal static readonly GenericHeaderParser MultipleValueWarningParser = new GenericHeaderParser(true, WarningHeaderValue.GetWarningLength);
System\Net\Http\Headers\HttpGeneralHeaders.cs (3)
17private HttpHeaderValueCollection<WarningHeaderValue>? _warning; 140public HttpHeaderValueCollection<WarningHeaderValue> Warning => 141_warning ??= new HttpHeaderValueCollection<WarningHeaderValue>(KnownHeaders.Warning.Descriptor, _parent);
System\Net\Http\Headers\HttpRequestHeaders.cs (1)
261public HttpHeaderValueCollection<WarningHeaderValue> Warning
System\Net\Http\Headers\HttpResponseHeaders.cs (1)
129public HttpHeaderValueCollection<WarningHeaderValue> Warning
System\Net\Http\Headers\WarningHeaderValue.cs (6)
65private WarningHeaderValue(WarningHeaderValue source) 99obj is WarningHeaderValue other && 116public static WarningHeaderValue Parse(string input) 119return (WarningHeaderValue)GenericHeaderParser.SingleValueWarningParser.ParseValue(input, null, ref index); 122public static bool TryParse([NotNullWhen(true)] string? input, [NotNullWhen(true)] out WarningHeaderValue? parsedValue) 129parsedValue = (WarningHeaderValue)output!;