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