public StringReader(string s) { if (s == null) { throw new ArgumentNullException(nameof(s)); } _s = s; _length = s.Length; }