2 instantiations of SeparatedSyntaxListBuilder
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
23return new SeparatedSyntaxListBuilder<TNode>(8);
Syntax\InternalSyntax\SyntaxListPool.cs (1)
53return new SeparatedSyntaxListBuilder<TNode>(this.Allocate());
30 references to SeparatedSyntaxListBuilder
Microsoft.CodeAnalysis (7)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (4)
21public static SeparatedSyntaxListBuilder<TNode> Create() 70public SeparatedSyntaxListBuilder<TNode> Add(TNode node) 123public static implicit operator SeparatedSyntaxList<TNode>(in SeparatedSyntaxListBuilder<TNode> builder) 128public static implicit operator SyntaxListBuilder?(in SeparatedSyntaxListBuilder<TNode> builder)
Syntax\InternalSyntax\SyntaxListPool.cs (3)
51internal SeparatedSyntaxListBuilder<TNode> AllocateSeparated<TNode>() where TNode : GreenNode 56internal void Free<TNode>(in SeparatedSyntaxListBuilder<TNode> item) where TNode : GreenNode 98public SeparatedSyntaxList<TNode> ToListAndFree<TNode>(in SeparatedSyntaxListBuilder<TNode> item)
Microsoft.CodeAnalysis.CSharp (23)
Parser\DocumentationCommentParser.cs (3)
1186var list = _pool.AllocateSeparated<CrefParameterSyntax>(); 1295var list = _pool.AllocateSeparated<TypeSyntax>(); 1463var dimensionList = _pool.AllocateSeparated<ExpressionSyntax>();
Parser\LanguageParser.cs (19)
2064var list = _pool.AllocateSeparated<BaseTypeSyntax>(); 2149var bounds = _pool.AllocateSeparated<TypeParameterConstraintSyntax>(); 2287var bounds = _pool.AllocateSeparated<AllowsConstraintSyntax>(); 4988var variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>(); 5377var args = _pool.AllocateSeparated<ArgumentSyntax>(); 5547var tmpList = _pool.AllocateSeparated<BaseTypeSyntax>(); 5879var types = _pool.AllocateSeparated<TypeSyntax>(); 7543var list = _pool.AllocateSeparated<ExpressionSyntax>(); 7605var list = _pool.AllocateSeparated<TupleElementSyntax>(); 7698var missingTypes = _pool.AllocateSeparated<FunctionPointerParameterSyntax>(); 7717var types = _pool.AllocateSeparated<FunctionPointerParameterSyntax>(); 7802var callingConventionModifiers = _pool.AllocateSeparated<FunctionPointerUnmanagedCallingConventionSyntax>(); 10059var variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>(); 10175var listOfDesignations = _pool.AllocateSeparated<VariableDesignationSyntax>(); 10249var variables = _pool.AllocateSeparated<VariableDeclaratorSyntax>(); 11972var list = _pool.AllocateSeparated<ArgumentSyntax>(); 12373var list = _pool.AllocateSeparated<ArgumentSyntax>(); 13750var list = _pool.AllocateSeparated<OrderingSyntax>(); 13956var nodes = _pool.AllocateSeparated<TNode>();
Parser\LanguageParser_Patterns.cs (1)
582var arms = _pool.AllocateSeparated<SwitchExpressionArmSyntax>();