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(); 9564var skippedTokens = _pool.Allocate(); 10347var mods = _pool.Allocate(); 10812badBuilder = _pool.Allocate(); 12592SyntaxListBuilder modifiers = _pool.Allocate(); 13404var commas = _pool.Allocate(); 13568var modifiers = _pool.Allocate(); 13750SyntaxListBuilder modifiers = _pool.Allocate();