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)
175if (offset >= _tokenCount) 185Debug.Assert(offset >= 0 && offset < _tokenCount); 193for (int i = _tokenOffset; i < _tokenCount; i++) 199if (_tokenCount == _tokenOffset) 326if (_tokenOffset >= _tokenCount) 345if (_tokenCount > 0) 347this.AddToken(_blendedTokens[_tokenCount - 1].Blender.ReadToken(_mode)); 371if (_tokenCount >= _blendedTokens.Length) 376_blendedTokens[_tokenCount] = tokenResult; 383if (_tokenCount >= _lexedTokens.Length) 388if (_tokenCount > _maxWrittenLexedTokenIndex) 390_maxWrittenLexedTokenIndex = _tokenCount; 393_lexedTokens[_tokenCount].Value = token; 405int shiftCount = _tokenCount - shiftOffset; 433int shiftCount = _tokenCount - shiftOffset; 469while (_tokenOffset + n >= _tokenCount)