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