text: public void SetReader(TextReader input){if (input == null){throw new System.ArgumentNullException("value", "input must not be null");}else if (this.m_input != ILLEGAL_STATE_READER){throw new InvalidOperationException("TokenStream contract violation: Close() call missing");}this.inputPending = input;Debug.Assert(SetReaderTestPoint());}