3 writes to textPos
System.Data.Services (3)
System\Data\Services\Parsing\ExpressionLexer.cs (3)
313this.textPos = savedTextPos; 464this.textPos++; 566this.textPos = pos;
20 references to textPos
System.Data.Services (20)
System\Data\Services\Parsing\ExpressionLexer.cs (20)
122int tokenPos = this.textPos; 138bool hasNext = this.textPos + 1 < this.textLen; 139if (hasNext && Char.IsDigit(this.text[this.textPos + 1])) 156string currentIdentifier = this.text.Substring(tokenPos + 1, this.textPos - tokenPos - 1); 197while (this.textPos < this.textLen && this.ch != quote) 202if (this.textPos == this.textLen) 204throw ParseError(Strings.RequestQueryParser_UnterminatedStringLiteral(this.textPos, this.text)); 230if (this.textPos == this.textLen) 236throw ParseError(Strings.RequestQueryParser_InvalidCharacter(this.ch, this.textPos)); 240this.token.Text = this.text.Substring(tokenPos, this.textPos - tokenPos); 306int savedTextPos = this.textPos; 326throw ParseError(Strings.RequestQueryParser_SyntaxError(this.textPos)); 451throw ParseError(Strings.RequestQueryParser_UnterminatedLiteral(this.textPos, this.text)); 456this.token.Text = this.text.Substring(tokenPos, this.textPos - tokenPos); 462if (this.textPos < this.textLen) 467this.ch = this.textPos < this.textLen ? this.text[this.textPos] : '\0'; 567this.ch = this.textPos < this.textLen ? this.text[this.textPos] : '\0'; 575throw ParseError(Strings.RequestQueryParser_DigitExpected(this.textPos));