3 writes to _position
CSharpSyntaxGenerator (3)
SourceGenerator.cs (3)
139
_position
= 0;
159
return _sourceText[
_position
++];
166
_position
+= charsToCopy;
5 references to _position
CSharpSyntaxGenerator (5)
SourceGenerator.cs (5)
144
if (
_position
== _sourceText.Length)
149
return _sourceText[
_position
];
154
if (
_position
== _sourceText.Length)
164
var charsToCopy = Math.Min(count, _sourceText.Length -
_position
);
165
_sourceText.CopyTo(
_position
, buffer, index, charsToCopy);