internal WebHeaderCollection(WebHeaderCollectionType type) : base(DBNull.Value) { m_Type = type; if (type == WebHeaderCollectionType.HttpWebResponse) m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1]; // Minus one for the sentinel. }
internal WebHeaderCollection(WebHeaderCollectionType type) { // m_Type = type; // if (type == WebHeaderCollectionType.HttpWebResponse) // m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1]; // Minus one for the sentinel. }
internal WebHeaderCollection(WebHeaderCollectionType type) : base(DBNull.Value) { this.m_Type = type; if (type == WebHeaderCollectionType.HttpWebResponse) { this.m_CommonHeaders = new string[s_CommonHeaderNames.Length - 1]; } }
internal XHRWebHeaderCollection(WebHeaderCollectionType type) { this.collectionType = type; }