26 references to Allocate
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
48
return new SyntaxListBuilder<TNode>(this.
Allocate
());
53
return new SeparatedSyntaxListBuilder<TNode>(this.
Allocate
());
Microsoft.CodeAnalysis.CSharp (17)
Parser\DocumentationCommentParser.cs (2)
106
var textTokens = _pool.
Allocate
();
190
var textTokens = _pool.
Allocate
();
Parser\LanguageParser.cs (15)
389
initialBadNodes = _pool.
Allocate
();
436
var modifiers = _pool.
Allocate
();
1715
var tokens = _pool.
Allocate
();
2160
var modifiers = _pool.
Allocate
();
2723
var modifiers = _pool.
Allocate
();
3951
var nodes = _pool.
Allocate
();
3977
var nodes = _pool.
Allocate
();
4004
var accMods = _pool.
Allocate
();
4295
var modifiers = _pool.
Allocate
();
9408
var mods = _pool.
Allocate
();
9818
badBuilder = _pool.
Allocate
();
11414
SyntaxListBuilder modifiers = _pool.
Allocate
();
12158
var commas = _pool.
Allocate
();
12326
var modifiers = _pool.
Allocate
();
12528
SyntaxListBuilder modifiers = _pool.
Allocate
();
Microsoft.CodeAnalysis.VisualBasic (7)
Scanner\Scanner.vb (5)
646
Dim triviaList = _triviaListPool.
Allocate
()
855
Dim tList = _triviaListPool.
Allocate
()
898
Dim tList = _triviaListPool.
Allocate
()
915
Dim tList = _triviaListPool.
Allocate
()
919
Dim more = _triviaListPool.
Allocate
()
Scanner\ScannerXml.vb (1)
22
Dim builder = _triviaListPool.
Allocate
Scanner\TokenStream.vb (1)
290
Dim tList = _triviaListPool.
Allocate
()