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(); 4424var nodes = _pool.Allocate(); 4450var nodes = _pool.Allocate(); 4479var accMods = _pool.Allocate(); 4784var modifiers = _pool.Allocate(); 9376var skippedTokens = _pool.Allocate(); 10159var mods = _pool.Allocate(); 10629badBuilder = _pool.Allocate(); 12407SyntaxListBuilder modifiers = _pool.Allocate(); 13212var commas = _pool.Allocate(); 13387var modifiers = _pool.Allocate(); 13578SyntaxListBuilder modifiers = _pool.Allocate();