26 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 (17)
Parser\DocumentationCommentParser.cs (2)
106var textTokens = _pool.Allocate(); 190var textTokens = _pool.Allocate();
Parser\LanguageParser.cs (15)
389initialBadNodes = _pool.Allocate(); 436var modifiers = _pool.Allocate(); 1715var tokens = _pool.Allocate(); 2160var modifiers = _pool.Allocate(); 2723var modifiers = _pool.Allocate(); 3951var nodes = _pool.Allocate(); 3977var nodes = _pool.Allocate(); 4004var accMods = _pool.Allocate(); 4295var modifiers = _pool.Allocate(); 9408var mods = _pool.Allocate(); 9818badBuilder = _pool.Allocate(); 11414SyntaxListBuilder modifiers = _pool.Allocate(); 12158var commas = _pool.Allocate(); 12326var modifiers = _pool.Allocate(); 12528SyntaxListBuilder modifiers = _pool.Allocate();
Microsoft.CodeAnalysis.VisualBasic (7)
Scanner\Scanner.vb (5)
646Dim triviaList = _triviaListPool.Allocate() 855Dim tList = _triviaListPool.Allocate() 898Dim tList = _triviaListPool.Allocate() 915Dim tList = _triviaListPool.Allocate() 919Dim more = _triviaListPool.Allocate()
Scanner\ScannerXml.vb (1)
22Dim builder = _triviaListPool.Allocate
Scanner\TokenStream.vb (1)
290Dim tList = _triviaListPool.Allocate()