34 references to Reset
Microsoft.CodeAnalysis.CSharp (34)
Parser\Lexer.cs (22)
164this.TextWindow.Reset(position); 475this.TextWindow.Reset(atDotPosition - 1); 477this.TextWindow.Reset(atDotPosition); 737TextWindow.Reset(end); 949TextWindow.Reset(start); 1642TextWindow.Reset(start); 1686TextWindow.Reset(beforeConsumed); 1719TextWindow.Reset(beforeConsumed); 1741TextWindow.Reset(beforeConsumed); 1759TextWindow.Reset(beforeConsumed); 1767TextWindow.Reset(beforeConsumed); 1789TextWindow.Reset(beforeConsumed); 1830TextWindow.Reset(start); 2468TextWindow.Reset(lastLineStart); // reset so directive parser can consume the starting whitespace on this line 2737TextWindow.Reset(pos); 3653TextWindow.Reset(beforeConsumed); 3658TextWindow.Reset(beforeConsumed); 3661TextWindow.Reset(beforeConsumed); 3815TextWindow.Reset(beforeConsumed); 3920TextWindow.Reset(pos); 4468TextWindow.Reset(start); 4603TextWindow.Reset(position);
Parser\Lexer_RawStringLiteral.cs (2)
223TextWindow.Reset(afterStartDelimiter); 242TextWindow.Reset(tokenEnd);
Parser\Lexer_StringLiteral.cs (6)
179TextWindow.Reset(start); 499window.Reset(afterQuotePosition); 714_lexer.TextWindow.Reset(beforeQuotesPosition); 735_lexer.TextWindow.Reset(startPosition); 790_lexer.TextWindow.Reset(beforeQuotePosition); 931_lexer.TextWindow.Reset(beforeCloseBracePosition + startingDollarSignCount);
Parser\QuickScanner.cs (2)
248TextWindow.Reset(TextWindow.LexemeStartPosition); 258lexer.TextWindow.Reset(lexer.TextWindow.LexemeStartPosition);
Parser\SlidingTextWindow.cs (1)
373this.Reset(position);
Syntax\SyntaxTokenParser.cs (1)
99_lexer.TextWindow.Reset(position);