90 references to List
Microsoft.CodeAnalysis.VisualBasic (13)
Generated\Syntax.xml.Main.Generated.vb (2)
37461Return SyntaxFactory.QueryExpression(SyntaxFactory.List(clauses)) 42394Return SyntaxFactory.InterpolatedStringExpression(SyntaxFactory.Token(SyntaxKind.DollarSignDoubleQuoteToken), SyntaxFactory.List(contents), SyntaxFactory.Token(SyntaxKind.DoubleQuoteToken))
Syntax\SyntaxFactory.vb (11)
465Return DocumentationCommentTrivia(List(content)).WithLeadingTrivia(DocumentationCommentExteriorTrivia("''' ")).WithTrailingTrivia(EndOfLine("")) 473Return XmlSummaryElement(List(content)) 589Return XmlRemarksElement(List(content)) 605Return XmlReturnsElement(List(content)) 621Return XmlValueElement(List(content)) 638Return XmlExceptionElement(cref, List(content)) 657Return XmlPermissionElement(cref, List(content)) 675Return XmlExampleElement(List(content)) 692Return XmlParaElement(List(content)) 711Return XmlParamElement(parameterName, List(content)) 767Return XmlPlaceholderElement(List(content))
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (4)
ImportsOrganizer.vb (1)
96Return SyntaxFactory.List(finalList)
SyntaxNodeExtensions.vb (2)
757statements = SyntaxFactory.List({DirectCast(multiLineIf, StatementSyntax)}) 1180Return SyntaxFactory.List(DirectCast(node, CompilationUnitSyntax).Attributes.SelectMany(Function(s) s.AttributeLists))
VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
124Dim newImports = SyntaxFactory.List(oldImports.WhereNotNull())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (5)
SyntaxListExtensions.vb (2)
13Return SyntaxFactory.List(result) 18Return SyntaxFactory.List(sequence)
TypeBlockSyntaxExtensions.vb (1)
54Return SyntaxFactory.List(Of TSyntax)(
TypeSyntaxGeneratorVisitor.vb (1)
57Dim arrayTypeSyntax = SyntaxFactory.ArrayType(elementTypeSyntax, SyntaxFactory.List(ranks))
VisualBasicSyntaxGeneratorInternal.vb (1)
93startToken, SyntaxFactory.List(content.Cast(Of InterpolatedStringContentSyntax)), endToken)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (2)
EndConstructGeneration\EndConstructStatementVisitor_IfStatement.vb (2)
62Return SyntaxFactory.List({DirectCast(SyntaxFactory.EmptyStatement(SyntaxFactory.Token(SyntaxKind.EmptyToken, SyntaxFactory.TriviaList(SyntaxFactory.EndOfLineTrivia(_state.NewLineCharacter)))), StatementSyntax)}) 114Return SyntaxFactory.List(newList)
Microsoft.CodeAnalysis.VisualBasic.Features (11)
ChangeSignature\VisualBasicChangeSignatureService.vb (1)
675List(Of XmlNodeSyntax)({XmlNameAttribute(parameter.Name)})),
InitializeParameter\InitializeParameterHelpers.vb (1)
33Return SyntaxFactory.List(ImmutableArray.Create(convertedStatement))
InitializeParameter\VisualBasicInitializeMemberFromParameterCodeRefactoringProvider.vb (1)
74Dim accessors = SyntaxFactory.List(propertyBlock.Accessors.Select(Function(a) RemoveThrowNotImplemented(a)))
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceLocal.vb (2)
92SyntaxFactory.List(statements), 181Dim statements = SyntaxFactory.List({localDeclaration, newStatement})
IntroduceVariable\VisualBasicIntroduceVariableService_IntroduceQueryLocal.vb (2)
61Dim finalQuery = newInnerMostQuery.WithClauses(SyntaxFactory.List(finalClauses)) 99Return oldQuery.WithClauses(SyntaxFactory.List(newClauses))
InvertIf\VisualBasicInvertIfCodeRefactoringProvider.vb (2)
112Return SyntaxFactory.List(newStatements) 116Return node.ReplaceStatements(SyntaxFactory.List(statements))
Organizing\Organizers\MemberDeclarationsOrganizer.vb (1)
28Return SyntaxFactory.List(sortedGroups)
ReplaceMethodWithProperty\VisualBasicReplaceMethodWithPropertyService.vb (1)
117Dim accessors = SyntaxFactory.List({getAccessor, setAccessor})
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Syntax\SyntaxFactoryTests.vb (2)
30SyntaxFactory.List(Of Syntax.StatementSyntax)( 33SyntaxFactory.List(Of Syntax.StatementSyntax)(
Syntax\SyntaxListTests.vb (2)
13Dim list = SyntaxFactory.List(Of SyntaxNode)({ 194Dim list = SyntaxFactory.List(Of SyntaxNode)(
Syntax\SyntaxNormalizerTests.vb (1)
539Dim stmtlist = SyntaxFactory.List(Of StatementSyntax)({CType(callstatement, StatementSyntax), CType(callstatement, StatementSyntax)})
Microsoft.CodeAnalysis.VisualBasic.Workspaces (49)
CodeGeneration\AttributeGenerator.vb (1)
22Return SyntaxFactory.List(attributes.OrderBy(Function(a) a.AttributeClass.Name).Select(Function(a) GenerateAttributeBlock(a, options, target)))
CodeGeneration\ConstructorGenerator.vb (1)
79Return SyntaxFactory.List(statements)
CodeGeneration\EnumMemberGenerator.vb (1)
28Return destination.WithMembers(SyntaxFactory.List(Of StatementSyntax)(members)).
CodeGeneration\MethodGenerator.vb (2)
23Return destination.WithMembers(SyntaxFactory.List(members)) 36Return destination.WithMembers(SyntaxFactory.List(members))
CodeGeneration\NamespaceGenerator.vb (1)
103Return If(statements.Count = 0, Nothing, SyntaxFactory.List(statements))
CodeGeneration\PropertyGenerator.vb (3)
29Return destination.WithMembers(SyntaxFactory.List(members)) 116Return SyntaxFactory.List(accessors.WhereNotNull()) 150Return SyntaxFactory.List(statementsOpt.OfType(Of StatementSyntax))
CodeGeneration\StatementGenerator.vb (1)
12Return SyntaxFactory.List(statements.OfType(Of StatementSyntax)())
CodeGeneration\VisualBasicCodeGenerationHelpers.vb (1)
64Return SyntaxFactory.List(result)
CodeGeneration\VisualBasicCodeGenerationService.vb (6)
431Return SyntaxFactory.List(newAttributeLists) 446Return SyntaxFactory.List(attributeStatements.Select(Function(attrStatement) If(attrStatement Is attributeStatement, newAttributeStatement, attrStatement))) 475result = DirectCast(methodBlock, MethodBlockSyntax).WithStatements(SyntaxFactory.List(allStatements)) 478result = DirectCast(methodBlock, ConstructorBlockSyntax).WithStatements(SyntaxFactory.List(allStatements)) 481result = DirectCast(methodBlock, OperatorBlockSyntax).WithStatements(SyntaxFactory.List(allStatements)) 484result = DirectCast(methodBlock, AccessorBlockSyntax).WithStatements(SyntaxFactory.List(allStatements))
CodeGeneration\VisualBasicSyntaxGenerator.vb (23)
70Dim node = SyntaxFactory.DocumentationCommentTrivia(SyntaxFactory.List(nodes)) 80Return SyntaxFactory.DocumentationCommentTrivia(SyntaxFactory.List(content)) 256Return SyntaxFactory.List(nodes.Select(AddressOf AsStatement)) 507SyntaxFactory.List(caseClauses.Cast(Of CaseBlockSyntax))) 656If(catchClauses IsNot Nothing, SyntaxFactory.List(catchClauses.Cast(Of CatchBlockSyntax)()), Nothing), 950SyntaxFactory.List(accessorDeclarations.OfType(Of AccessorBlockSyntax))) 1027accessors:=SyntaxFactory.List(accessors), 1065accessors:=SyntaxFactory.List(accessors), 1300accessors:=SyntaxFactory.List(accessors), 1396Return SyntaxFactory.List(nodes.Select(AddressOf AsClassMember).Where(Function(n) n IsNot Nothing)) 1428members:=If(members IsNot Nothing, SyntaxFactory.List(members.Cast(Of StatementSyntax)()), Nothing)) 1456Return SyntaxFactory.List(nodes.Select(AddressOf AsInterfaceMember).Where(Function(n) n IsNot Nothing)) 1524Return SyntaxFactory.List(nodes.Select(AddressOf AsEnumMember).Where(Function(n) n IsNot Nothing)) 1574Return If(declarations Is Nothing, Nothing, SyntaxFactory.List(declarations.Select(AddressOf AsNamespaceImport).OfType(Of ImportsStatementSyntax)())) 1587Return If(declarations Is Nothing, Nothing, SyntaxFactory.List(declarations.OfType(Of StatementSyntax)().Where(Function(s) Not TypeOf s Is ImportsStatementSyntax))) 1615members:=SyntaxFactory.List(statements)) 1649Return SyntaxFactory.List(attributes.Select(AddressOf AsAttributeList)) 1743Return SyntaxFactory.List(attributes.Select(AddressOf WithAssemblyTargets)) 1809Return DirectCast(declaration, SimpleAsClauseSyntax).WithAttributeLists(SyntaxFactory.List(lists)) 1816Dim arg = SyntaxFactory.List(lists) 1821arg = SyntaxFactory.List(lists.Select(Function(lst) Me.WithAssemblyTargets(lst))) 3329Return SyntaxFactory.List(nodes.Select(Function(n) AsAccessor(n, parentKind)).Where(Function(n) n IsNot Nothing)) 3499accessors:=SyntaxFactory.List(accessors),
ImportsOrganizer.vb (1)
96Return SyntaxFactory.List(finalList)
SyntaxListExtensions.vb (2)
13Return SyntaxFactory.List(result) 18Return SyntaxFactory.List(sequence)
SyntaxNodeExtensions.vb (2)
757statements = SyntaxFactory.List({DirectCast(multiLineIf, StatementSyntax)}) 1180Return SyntaxFactory.List(DirectCast(node, CompilationUnitSyntax).Attributes.SelectMany(Function(s) s.AttributeLists))
TypeBlockSyntaxExtensions.vb (1)
54Return SyntaxFactory.List(Of TSyntax)(
TypeSyntaxGeneratorVisitor.vb (1)
57Dim arrayTypeSyntax = SyntaxFactory.ArrayType(elementTypeSyntax, SyntaxFactory.List(ranks))
VisualBasicRemoveUnnecessaryImportsRewriter.vb (1)
124Dim newImports = SyntaxFactory.List(oldImports.WhereNotNull())
VisualBasicSyntaxGeneratorInternal.vb (1)
93startToken, SyntaxFactory.List(content.Cast(Of InterpolatedStringContentSyntax)), endToken)
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
CodeModel\VisualBasicCodeModelService.vb (1)
2785accessors:=SyntaxFactory.List(Of AccessorBlockSyntax)({