13 writes to Position
Microsoft.CodeAnalysis.Features (13)
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (13)
76
Position
= Text.Length;
103
Position
= originalPosition;
109
Position
++;
156
Position
++;
182
Position
++;
274
Position
++;
316
Position
++;
336
Position
++;
345
Position
+= 2;
370
Position
++;
460
Position
+= valueToLookFor.Length;
473
Position
+= valueToLookFor.Length;
487
Position
++;
24 references to Position
Microsoft.CodeAnalysis.Features (24)
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (23)
60
public readonly VirtualChar CurrentChar =>
Position
< Text.Length ? Text[
Position
] : default;
63
=> GetSubSequence(start,
Position
);
70
if (
Position
== Text.Length)
75
var start =
Position
;
86
var originalPosition =
Position
;
90
var startPosition =
Position
;
125
if (
Position
== Text.Length)
130
var ch = Text[
Position
];
131
return CreateToken(GetKind(ch), Text.GetSubSequence(new TextSpan(
Position
, 1)));
244
var startPosition =
Position
;
246
while (
Position
< Text.Length)
261
var str = GetSubSequence(startPosition,
Position
+ 1).CreateString();
277
if (startPosition ==
Position
)
313
var start =
Position
;
319
if (start ==
Position
)
333
var start =
Position
;
360
var start =
Position
;
439
=> IsAtStartOfText(
Position
, val);
459
var start =
Position
;
472
var start =
Position
;
483
var startPosition =
Position
;
490
if (
Position
== startPosition)
EmbeddedLanguages\StackFrame\StackFrameParser.cs (1)
89
Contract.ThrowIfFalse(_lexer.
Position
== _lexer.Text.Length);