3 writes to ch
System.Data.Services (3)
System\Data\Services\Parsing\ExpressionLexer.cs (3)
314
this.
ch
= savedChar;
467
this.
ch
= this.textPos < this.textLen ? this.text[this.textPos] : '\0';
567
this.
ch
= this.textPos < this.textLen ? this.text[this.textPos] : '\0';
40 references to ch
System.Data.Services (40)
System\Data\Services\Parsing\ExpressionLexer.cs (40)
116
while (Char.IsWhiteSpace(this.
ch
))
123
switch (this.
ch
)
193
char quote = this.
ch
;
197
while (this.textPos < this.textLen && this.
ch
!= quote)
209
while (this.
ch
== quote);
217
if (Char.IsLetter(this.
ch
) || this.
ch
== '_')
224
if (Char.IsDigit(this.
ch
))
236
throw ParseError(Strings.RequestQueryParser_InvalidCharacter(this.
ch
, this.textPos));
307
char savedChar = this.
ch
;
418
bool quoteFollows = this.
ch
== '\'';
447
while (this.
ch
!= '\0' && this.
ch
!= '\'');
449
if (this.
ch
== '\0')
474
Debug.Assert(Char.IsDigit(this.
ch
), "Char.IsDigit(this.ch)");
476
char startChar = this.
ch
;
478
if (startChar == '0' && this.
ch
== 'x' || this.
ch
== 'X')
485
while (WebConvert.IsCharHexDigit(this.
ch
));
490
while (Char.IsDigit(this.
ch
))
495
if (this.
ch
== '.')
505
while (Char.IsDigit(this.
ch
));
508
if (this.
ch
== 'E' || this.
ch
== 'e')
512
if (this.
ch
== '+' || this.
ch
== '-')
522
while (Char.IsDigit(this.
ch
));
525
if (this.
ch
== 'M' || this.
ch
== 'm')
531
if (this.
ch
== 'd' || this.
ch
== 'D')
536
else if (this.
ch
== 'L' || this.
ch
== 'l')
541
else if (this.
ch
== 'f' || this.
ch
== 'F')
554
Debug.Assert(Char.IsLetter(this.
ch
) || this.
ch
== '_', "Char.IsLetter(this.ch) || this.ch == '_'");
559
while (Char.IsLetterOrDigit(this.
ch
) || this.
ch
== '_');
573
if (!Char.IsDigit(this.
ch
))