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