8 references to ToList
Microsoft.CodeAnalysis (1)
Syntax\SyntaxNodeOrTokenList.cs (1)
75return builder.ToList().Node;
Microsoft.CodeAnalysis.CSharp (1)
Syntax\SyntaxNodeRemover.cs (1)
287return alternate.ToList().AsSeparatedList<TNode>();
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxNodeRemover.vb (1)
205Return alternate.ToList().AsSeparatedList(Of TNode)()
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
TestSyntaxNodes.vb (5)
410Dim statements = listBldr.ToList 421Dim handlesClause = SyntaxFactory.HandlesClause(SyntaxFactory.Token(SyntaxKind.HandlesKeyword, trailing:=_spaceTrivia), New SeparatedSyntaxList(Of HandlesClauseItemSyntax)(listBldr.ToList)) 432Dim declarator = SyntaxFactory.VariableDeclarator(New SeparatedSyntaxList(Of ModifiedIdentifierSyntax)(listBldr.ToList), Nothing, Nothing) 881New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList()), 1040New SeparatedSyntaxList(Of ParameterSyntax)(bldr.ToList),