2 instantiations of SyntaxListBuilder
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (1)
20return new SyntaxListBuilder<TNode>(8);
Syntax\InternalSyntax\SyntaxListPool.cs (1)
48return new SyntaxListBuilder<TNode>(this.Allocate());
30 references to SyntaxListBuilder
Microsoft.CodeAnalysis (6)
Syntax\InternalSyntax\SyntaxListBuilder`1.cs (4)
18public static SyntaxListBuilder<TNode> Create() 69public SyntaxListBuilder<TNode> Add(TNode? node) 105public static implicit operator SyntaxListBuilder(SyntaxListBuilder<TNode> builder) 110public static implicit operator SyntaxList<TNode>(SyntaxListBuilder<TNode> builder)
Syntax\InternalSyntax\SyntaxListPool.cs (2)
46internal SyntaxListBuilder<TNode> Allocate<TNode>() where TNode : GreenNode 87public SyntaxList<TNode> ToListAndFree<TNode>(SyntaxListBuilder<TNode> item)
Microsoft.CodeAnalysis.CSharp (24)
Parser\DocumentationCommentParser.cs (8)
66var nodes = _pool.Allocate<XmlNodeSyntax>(); 213var attrs = _pool.Allocate<XmlAttributeSyntax>(); 222var nodes = _pool.Allocate<XmlNodeSyntax>(); 489var textTokens = _pool.Allocate<SyntaxToken>(); 724var textTokens = _pool.Allocate<SyntaxToken>(); 917var badTokens = _pool.Allocate<SyntaxToken>(); 1457var rankList = _pool.Allocate<ArrayRankSpecifierSyntax>(); 1567var badTokens = _pool.Allocate<SyntaxToken>();
Parser\LanguageParser.cs (15)
434var finalMembers = _pool.Allocate<MemberDeclarationSyntax>(); 503var finalTypeDeclarationMembers = _pool.Allocate<MemberDeclarationSyntax>(); 578var pendingIncompleteMembers = _pool.Allocate<MemberDeclarationSyntax>(); 593var attributeLists = _pool.Allocate<AttributeListSyntax>(); 1087var attributes = _pool.Allocate<AttributeListSyntax>(); 4122var builder = _pool.Allocate<AccessorDeclarationSyntax>(); 7160var ignoredModifiers = _pool.Allocate<SyntaxToken>(); 7337var ranks = _pool.Allocate<ArrayRankSpecifierSyntax>(); 7723var modifiers = _pool.Allocate<SyntaxToken>(); 8684var statements = _pool.Allocate<StatementSyntax>(); 8715var statements = _pool.Allocate<StatementSyntax>(); 9718var sections = _pool.Allocate<SwitchSectionSyntax>(); 9794var labels = _pool.Allocate<SwitchLabelSyntax>(); 9795var statements = _pool.Allocate<StatementSyntax>(); 13628var clauses = _pool.Allocate<QueryClauseSyntax>();
Parser\LanguageParser_InterpolatedString.cs (1)
97var builder = _pool.Allocate<InterpolatedStringContentSyntax>();