2 writes to currentPosition
System.Workflow.Activities (2)
Rules\Parser\Scanner.cs (2)
163
++
currentPosition
; // Point one past the last character, equal to the length
167
++
currentPosition
;
11 references to currentPosition
System.Workflow.Activities (11)
Rules\Parser\Scanner.cs (11)
161
if (
currentPosition
== inputStringLength - 1)
173
return (
currentPosition
< inputStringLength) ? inputString[
currentPosition
] : '\0';
178
if (
currentPosition
== inputStringLength - 1)
181
int peekPosition =
currentPosition
+ 1;
196
return new Token(TokenID.EndOfInput,
currentPosition
, null);
198
tokenStartPosition =
currentPosition
;
482
throw new RuleSyntaxException(ErrorNumbers.Error_InvalidEscapeSequence, message,
currentPosition
- 1);
514
throw new RuleSyntaxException(ErrorNumbers.Error_UnterminatedCharacterLiteral, Messages.Parser_UnterminatedCharacterLiteral,
currentPosition
);
735
throw new RuleSyntaxException(ErrorNumbers.Error_InvalidExponentDigit, message,
currentPosition
);
819
throw new RuleSyntaxException(ErrorNumbers.Error_InvalidHexDigit, message,
currentPosition
);