public void Add(string header) { if ((header == null ? true : header.Length == 0)) { throw new ArgumentNullException("header"); } int num = WebHeaderCollection.checkColonSeparated(header); this.@add(header.Substring(0, num), header.Substring(num + 1), false); }
internal void InternalSet(string header, bool response) { int num = WebHeaderCollection.checkColonSeparated(header); this.InternalSet(header.Substring(0, num), header.Substring(num + 1), response); }