public final void setReader(Reader input) {if (input == null) {throw new NullPointerException("input must not be null");} else if (this.input != ILLEGAL_STATE_READER) {throw new IllegalStateException("TokenStream contract violation: close() call missing");}this.inputPending = input;setReaderTestPoint();}

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());}
