40 references to ToList
Microsoft.CodeAnalysis (2)
Syntax\InternalSyntax\SeparatedSyntaxListBuilder.cs (1)
125return builder.ToList();
Syntax\InternalSyntax\SyntaxListPool.cs (1)
101var list = item.ToList();
Microsoft.CodeAnalysis.CSharp (1)
Parser\DirectiveParser.cs (1)
625return SyntaxFactory.PragmaWarningDirectiveTrivia(hash, pragma, warning, style, ids.ToList(), end, isActive);
Microsoft.CodeAnalysis.VisualBasic (37)
Parser\ParseConditional.vb (2)
434hashToken, enableOrDisableKeyword, warningKeyword, errorCodes.ToList) 437hashToken, enableOrDisableKeyword, warningKeyword, errorCodes.ToList)
Parser\ParseExpression.vb (3)
1296Dim arguments = argumentBuilder.ToList 1468Dim result = arguments.ToList 1882Dim result = variables.ToList
Parser\ParseQuery.vb (8)
76Dim result = RangeVariables.ToList 273Dim result = RangeVariables.ToList 400Dim result = RangeVariables.ToList 517Dim result = RangeVariables.ToList 654keys = rangeVariables.ToList 674Dim result As CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(Of AggregationRangeVariableSyntax) = rangeVariables.ToList 923Dim result = Exprs.ToList 1004Dim result = exprs.ToList
Parser\Parser.vb (16)
2142Dim names = declarators.ToList 2169Dim result = declarations.ToList 2390initializers = expressions.ToList 2490initializers = expressions.ToList 2983Dim tupleElements = elementBuilder.ToList 3162typeArguments = typeNames.ToList 3384Dim result = arguments.ToList 3490Dim result = ImplementsClauses.ToList 3574Dim result = handlesClauseItems.ToList 4361Dim constraintList = constraints.ToList 4401Dim separatedTypeParameters = typeParameters.ToList 4536Dim result = parameters.ToList() 4717Dim result = importsClauses.ToList 4878Dim separatedTypeNames = typeNames.ToList 5439attributeBlocks.Add(SyntaxFactory.AttributeList(lessThan, attributes.ToList(), greaterThan)) 5559attributeBlocks.Add(SyntaxFactory.AttributeList(lessThan, attributes.ToList, greaterThan))
Parser\ParseStatement.vb (6)
329Dim separatedCaseClauses = caseClauses.ToList() 757Dim statement = SyntaxFactory.NextStatement(nextKeyword, variables.ToList) 856Dim result = SyntaxFactory.VariableDeclarator(names.ToList, optionalAsClause, Nothing) 1322SyntaxFactory.ReDimStatement(reDimKeyword, optionalPreserveKeyword, clauses.ToList), 1323SyntaxFactory.ReDimPreserveStatement(reDimKeyword, optionalPreserveKeyword, clauses.ToList) 1644Dim arguments As CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(Of ArgumentSyntax) = argumentsBuilder.ToList
Parser\ParseXml.vb (1)
1222Dim typeArguments As CodeAnalysis.Syntax.InternalSyntax.SeparatedSyntaxList(Of CrefSignaturePartSyntax) = signatureTypes.ToList
Syntax\InternalSyntax\VisualBasicSyntaxRewriter.vb (1)
95Return alternate.ToList()