21 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 (19)
Parser\DocumentationCommentParser.cs (2)
105var textTokens = _pool.Allocate(); 189var textTokens = _pool.Allocate();
Parser\LanguageParser.cs (17)
391initialBadNodes = _pool.Allocate(); 593var modifiers = _pool.Allocate(); 2102var tokens = _pool.Allocate(); 2608var modifiers = _pool.Allocate(); 3250var modifiers = _pool.Allocate(); 4447var modifiers = _pool.Allocate(); 4589var nodes = _pool.Allocate(); 4615var nodes = _pool.Allocate(); 4644var accMods = _pool.Allocate(); 4950var modifiers = _pool.Allocate(); 9690var skippedTokens = _pool.Allocate(); 10506var mods = _pool.Allocate(); 10977badBuilder = _pool.Allocate(); 12785SyntaxListBuilder modifiers = _pool.Allocate(); 13627var commas = _pool.Allocate(); 13791var modifiers = _pool.Allocate(); 14016SyntaxListBuilder modifiers = _pool.Allocate();