20 references to Allocate
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
48return new SyntaxListBuilder<TNode>(this.Allocate()); 53return new SeparatedSyntaxListBuilder<TNode>(this.Allocate());
Microsoft.CodeAnalysis.CSharp (18)
Parser\DocumentationCommentParser.cs (2)
105var textTokens = _pool.Allocate(); 189var textTokens = _pool.Allocate();
Parser\LanguageParser.cs (16)
391initialBadNodes = _pool.Allocate(); 593var modifiers = _pool.Allocate(); 2023var tokens = _pool.Allocate(); 2536var modifiers = _pool.Allocate(); 3173var modifiers = _pool.Allocate(); 4535var nodes = _pool.Allocate(); 4561var nodes = _pool.Allocate(); 4590var accMods = _pool.Allocate(); 4894var modifiers = _pool.Allocate(); 9625var skippedTokens = _pool.Allocate(); 10441var mods = _pool.Allocate(); 10906badBuilder = _pool.Allocate(); 12701SyntaxListBuilder modifiers = _pool.Allocate(); 13513var commas = _pool.Allocate(); 13677var modifiers = _pool.Allocate(); 13859SyntaxListBuilder modifiers = _pool.Allocate();