21 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 (19)
Parser\DocumentationCommentParser.cs (2)
105
var textTokens = _pool.
Allocate
();
189
var textTokens = _pool.
Allocate
();
Parser\LanguageParser.cs (17)
391
initialBadNodes = _pool.
Allocate
();
593
var modifiers = _pool.
Allocate
();
2102
var tokens = _pool.
Allocate
();
2608
var modifiers = _pool.
Allocate
();
3250
var modifiers = _pool.
Allocate
();
4444
var modifiers = _pool.
Allocate
();
4586
var nodes = _pool.
Allocate
();
4612
var nodes = _pool.
Allocate
();
4641
var accMods = _pool.
Allocate
();
4947
var modifiers = _pool.
Allocate
();
9687
var skippedTokens = _pool.
Allocate
();
10503
var mods = _pool.
Allocate
();
10974
badBuilder = _pool.
Allocate
();
12782
SyntaxListBuilder modifiers = _pool.
Allocate
();
13624
var commas = _pool.
Allocate
();
13788
var modifiers = _pool.
Allocate
();
14013
SyntaxListBuilder modifiers = _pool.
Allocate
();