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(); 2021var tokens = _pool.Allocate(); 2534var modifiers = _pool.Allocate(); 3097var modifiers = _pool.Allocate(); 4422var nodes = _pool.Allocate(); 4448var nodes = _pool.Allocate(); 4477var accMods = _pool.Allocate(); 4782var modifiers = _pool.Allocate(); 9374var skippedTokens = _pool.Allocate(); 10157var mods = _pool.Allocate(); 10627badBuilder = _pool.Allocate(); 12405SyntaxListBuilder modifiers = _pool.Allocate(); 13210var commas = _pool.Allocate(); 13385var modifiers = _pool.Allocate(); 13576SyntaxListBuilder modifiers = _pool.Allocate();