2 writes to Position
Microsoft.CodeAnalysis.Workspaces (2)
Shared\Extensions\SourceTextExtensions.cs (2)
316return Read(Position++); 367Position += totalCharsToRead;
7 references to Position
Microsoft.CodeAnalysis.Workspaces (7)
Shared\Extensions\SourceTextExtensions.cs (7)
305if (Position >= Length) 308return Read(Position); 313if (Position >= Length) 343var totalCharsToRead = Math.Min(count, Length - Position); 346var chunkIndex = GetIndexFromPosition(Position); 347var chunkStartOffset = GetColumnFromPosition(Position); 368Contract.ThrowIfTrue(Position > Length);