3 references to CachedTokenArraySize
Microsoft.CodeAnalysis.CSharp (3)
Parser\SyntaxParser.cs (3)
39
private static readonly ObjectPool<ArrayElement<SyntaxToken>[]> s_lexedTokensPool = new ObjectPool<ArrayElement<SyntaxToken>[]>(() => new ArrayElement<SyntaxToken>[
CachedTokenArraySize
], 2);
141
var size = Math.Min(
CachedTokenArraySize
, this.lexer.TextWindow.Text.Length / 2);
457
if (lexedTokens.Length ==
CachedTokenArraySize
)