Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Closed Feature: HttpHeaders collections should benefit from IEnumerable covariance [1127]

$
0
0
Every HttpHeaders collections access from HttpRequestHeaders, HttpResponseHeaders, HttpContentHeaders that takes one of these type parameter:
MediaTypeWithQualityHeaderValue , NameValueWithParametersHeaderValue, TransferCodingWithQualityHeaderValue
should use their less specialized type parameter (without With_X_ in the type name) to benefit from IEnumerable<T> covariance. These collections construction or update should integrate default settings or type casting for Quality or Parameter but their concrete type should stay the more specialized one.
Comments: Hi SebM, I logged this bug in the internal Microsoft bug database so that the team that owns this code can look into addressing this. If you like, you can also open an additional bug via Microsoft Connect (https://connect.microsoft.com/VisualStudio). Thanks, Eilon

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>