13 writes to Position
Microsoft.CodeAnalysis.Workspaces (13)
SectionMatcher.Lexer.cs (7)
19
Position
= 0;
30
Position
+= 2;
36
Position
++;
47
Position
++;
133
public char EatCurrentCharacter() => _headerText[
Position
++];
161
Position
++;
166
Position
++;
SectionMatcher_TryParseSection.cs (6)
100
lexer.
Position
--;
157
lexer.
Position
= saved;
165
lexer.
Position
= saved;
173
lexer.
Position
= saved;
182
lexer.
Position
= saved;
199
lexer.
Position
++;
8 references to Position
Microsoft.CodeAnalysis.Workspaces (8)
SectionMatcher.Lexer.cs (6)
22
public readonly bool IsDone =>
Position
>= _headerText.Length;
26
var tokenKind = GetTokenKindAtPosition(_headerText,
Position
);
33
if (_headerText[
Position
] == '\\')
59
var position =
Position
;
73
var position =
Position
;
131
public readonly char CurrentCharacter => _headerText[
Position
];
SectionMatcher_TryParseSection.cs (2)
154
var saved = lexer.
Position
;
256
var lastChar = lexer[lexer.
Position
- 1];