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