8 writes to _tokenCount
Microsoft.CodeAnalysis.CSharp (8)
Parser\SyntaxParser.cs (8)
103
_tokenCount
= 0;
181
_tokenCount
= i;
228
_tokenCount
= _tokenOffset;
290
_tokenCount
= _tokenOffset; // forget anything after this slot
360
_tokenCount
++;
372
_tokenCount
++;
392
_tokenCount
-= shiftOffset;
419
_tokenCount
-= shiftOffset;
14 references to _tokenCount
Microsoft.CodeAnalysis.CSharp (14)
Parser\SyntaxParser.cs (14)
158
if (offset >=
_tokenCount
)
168
Debug.Assert(offset >= 0 && offset <
_tokenCount
);
176
for (int i = _tokenOffset; i <
_tokenCount
; i++)
182
if (
_tokenCount
== _tokenOffset)
309
if (_tokenOffset >=
_tokenCount
)
328
if (
_tokenCount
> 0)
330
this.AddToken(_blendedTokens[
_tokenCount
- 1].Blender.ReadToken(_mode));
354
if (
_tokenCount
>= _blendedTokens.Length)
359
_blendedTokens[
_tokenCount
] = tokenResult;
366
if (
_tokenCount
>= _lexedTokens.Length)
371
_lexedTokens[
_tokenCount
].Value = token;
383
int shiftCount =
_tokenCount
- shiftOffset;
411
int shiftCount =
_tokenCount
- shiftOffset;
433
while (_tokenOffset + n >=
_tokenCount
)