public void Error(TokeniserState state) { if (_errors.CanAddError) { _errors.Add(new ParseError(_reader.Position, "Unexpected character '{0}' in input state [{1}]", _reader.Current(), state)); } }