8 writes to _tokenCount
Microsoft.CodeAnalysis.CSharp (8)
Parser\SyntaxParser.cs (8)
119
_tokenCount
= 0;
198
_tokenCount
= i;
245
_tokenCount
= _tokenOffset;
307
_tokenCount
= _tokenOffset; // forget anything after this slot
377
_tokenCount
++;
394
_tokenCount
++;
414
_tokenCount
-= shiftOffset;
441
_tokenCount
-= shiftOffset;
16 references to _tokenCount
Microsoft.CodeAnalysis.CSharp (16)
Parser\SyntaxParser.cs (16)
175
if (offset >=
_tokenCount
)
185
Debug.Assert(offset >= 0 && offset <
_tokenCount
);
193
for (int i = _tokenOffset; i <
_tokenCount
; i++)
199
if (
_tokenCount
== _tokenOffset)
326
if (_tokenOffset >=
_tokenCount
)
345
if (
_tokenCount
> 0)
347
this.AddToken(_blendedTokens[
_tokenCount
- 1].Blender.ReadToken(_mode));
371
if (
_tokenCount
>= _blendedTokens.Length)
376
_blendedTokens[
_tokenCount
] = tokenResult;
383
if (
_tokenCount
>= _lexedTokens.Length)
388
if (
_tokenCount
> _maxWrittenLexedTokenIndex)
390
_maxWrittenLexedTokenIndex =
_tokenCount
;
393
_lexedTokens[
_tokenCount
].Value = token;
405
int shiftCount =
_tokenCount
- shiftOffset;
433
int shiftCount =
_tokenCount
- shiftOffset;
469
while (_tokenOffset + n >=
_tokenCount
)