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(); 2051var tokens = _pool.Allocate(); 2578var modifiers = _pool.Allocate(); 3215var modifiers = _pool.Allocate(); 4577var nodes = _pool.Allocate(); 4603var nodes = _pool.Allocate(); 4632var accMods = _pool.Allocate(); 4938var modifiers = _pool.Allocate(); 9682var skippedTokens = _pool.Allocate(); 10498var mods = _pool.Allocate(); 10965badBuilder = _pool.Allocate(); 12760SyntaxListBuilder modifiers = _pool.Allocate(); 13599var commas = _pool.Allocate(); 13763var modifiers = _pool.Allocate(); 13945SyntaxListBuilder modifiers = _pool.Allocate();