17 references to SyntaxList
Microsoft.CodeAnalysis.CSharp (3)
Syntax\InternalSyntax\SyntaxFactory.cs (2)
304return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(node)); 309return new SeparatedSyntaxList<TNode>(new SyntaxList<CSharpSyntaxNode>(token));
Syntax\SyntaxFactory.cs (1)
1241return new SyntaxList<TNode>(node);
Microsoft.CodeAnalysis.CSharp.CodeStyle (1)
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
210: new SyntaxList<StatementSyntax>(innermostUsing.Statement);
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
AutomaticCompletion\AutomaticLineEnderCommandHandler_Helpers.cs (1)
939? GetBlockNode(formattingOptions).WithStatements(new SyntaxList<StatementSyntax>(extraNodeInsertedBetweenBraces))
Microsoft.CodeAnalysis.CSharp.Features (3)
CodeRefactorings\SyncNamespace\CSharpChangeNamespaceService.cs (1)
322return compilationUnit.WithMembers(new SyntaxList<MemberDeclarationSyntax>(targetNamespaceDecl))
ConvertAutoPropertyToFullProperty\CSharpConvertAutoPropertyToFullPropertyCodeRefactoringProvider.cs (1)
108new SyntaxList<StatementSyntax>((StatementSyntax)statement),
src\Analyzers\CSharp\Analyzers\UseSimpleUsingStatement\UseSimpleUsingStatementDiagnosticAnalyzer.cs (1)
210: new SyntaxList<StatementSyntax>(innermostUsing.Statement);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\StructuredTriviaTests.cs (1)
56var docComment = SyntaxFactory.DocumentationCommentTrivia(SyntaxKind.SingleLineDocumentationCommentTrivia).WithContent(new SyntaxList<XmlNodeSyntax>(xmlElement));
Syntax\SyntaxListTests.cs (4)
31EqualityTesting.AssertEqual(new SyntaxList<CSharpSyntaxNode>(node1), new SyntaxList<CSharpSyntaxNode>(node1)); 33EqualityTesting.AssertNotEqual(new SyntaxList<CSharpSyntaxNode>(node1), new SyntaxList<CSharpSyntaxNode>(node2));
Microsoft.CodeAnalysis.VisualBasic (1)
Syntax\SyntaxNodeFactories.vb (1)
782Return New SyntaxList(Of TNode)(node)
Microsoft.CodeAnalysis.VisualBasic.Features (3)
ConvertAutoPropertyToFullProperty\VisualBasicConvertAutoPropertyToFullProperty.vb (2)
45Dim returnStatement = New SyntaxList(Of StatementSyntax)(DirectCast(generator.ReturnStatement( 57Dim setStatement = New SyntaxList(Of StatementSyntax)(DirectCast(generator.ExpressionStatement(
InitializeParameter\VisualBasicAddParameterCheckCodeRefactoringProvider.vb (1)
64statements:=New SyntaxList(Of StatementSyntax)(ifTrueStatement),