diff --git a/src/Microsoft.AspNet.Http/IHeaderDictionary.cs b/src/Microsoft.AspNet.Http/IHeaderDictionary.cs index d740fe03bf..fecac4a0f4 100644 --- a/src/Microsoft.AspNet.Http/IHeaderDictionary.cs +++ b/src/Microsoft.AspNet.Http/IHeaderDictionary.cs @@ -18,6 +18,12 @@ namespace Microsoft.AspNet.Http /// the associated value from the collection as a single string or null if the key is not present. new string this[string key] { get; set; } + // This property is duplicated to resolve an ambiguity between IReadableStringCollection.Count and IDictionary.Count + /// + /// Gets the number of elements contained in the collection. + /// + new int Count { get; } + /// /// Get the associated values from the collection separated into individual values. /// Quoted values will not be split, and the quotes will be removed.