4 instantiations of ProductInfoHeaderValue
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
12new ProductInfoHeaderValue(new ProductHeaderValue("HelixSdk", ProductVersion));
System.Net.Http (3)
System\Net\Http\Headers\ProductInfoHeaderValue.cs (3)
144parsedValue = new ProductInfoHeaderValue(comment); 158parsedValue = new ProductInfoHeaderValue(product!); 166return new ProductInfoHeaderValue(this);
17 references to ProductInfoHeaderValue
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (1)
1132_httpRequestMessage.Headers.UserAgent.Add(ProductInfoHeaderValue.Parse(value));
Microsoft.DotNet.Helix.Sdk (1)
Helpers.cs (1)
11public static ProductInfoHeaderValue UserAgentHeaderValue =>
netstandard (1)
netstandard.cs (1)
1113[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Http.Headers.ProductInfoHeaderValue))]
System.Net.Http (14)
System\Net\Http\Headers\HttpRequestHeaders.cs (2)
197public HttpHeaderValueCollection<ProductInfoHeaderValue> UserAgent => 198GetSpecializedCollection(UserAgentSlot, static thisRef => new HttpHeaderValueCollection<ProductInfoHeaderValue>(KnownHeaders.UserAgent.Descriptor, thisRef));
System\Net\Http\Headers\HttpResponseHeaders.cs (2)
62public HttpHeaderValueCollection<ProductInfoHeaderValue> Server => 63GetSpecializedCollection(ServerSlot, static thisRef => new HttpHeaderValueCollection<ProductInfoHeaderValue>(KnownHeaders.Server.Descriptor, thisRef));
System\Net\Http\Headers\ProductInfoHeaderParser.cs (2)
41int length = ProductInfoHeaderValue.GetProductInfoLength(value, current, out ProductInfoHeaderValue? result);
System\Net\Http\Headers\ProductInfoHeaderValue.cs (8)
36private ProductInfoHeaderValue(ProductInfoHeaderValue source) 56ProductInfoHeaderValue? other = obj as ProductInfoHeaderValue; 82public static ProductInfoHeaderValue Parse(string input) 93return (ProductInfoHeaderValue)result; 96public static bool TryParse([NotNullWhen(true)] string input, [NotNullWhen(true)] out ProductInfoHeaderValue? parsedValue) 109parsedValue = (ProductInfoHeaderValue)output; 115internal static int GetProductInfoLength(string? input, int startIndex, out ProductInfoHeaderValue? parsedValue)